R. David Murray <rdmur...@bitdance.com> added the comment:

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.)

----------
Added file: http://bugs.python.org/file19574/full_traceback6.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue1553375>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to