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 prasechen
Recipients paul.moore, prasechen, steve.dower, steven.daprano, tim.golden, zach.ware
Date 2020-09-13.02:39:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1599964797.49.0.200261695793.issue41770@roundup.psfhosted.org>
In-reply-to
Content
--REOPEN--
>>> # I try:
>>> import xxx
>>> del sys.modules['xxx']
>>> # But:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
    del sys.modules['xxx']
NameError: name 'sys' is not found
>>> # I try to import sys.
>>> import sys
>>> del sys.modules['xxx']
>>> import xxx
>>> xxx.b
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'xxx' has no attribute 'b'
History
Date User Action Args
2020-09-13 02:39:57prasechensetrecipients: + prasechen, paul.moore, tim.golden, steven.daprano, zach.ware, steve.dower
2020-09-13 02:39:57prasechensetmessageid: <1599964797.49.0.200261695793.issue41770@roundup.psfhosted.org>
2020-09-13 02:39:57prasechenlinkissue41770 messages
2020-09-13 02:39:56prasechencreate