This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author nascheme
Recipients
Date 2002-03-12.18:12:28
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Submitted on behalf of Gustavo Cordova
<gcordova@hebmex.com>:

Hi all, sorry for posting to this list.

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.
History
Date User Action Args
2007-08-23 13:59:46adminlinkissue529050 messages
2007-08-23 13:59:46admincreate