← 返回首页
gh-76785: Show the Traceback for Uncaught Subinterpreter Exceptions by ericsnowcurrently · Pull Request #113034 · python/cpython · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

gh-76785: Show the Traceback for Uncaught Subinterpreter Exceptions#113034

Merged
ericsnowcurrently merged 2 commits into
python:mainfrom
ericsnowcurrently:preserve-tracebackexception
Dec 13, 2023
Merged

gh-76785: Show the Traceback for Uncaught Subinterpreter Exceptions#113034
ericsnowcurrently merged 2 commits into
python:mainfrom
ericsnowcurrently:preserve-tracebackexception

Conversation

ericsnowcurrently commented Dec 12, 2023
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

When an exception is uncaught in Interpreter.exec_sync(), it helps to show that exception's error display if uncaught in the calling interpreter. We do so here by generating a TracebackException in the subinterpreter and passing it between interpreters using pickle.

ericsnowcurrently enabled auto-merge (squash) December 12, 2023 23:41
ericsnowcurrently merged commit 8a4c1f3 into python:main Dec 13, 2023
ericsnowcurrently deleted the preserve-tracebackexception branch December 13, 2023 00:00
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
…ions (pythongh-113034) When an exception is uncaught in Interpreter.exec_sync(), it helps to show that exception's error display if uncaught in the calling interpreter. We do so here by generating a TracebackException in the subinterpreter and passing it between interpreters using pickle.
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
…ions (pythongh-113034) When an exception is uncaught in Interpreter.exec_sync(), it helps to show that exception's error display if uncaught in the calling interpreter. We do so here by generating a TracebackException in the subinterpreter and passing it between interpreters using pickle.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Footer

© 2026 GitHub, Inc.