mirror of
https://github.com/python/cpython.git
synced 2026-01-27 21:25:12 +00:00
gh-139391: properly handle `signal.signal()` in `UnixConsole` when called from a non-main thread (GH-139392) (cherry picked from commit b8c8b8f1d30767e5358ffa93d41e6e27ca60570d) Co-authored-by: yihong <zouzou0208@gmail.com>