Message382468
Other example is:
>>> import sys
>>> import xml
>>> import xml.__init__
>>> sys.modules['xml']
<module 'xml' from '/home/serhiy/py/cpython/Lib/xml/__init__.py'>
>>> sys.modules['xml.__init__']
<module 'xml.__init__' from '/home/serhiy/py/cpython/Lib/xml/__init__.py'>
>>> sys.modules['xml'] is sys.modules['xml.__init__']
False
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:13 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, brett.cannon, ncoghlan, eric.snow, indygreg |
2020-12-04 07:46:13 | serhiy.storchaka | set | messageid: <1607067973.06.0.133232854034.issue42564@roundup.psfhosted.org> |
2020-12-04 07:46:13 | serhiy.storchaka | link | issue42564 messages |
2020-12-04 07:46:11 | serhiy.storchaka | create | |
|