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 r.david.murray
Recipients Niels.Heinen, brett.cannon, eric.araujo, jcea, pitrou, r.david.murray, vstinner
Date 2011-06-07.13:13:00
SpamBayes Score 3.08384e-09
Marked as misclassified No
Message-id <1307452381.21.0.720000044317.issue12238@psf.upfronthosting.co.za>
In-reply-to
Content
Python 3.3a0 (default:7323a865457a+, Jun  5 2011, 19:22:38) 
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.modules['logging']
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
KeyError: 'logging'
>>> sys.modules['os']
<module 'os' from '/home/rdmurray/python/p33/Lib/os.py'>

The difference is that logging is not imported at startup. So, however os (and friends, there are a lot of modules in sys.modules at startup) is imported, it is different from how readline.so is imported.
History
Date User Action Args
2011-06-07 13:13:01r.david.murraysetrecipients: + r.david.murray, brett.cannon, jcea, pitrou, vstinner, eric.araujo, Niels.Heinen
2011-06-07 13:13:01r.david.murraysetmessageid: <1307452381.21.0.720000044317.issue12238@psf.upfronthosting.co.za>
2011-06-07 13:13:00r.david.murraylinkissue12238 messages
2011-06-07 13:13:00r.david.murraycreate