mirror of
https://github.com/python/cpython.git
synced 2025-10-14 18:59:46 +00:00
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
This commit is contained in:
parent
036930d844
commit
a6d48e8f83
9 changed files with 55 additions and 43 deletions
|
@ -1,8 +1,8 @@
|
|||
#include "pycore_weakref.h" // _PyWeakref_GET_REF()
|
||||
|
||||
|
||||
typedef struct _xidregistry dlregistry_t;
|
||||
typedef struct _xidregitem dlregitem_t;
|
||||
typedef _PyXIData_registry_t dlregistry_t;
|
||||
typedef _PyXIData_regitem_t dlregitem_t;
|
||||
|
||||
|
||||
// forward
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue