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

Nathaniel Smith report at bugs.python.org
Fri Sep 8 06:05:45 EDT 2017


Nathaniel Smith added the comment:

Yes... low-level routines like coroutine schedulers where you need to defer interrupts inside the scheduler but not inside the coroutines being scheduled. It's not gold plating, it's actually the original motivation :-)

https://vorpus.org/blog/control-c-handling-in-python-and-trio/#how-do-we-know-which-code-should-be-protected

----------

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


More information about the Python-bugs-list mailing list