[issue1598083] Top-level exception handler writes to stdout unsafely
Jean-Paul Calderone
report at bugs.python.org
Sat Jan 19 17:43:05 CET 2008
Jean-Paul Calderone added the comment:
The attached patch doesn't fix the issue I described:
* err_closed() will raise an exception indicated the file is closed.
However, the file is not necessarily closed, so this exception is wrong.
* Most or all PyFile_WriteString callers are still not checking its
return value, so the exception will generally be ignored.
* The traceback still won't be reported.
_____________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1598083>
_____________________________________
More information about the Python-bugs-list
mailing list