]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-139391: properly handle `signal.signal()` in `UnixConsole` when called...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 9 Oct 2025 16:10:51 +0000 (18:10 +0200)
committerGitHub <noreply@github.com>
Thu, 9 Oct 2025 16:10:51 +0000 (16:10 +0000)
commit8761d6e64473c3434e333cfec3836762c8f4cbaf
tree49f314fedaba2cff803bcbd91c5ef151b57917fe
parentde87549eb8c1cf23d12a14ddb47e54242b697c2a
[3.14] gh-139391: properly handle `signal.signal()` in `UnixConsole` when called from a non-main thread (GH-139392) (#139858)

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>
Lib/_pyrepl/unix_console.py
Lib/test/test_pyrepl/test_unix_console.py
Misc/NEWS.d/next/Library/2025-09-28-16-34-11.gh-issue-139391.nRFnmx.rst [new file with mode: 0644]