[issue3611] invalid exception context

Amaury Forgeot d'Arc report at bugs.python.org
Thu Aug 21 20:18:13 CEST 2008


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

I found another way to loose the current exception context; see
lostcontext2.py

Completely removing the block starting with
       if (why == WHY_EXCEPTION && !throwflag) {
corrects the script;

but according to Benjamin: """removing those lines causes a RuntimeError
about exceeding the recursion limit for about 1/3 of the tests."""

So a better fix must be found. At least we have the unit test :-).

Added file: http://bugs.python.org/file11196/lostcontext2.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3611>
_______________________________________


More information about the Python-bugs-list mailing list