None in sys.modules.values()?
Walter Dörwald
walter at bnbt.de
Sun Sep 10 11:24:01 EDT 2000
Python 2.0b1 seems to put stuff other than
modules in sys.modules:
> python
Python 2.0b1 (#1, Sep 7 2000, 13:31:10)
[GCC 2.95.2 19991024 (release)] on linux2
Type "copyright", "credits" or "license" for more information.
>>> import sys
>>> type(sys.modules["encodings.codecs"])
<type 'None'>
What's happening here?
Sent via Deja.com http://www.deja.com/
Before you buy.
More information about the Python-list
mailing list