homepage

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 pitrou
Recipients gvanrossum, ncoghlan, pitrou
Date 2013年05月06日.13:06:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1367845562.6.0.684303204249.issue17911@psf.upfronthosting.co.za>
In-reply-to
Content
I think instead we may want to add a finalize() or close() method on frame objects which would clear all local variables (as well as dereference the globals dict, perhaps), after having optionally run a generator's close() method (if the frame belongs to a generator).
If I'm not mistaken, it should allow breaking reference cycles, and remove the need for complex traceback processing, which Twisted currently also does: http://twistedmatrix.com/trac/browser/trunk/twisted/python/failure.py#L89
Note that generator cleanup through the frame has a patch in issue17807.
History
Date User Action Args
2013年05月06日 13:06:02pitrousetrecipients: + pitrou, gvanrossum, ncoghlan
2013年05月06日 13:06:02pitrousetmessageid: <1367845562.6.0.684303204249.issue17911@psf.upfronthosting.co.za>
2013年05月06日 13:06:02pitroulinkissue17911 messages
2013年05月06日 13:06:02pitroucreate

AltStyle によって変換されたページ (->オリジナル) /