Skip to content

Conversation

@yihong0618
Copy link
Contributor

@yihong0618 yihong0618 commented Sep 28, 2025

after this patch it goes normal with ctrl+z and fg

Signed-off-by: yihong0618 <[email protected]>
Co-authored-by: Bénédikt Tran <[email protected]>
@picnixz picnixz changed the title gh-139391: Fix crash in PyREPL asyncio mode when using Ctrl+Z then fg gh-139391: properly handle signal.signal() in UnixConsole when called from a non-main thread Sep 28, 2025
Signed-off-by: yihong0618 <[email protected]>
@picnixz
Copy link
Member

picnixz commented Sep 29, 2025

I'll wait for @ambv to review this as well.

@yihong0618
Copy link
Contributor Author

I'll wait for @ambv to review this as well.

Thank you very much!

@kumaraditya303 kumaraditya303 added topic-asyncio topic-repl Related to the interactive shell needs backport to 3.14 bugs and security fixes labels Oct 9, 2025
@kumaraditya303 kumaraditya303 enabled auto-merge (squash) October 9, 2025 14:26
@kumaraditya303 kumaraditya303 merged commit b8c8b8f into python:main Oct 9, 2025
59 checks passed
@miss-islington-app
Copy link

Thanks @yihong0618 for the PR, and @kumaraditya303 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

@bedevere-app
Copy link

bedevere-app bot commented Oct 9, 2025

GH-139858 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Oct 9, 2025
@ambv ambv added the needs backport to 3.13 bugs and security fixes label Oct 9, 2025
@miss-islington-app
Copy link

Thanks @yihong0618 for the PR, and @kumaraditya303 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

@miss-islington-app
Copy link

Sorry, @yihong0618 and @kumaraditya303, I could not cleanly backport this to 3.13 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker b8c8b8f1d30767e5358ffa93d41e6e27ca60570d 3.13

@bedevere-app
Copy link

bedevere-app bot commented Oct 9, 2025

GH-139861 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Oct 9, 2025
ambv pushed a commit to ambv/cpython that referenced this pull request Oct 9, 2025
…sole` when called from a non-main thread (pythonGH-139392)

(cherry picked from commit b8c8b8f)

Co-authored-by: yihong <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 9, 2025
…hen called from a non-main thread (pythonGH-139392)

(cherry picked from commit b8c8b8f)

Co-authored-by: yihong <[email protected]>
kumaraditya303 pushed a commit that referenced this pull request Oct 9, 2025
…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 b8c8b8f)

Co-authored-by: yihong <[email protected]>
kumaraditya303 pushed a commit that referenced this pull request Oct 9, 2025
…when called from a non-main thread (GH-139392) (#139861)

(cherry picked from commit b8c8b8f)

Co-authored-by: yihong <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic-asyncio topic-repl Related to the interactive shell

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants