[issue3137] Python doesn't handle SIGINT well if it arrives during interpreter startup
STINNER Victor
report at bugs.python.org
Mon Mar 8 14:00:18 CET 2010
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
> Remove main_pending_calls.patch hack: replaced by tokenizer_error.patch.
With extra tests, I realized that this patchs is still useful to process a SIGINT emitted between Py_Initialize() and PyRun_AnyFileExFlags(). Without the patch, if a SIGINT is emitted just after Py_Initialize(): it's only proceed when the user press enter in the interactive interpreter (when the tokenizer decodes the input string to the terminal charset).
----------
Added file: http://bugs.python.org/file16494/main_pending_calls.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3137>
_______________________________________
More information about the Python-bugs-list
mailing list