]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-132775: Clean Up Cross-Interpreter Error Handling (gh-135492)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 14 Jun 2025 02:08:25 +0000 (04:08 +0200)
committerGitHub <noreply@github.com>
Sat, 14 Jun 2025 02:08:25 +0000 (02:08 +0000)
commit0fe546387715897e4e22e7422daad32281e41072
tree9bf0cf23e1dec0d18fb20b3a9f86e17a09c1eafe
parentf77a911c526442871ba66f01b31b8f497daf70eb
[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 c7f4a80079, AKA gh-135369)

Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
Doc/data/python3.14.abi
Include/internal/pycore_crossinterp.h
Modules/_interpretersmodule.c
Python/crossinterp.c
Python/crossinterp_data_lookup.h
Python/crossinterp_exceptions.h