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 martin.panter
Recipients martin.panter, serhiy.storchaka
Date 2015-04-08.22:11:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1428531078.7.0.486140462795.issue23865@psf.upfronthosting.co.za>
In-reply-to
Content
Okay, I think I get it. You are setting some attributes to None, in case they happen to be causing a reference cycle. When close() is called, they are no longer needed, so it might help to breaking potential reference cycles. I have often wondered why this was done. I always assumed it was a carry-over from old code relying on the garbage collector to automatically close files, etc.
History
Date User Action Args
2015-04-08 22:11:18martin.pantersetrecipients: + martin.panter, serhiy.storchaka
2015-04-08 22:11:18martin.pantersetmessageid: <1428531078.7.0.486140462795.issue23865@psf.upfronthosting.co.za>
2015-04-08 22:11:18martin.panterlinkissue23865 messages
2015-04-08 22:11:18martin.pantercreate