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 ezio.melotti, pitrou, vstinner
Date 2013-12-04.00:15:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1386116110.89.0.468431746187.issue19880@psf.upfronthosting.co.za>
In-reply-to
Content
unittest_leak.patch: Fix the the initial bug, unittest_leak.py.

I don't think that it's possible to write a generic fix for frame_ref_cycle.py. Storing sys.exc_info() to format it as a traceback later is a common pattern. Clearing a frame at function exit breaks this use case.
History
Date User Action Args
2013-12-04 00:15:10vstinnersetrecipients: + vstinner, pitrou, ezio.melotti
2013-12-04 00:15:10vstinnersetmessageid: <1386116110.89.0.468431746187.issue19880@psf.upfronthosting.co.za>
2013-12-04 00:15:10vstinnerlinkissue19880 messages
2013-12-04 00:15:10vstinnercreate