Eric Snow <ericsnowcurren...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue35423> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com