[issue31388] Provide a way to defer SIGINT handling in the current thread

Jeroen Demeyer report at bugs.python.org
Wed Aug 7 04:13:45 EDT 2019


Jeroen Demeyer <jeroen.k.demeyer at gmail.com> added the comment:

Another idea I had is to somehow deal with this in PyErr_WriteUnraisable: whenever PyErr_WriteUnraisable is called for a KeyboardInterrupt, defer that exception to a later time, for example when _PyEval_EvalFrameDefault() is called.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31388>
_______________________________________


More information about the Python-bugs-list mailing list