]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-132775: Make _PyXI_session Opaque (gh-134452)
authorEric Snow <ericsnowcurrently@gmail.com>
Thu, 22 May 2025 16:14:04 +0000 (10:14 -0600)
committerGitHub <noreply@github.com>
Thu, 22 May 2025 16:14:04 +0000 (10:14 -0600)
commit4a4ac3ab4d2a34af99af9e948be9cd1257ed4186
tree09113a189407779bd231ddf9e78ed7805232d43f
parentec736e7daec33cb3383865895d7ab92d4ada8bc9
gh-132775: Make _PyXI_session Opaque (gh-134452)

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