[issue11441] compile() raises SystemError if called from except clause

Amaury Forgeot d'Arc report at bugs.python.org
Thu Mar 10 18:23:02 CET 2011


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

I'd choose solution 3, but instead of calling SyntaxError.__init__, call PyErr_NormalizeException().

----------

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


More information about the Python-bugs-list mailing list