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 mark.dickinson
Recipients Kevin Mills, mark.dickinson
Date 2017-02-27.20:47:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1488228464.79.0.0904986322439.issue29671@psf.upfronthosting.co.za>
In-reply-to
Content
An addendum: I'd note that avoiding reference cycles altogether is hard in modern-day Python. For example, any dynamically-created class creates a reference cycle between the class and its MRO:

>>> import gc
>>> gc.disable()
>>> gc.collect()
0
>>> class A(object):
...     pass
... 
>>> del A
>>> gc.collect()
6
History
Date User Action Args
2017-02-27 20:47:44mark.dickinsonsetrecipients: + mark.dickinson, Kevin Mills
2017-02-27 20:47:44mark.dickinsonsetmessageid: <1488228464.79.0.0904986322439.issue29671@psf.upfronthosting.co.za>
2017-02-27 20:47:44mark.dickinsonlinkissue29671 messages
2017-02-27 20:47:44mark.dickinsoncreate