Message2008

Author agoucher
Recipients
Date 2007-11-14.18:29:57
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
pyclbr.read_module provides information on a module's contents without importing it. In other works, it scans the source code. This works fine in CPython, in Jython, everything is treated as a compiled item (as it should). This breaks the module though. I've attached a diff which adds a bit of extra logic to determine if we should be PY_COMPILED, and if so, reset some variables to make the function work as designed.

-adam
http://adam.goucher.ca
History
Date User Action Args
2008-02-20 17:18:06adminlinkissue1831952 messages
2008-02-20 17:18:06admincreate