8000 [3.12] gh-110310: Add a Per-Interpreter XID Registry for Heap Types (gh-110311) by ericsnowcurrently · Pull Request #110714 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.12] gh-110310: Add a Per-Interpreter XID Registry for Heap Types (gh-110311) #110714

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Prev Previous commit
Next Next commit
Move "xidregistry" down, for 3.12.0 layout compatibility.
  • Loading branch information
ericsnowcurrently committed Nov 20, 2023
commit 82fdf9dae526ba9311e355d41c8d090c19b3dae1
6 changes: 3 additions & 3 deletions Include/internal/pycore_interp.h
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,6 @@ struct _is {
Py_ssize_t co_extra_user_count;
freefunc co_extra_freefuncs[MAX_CO_EXTRA_USERS];

// XXX Remove this field once we have a tp_* slot.
struct _xidregistry xidregistry;

#ifdef HAVE_FORK
PyObject *before_forkers;
PyObject *after_forkers_parent;
Expand Down Expand Up @@ -223,6 +220,9 @@ struct _is {
struct _Py_interp_cached_objects cached_objects;
struct _Py_interp_static_objects static_objects;

// XXX Remove this field once we have a tp_* slot.
struct _xidregistry xidregistry;

/* the initial PyInterpreterState.threads.head */
PyThreadState _initial_thread;
};
Expand Down
0