Skip to content
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

gh-76785: Avoid Pickled TracebackException for Propagated Subinterpreter Exceptions #113036

Conversation

ericsnowcurrently
Copy link
Member

@ericsnowcurrently ericsnowcurrently commented Dec 13, 2023

We need the TracebackException of uncaught exceptions for a single purpose: the error display. Thus we only need to pass the formatted error display between interpreters. Passing a pickled TracebackException is overkill.

@ericsnowcurrently ericsnowcurrently enabled auto-merge (squash) December 13, 2023 00:06
@ericsnowcurrently ericsnowcurrently merged commit c6e614f into python:main Dec 13, 2023
32 checks passed
@ericsnowcurrently ericsnowcurrently deleted the preserve-tracebackexception-no-pickle branch December 13, 2023 00:34
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
…terpreter Exceptions (pythongh-113036)

We need the TracebackException of uncaught exceptions for a single purpose: the error display.  Thus we only need to pass the formatted error display between interpreters.  Passing a pickled TracebackException is overkill.
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
…terpreter Exceptions (pythongh-113036)

We need the TracebackException of uncaught exceptions for a single purpose: the error display.  Thus we only need to pass the formatted error display between interpreters.  Passing a pickled TracebackException is overkill.
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