[issue35423] Signal handling machinery still relies on "pending calls".

Eric Snow report at bugs.python.org
Tue Dec 11 16:55:32 EST 2018


Eric Snow <ericsnowcurrently at gmail.com> added the comment:

Correct.  The remaining call to Py_AddPendingCall in the signal-handling code is fine.

This issue is only indirectly related.  I suppose you could consider it a follow-up to #30703.  The PR for that issue (GH-2415) switches from using pending calls for signal handlers to using the pending calls machinery without actual pending calls.

So here I want to address taking the next step: deal with pending signals separately from pending calls.  That separation helps simplify efforts to adapt the pending calls machinery for use in arbitrary threads (rather than the main thread).  See #33608.

----------
components: +Interpreter Core
nosy: +pitrou

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


More information about the Python-bugs-list mailing list