gh-137173: Allow signal handling in isolated subinterpreters by ZeroIntensity · Pull Request #137174 · python/cpython
added 9 commits
Catching signals while another interpreter has registered `signal` module handlers still does not work, because we don't have a good way to make the callbacks per-interpreter. We'd need something like PEP 788's weak reference API to safely keep references to interpreters without worrying about concurrent deallocation during signal handling.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters