mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-76785: Avoid Pickled TracebackException for Propagated Subinterpreter Exceptions (gh-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.
This commit is contained in:
parent
7e2d93f30b
commit
c6e614fd81
3 changed files with 92 additions and 156 deletions
|
@ -188,8 +188,7 @@ typedef struct _excinfo {
|
|||
const char *module;
|
||||
} type;
|
||||
const char *msg;
|
||||
const char *pickled;
|
||||
Py_ssize_t pickled_len;
|
||||
const char *errdisplay;
|
||||
} _PyXI_excinfo;
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue