mirror of
https://github.com/python/cpython.git
synced 2026-07-29 13:16:59 -04:00
gh-139391: properly handle `signal.signal()` in `UnixConsole` when called from a non-main thread (GH-139392)
(cherry picked from commit b8c8b8f1d3)
Co-authored-by: yihong <[email protected]>