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 ghazel
Recipients akuchling, ghazel, loewis, r.david.murray, terry.reedy, tim.peters, vstinner
Date 2010-06-26.20:18:55
SpamBayes Score 0.054593697
Marked as misclassified No
Message-id <1277583537.35.0.926317108284.issue1565525@psf.upfronthosting.co.za>
In-reply-to
Content
> you should *expect* all those values to persist, so that shouldn't be "surprising".

It's not something I expected, and the warnings around traceback objects are a good indication that other developers have not expected it either. One poster on python-ideas said "Working with traceback objects can easily introduce hidden circular references, so it usually better not access them at all".  Since these 'hidden' references are not used in many cases, it is surprising that they would be required.

> I repeat my recommendation that you take this to python-ideas for feedback, and then work on a patch if the feedback is positive.

I have, and it has been so far.

> (By the way, I checked with a twisted developer, and what he wanted was a convenient way to manually create traceback objects.)

When does Twisted want to manually create traceback objects? Failure has specific functions to stringify the traceback to remove the references mentioned here. Creating a fake traceback would be one way to achieve that, but if the references did not exist I'm not sure what the goal would be.
History
Date User Action Args
2010-06-26 20:18:57ghazelsetrecipients: + ghazel, tim.peters, loewis, akuchling, terry.reedy, vstinner, r.david.murray
2010-06-26 20:18:57ghazelsetmessageid: <1277583537.35.0.926317108284.issue1565525@psf.upfronthosting.co.za>
2010-06-26 20:18:55ghazellinkissue1565525 messages
2010-06-26 20:18:55ghazelcreate