]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-132775: Make _PyXI_session Opaque (gh-134522)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 22 May 2025 17:12:52 +0000 (19:12 +0200)
committerGitHub <noreply@github.com>
Thu, 22 May 2025 17:12:52 +0000 (17:12 +0000)
commit04e2dd65138b9114b705890bab5671f80c541cf8
treec32ed422c1d00c3dbb781c255a011bd20aeb9478
parent068d570be84eab2ef271204e7ba9dd37391791d4
[3.14] gh-132775: Make _PyXI_session Opaque (gh-134522)

This is mostly a refactor to clean things up a bit, most notably the "XI namespace" code.

Making the session opaque requires adding the following internal-only functions:

* _PyXI_NewSession()
* _PyXI_FreeSession()
* _PyXI_GetMainNamespace()

(cherry picked from commit 4a4ac3ab4d, gh-134452)

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