[issue3112] implement PEP 3134 exception reporting
Amaury Forgeot d'Arc
report at bugs.python.org
Sat Jul 12 00:18:22 CEST 2008
Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:
I committed r64881, which invalidates your patch a bit :-|
BTW, I don't like your comment "Can't be bothered to check all those
PyFile_WriteString() calls".
In general, it is not a good idea to execute python code with an
exception set, this leads to subtle problems, and some "XXX undetected
error" prints in debug mode. Chaining several calls to PyDict_SetItem
for example is usually not a problem, but PyFile_WriteString does
execute python code in python3.0.
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3112>
_______________________________________
More information about the Python-bugs-list
mailing list