[3.14] gh-132775: Clean Up Cross-Interpreter Error Handling (gh-135492) · python/cpython@0fe5463 · GitHub
Skip to content

Commit 0fe5463

Browse files
[3.14] gh-132775: Clean Up Cross-Interpreter Error Handling (gh-135492)
In this refactor we: * move some code around * make a couple of typedefs opaque * decouple errors from session state * improve tracebacks for propagated exceptions This change helps simplify several upcoming changes. (cherry picked from commit c7f4a80, AKA gh-135369) Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
1 parent f77a911 commit 0fe5463

6 files changed

Lines changed: 1335 additions & 1104 deletions

File tree

Doc/data/python3.14.abi

Lines changed: 812 additions & 793 deletions
Large diffs are not rendered by default.

Include/internal/pycore_crossinterp.h

Lines changed: 20 additions & 17 deletions

Modules/_interpretersmodule.c

Lines changed: 52 additions & 38 deletions

0 commit comments

Comments
 (0)