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 serhiy.storchaka
Recipients brett.cannon, eric.snow, indygreg, ncoghlan, serhiy.storchaka
Date 2020-12-04.07:46:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Other example is:

>>> import sys
>>> import xml
>>> import xml.__init__
>>> sys.modules['xml']
<module 'xml' from '/home/serhiy/py/cpython/Lib/xml/'>
>>> sys.modules['xml.__init__']
<module 'xml.__init__' from '/home/serhiy/py/cpython/Lib/xml/'>
>>> sys.modules['xml'] is sys.modules['xml.__init__']

I'm not sure we should do anything about it other than say "Don't do this."
Date User Action Args
2020-12-04 07:46:13serhiy.storchakasetrecipients: + serhiy.storchaka, brett.cannon, ncoghlan, eric.snow, indygreg
2020-12-04 07:46:13serhiy.storchakasetmessageid: <>
2020-12-04 07:46:13serhiy.storchakalinkissue42564 messages
2020-12-04 07:46:11serhiy.storchakacreate