[issue3137] Python doesn't handle SIGINT well if it arrives during interpreter startup
STINNER Victor
report at bugs.python.org
Mon Mar 8 13:10:27 CET 2010
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
Py_InitializeEx() calls PyErr_Clear() if PyCodec_Encoder() fails without checking for the exception type.
Attached initiliaze_pycodec_error.patch checks for error type: if the error is not an LookupError, display the error and exit (as done for initsite() iny my initsite.patch).
----------
Added file: http://bugs.python.org/file16491/initiliaze_pycodec_error.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3137>
_______________________________________
More information about the Python-bugs-list
mailing list