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 natedogith1
Recipients natedogith1
Date 2018-06-15.03:34:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1529033651.78.0.947875510639.issue33867@psf.upfronthosting.co.za>
In-reply-to
Content
When a module is garbage collected, it fills it's __dict__ with None.  issue19255 and issue18214 seem to suggest that this was fixed, along with github pull request 7140 (commit 196b0925ca55bf22ffbb97733cff3e63d4fb6e18).  However, this still seems to be an issue in 2.7.14 and 3.6.2.

>>> import sys
>>> a = type(sys)('a')
>>> b = a.__dict__
>>> b['__name__'] is None
False
>>> del a
>>> b['__name__'] is None
True
History
Date User Action Args
2018-06-15 03:34:11natedogith1setrecipients: + natedogith1
2018-06-15 03:34:11natedogith1setmessageid: <1529033651.78.0.947875510639.issue33867@psf.upfronthosting.co.za>
2018-06-15 03:34:11natedogith1linkissue33867 messages
2018-06-15 03:34:11natedogith1create