You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found a (maybe?) new bug, which crashes the interpreter.
Just do this (is't repeatable):
>> from types import *
>> mod = ModuleType.__new__(ModuleType)
>> mod
Upon trying to do a str(mod) to print it (I believe),
the VM crashes and burns.
I was searching for a way to construct a new module
from it's file's compiled bytecode (just read() the
"*.pyc" file),
so I thought maybe the ModuleType had some kind of
constructor
which could use the compiled byte code.
I don't have web access, so I couldn't post it as a bug
report in sourceforge.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: