]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-76785: Improved Subinterpreters Compatibility with 3.12 (1/2) (gh-126704)
authorEric Snow <ericsnowcurrently@gmail.com>
Mon, 11 Nov 2024 22:58:46 +0000 (15:58 -0700)
committerGitHub <noreply@github.com>
Mon, 11 Nov 2024 22:58:46 +0000 (15:58 -0700)
commita6d48e8f8323758771f5e130f67c9bdf7b4f25c5
tree18555f3731c72d2cb60747892567ad4ced2bd80e
parent036930d84409d0725a4ab95fb976f74d1698c41f
gh-76785: Improved Subinterpreters Compatibility with 3.12 (1/2) (gh-126704)

These changes makes it easier to backport the _interpreters, _interpqueues, and _interpchannels modules to Python 3.12.

This involves the following:

* rename several structs and typedefs
* add several typedefs
* stop using the PyThreadState.state field directly in parking_lot.c
Include/internal/pycore_crossinterp.h
Include/internal/pycore_crossinterp_data_registry.h
Include/internal/pycore_interp.h
Include/internal/pycore_pystate.h
Include/internal/pycore_runtime.h
Modules/_interpchannelsmodule.c
Python/crossinterp.c
Python/crossinterp_data_lookup.h
Python/parking_lot.c