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 r.david.murray
Recipients ggenellina, guettli, hoffman, news1234, pakal, r.david.murray, vinay.sajip, ysj.ray
Date 2010-11-12.03:04:23
SpamBayes Score 5.9130565e-07
Marked as misclassified No
Message-id <1289531066.93.0.526360056574.issue1553375@psf.upfronthosting.co.za>
In-reply-to
Content
Vinay, your example with communicate only works because you removed the [:-1].  If you run your version against a debug build, the tests will fail.

I'm updating the patch with a version that works with both a non-debug and a debug build, and adds an additional test that shows that the chained full traceback fails even if the exception handler is not at the top level.  Tomorrow I'll post a request for help to python-dev, since I've nowhere near the knowledge of the CPython internals needed to figure out what is going on here.  (It is possible the traceback is in fact correct, but if so it is certainly unexpected and makes allframes a bit less useful.)
History
Date User Action Args
2010-11-12 03:04:27r.david.murraysetrecipients: + r.david.murray, vinay.sajip, guettli, hoffman, ggenellina, pakal, news1234, ysj.ray
2010-11-12 03:04:26r.david.murraysetmessageid: <1289531066.93.0.526360056574.issue1553375@psf.upfronthosting.co.za>
2010-11-12 03:04:24r.david.murraylinkissue1553375 messages
2010-11-12 03:04:24r.david.murraycreate