[issue10478] Ctrl-C locks up the interpreter
report at bugs.python.org
Mon Nov 29 02:42:40 CET 2010
Ilya Sandler <ilya.sandler at gmail.com> added the comment:
Would avoiding PyErr_CheckSignals() while the file object is in inconsistent state be a reasonable alternative?
I am guessing that it's not that uncommon for a signal handler to need IO (e.g to log a signal).
If making IO safer is not an option, then I think, this limitation needs to be documented (especially, given that this seems to be a behavior change from Python 2.x).
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list