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

Jeroen Demeyer report at bugs.python.org
Tue Nov 14 12:01:13 EST 2017


Jeroen Demeyer <jdemeyer at cage.ugent.be> added the comment:

It's not only about ensuring that cleanup code gets run, but also about ensuring that the interrupt is actually seen. Currently, if you press CTRL-C at the "wrong" moment (during __del__), it will just get ignored.

----------
nosy: +jdemeyer

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


More information about the Python-bugs-list mailing list