]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-132775: Clean Up Cross-Interpreter Error Handling (gh-135369)
authorEric Snow <ericsnowcurrently@gmail.com>
Fri, 13 Jun 2025 22:45:21 +0000 (16:45 -0600)
committerGitHub <noreply@github.com>
Fri, 13 Jun 2025 22:45:21 +0000 (16:45 -0600)
commitc7f4a80079eefc02839f193ba07ce1b33d067d8d
tree98343eb0d9ac5b00c512edf0923524ed8fe459b2
parent6eb6c5dbfb528bd07d77b60fd71fd05d81d45c41
gh-132775: Clean Up Cross-Interpreter Error Handling (gh-135369)

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.
Include/internal/pycore_crossinterp.h
Modules/_interpretersmodule.c
Python/crossinterp.c
Python/crossinterp_data_lookup.h
Python/crossinterp_exceptions.h