We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
I hit a weird behavior when I try to import one module I wrote in Nim.
The file mymodule.so is on the current directory.
mymodule.so
import mymodule mymodule.doSomeStuff()
Everything is fine during the process of doSomeStuff
doSomeStuff
The file mymodule.so is in a directory called mymodule next to an empty __init__.py file.
mymodule
__init__.py
from mymodule import mymodule mymodule.doSomeStuff()
I hit a SIGSEGV during the process of doSomeStuff (GC issue during the middle of a string manipulation).
Is this behavior normal or does I missed something ? Thanks
EDIT: Using this method works fine too:
import mymodule.mymodule mymodule.mymodule.doSomeStuff()
I guess using import ... from ... remap some stuff and break something ?
import ... from ...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
I hit a weird behavior when I try to import one module I wrote in Nim.
First case
The file
mymodule.so
is on the current directory.Everything is fine during the process of
doSomeStuff
Second case
The file
mymodule.so
is in a directory calledmymodule
next to an empty__init__.py
file.I hit a SIGSEGV during the process of
doSomeStuff
(GC issue during the middle of a string manipulation).Is this behavior normal or does I missed something ?
Thanks
EDIT:
Using this method works fine too:
I guess using
import ... from ...
remap some stuff and break something ?The text was updated successfully, but these errors were encountered: