Skip to content

[3.12] gh-87320: In the code module, handle exceptions raised in sys.excepthook (GH-122456) #122515

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 31, 2024

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Jul 31, 2024

Before, the exception caused by calling non-default sys.excepthook in code.InteractiveInterpreter bubbled up to the caller, ending the REPL. (cherry picked from commit bd3d31f)

…n sys.excepthook (pythonGH-122456)

Before, the exception caused by calling non-default sys.excepthook
in code.InteractiveInterpreter bubbled up to the caller, ending the REPL.
(cherry picked from commit bd3d31f)

Co-authored-by: CF Bolz-Tereick <[email protected]>
@serhiy-storchaka serhiy-storchaka merged commit 5377f55 into python:3.12 Jul 31, 2024
28 checks passed
@serhiy-storchaka serhiy-storchaka deleted the backport-bd3d31f-3.12 branch October 21, 2024 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants