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 vstinner
Recipients gvanrossum, pitrou, vstinner
Date 2013-12-20.22:15:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1387577701.69.0.296311867455.issue20032@psf.upfronthosting.co.za>
In-reply-to
Content
> Do you have an example of code that behaves differently with this patch?  I can't find any.

I didn't check in the Python standard library, but the reference cycle is obvious, and I hate such issue. It introduces tricky issues like memory leaks.

Here is an example to demonstrate the issue. The "DELETE OBJECT" message is never displayed, so the object is never deleted (memory leak).

Comment "fut.set_exception(err)" line to delete the object, or apply attached patch.
History
Date User Action Args
2013-12-20 22:15:01vstinnersetrecipients: + vstinner, gvanrossum, pitrou
2013-12-20 22:15:01vstinnersetmessageid: <1387577701.69.0.296311867455.issue20032@psf.upfronthosting.co.za>
2013-12-20 22:15:01vstinnerlinkissue20032 messages
2013-12-20 22:15:01vstinnercreate