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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, pitrou, skip.montanaro, stickwithjosh
Date 2011-01-26.16:56:57
SpamBayes Score 0.00040449676
Marked as misclassified No
Message-id <1296061018.18.0.354695089989.issue11007@psf.upfronthosting.co.za>
In-reply-to
Content
trace.py has a hack for this: it uses gc.get_referrers() to crawl back from the code object to the encloding class.
I would not trust this gc.get_referrers() though; it is probably slow, and there are even some crashers related to this function; I would not like it to be called on every traceback.
History
Date User Action Args
2011-01-26 16:56:58amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, skip.montanaro, pitrou, stickwithjosh
2011-01-26 16:56:58amaury.forgeotdarcsetmessageid: <1296061018.18.0.354695089989.issue11007@psf.upfronthosting.co.za>
2011-01-26 16:56:57amaury.forgeotdarclinkissue11007 messages
2011-01-26 16:56:57amaury.forgeotdarccreate