Skip to content

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
@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