[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>
This commit is contained in:
Miss Islington (bot) 2025-06-14 04:08:25 +02:00 committed by GitHub
parent f77a911c52
commit 0fe5463877
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 1359 additions and 1128 deletions

File diff suppressed because it is too large Load diff