https://github.com/python/cpython/commit/202388a8eeb69b413602955d1e58f95c848ea5c1
commit: 202388a8eeb69b413602955d1e58f95c848ea5c1
branch: 3.15
author: T. Wouters <[email protected]>
committer: hugovk <[email protected]>
date: 2026-10-02T14:45:34+03:00
summary:
[3.15] GH-158593: Fix ABI compatibility with earlier RCs (#158595)
files:
M Include/internal/pycore_tstate.h
diff --git a/Include/internal/pycore_tstate.h b/Include/internal/pycore_tstate.h
index 58dd66b69efc9da..c11d281876872e4 100644
--- a/Include/internal/pycore_tstate.h
+++ b/Include/internal/pycore_tstate.h
@@ -51,9 +51,6 @@ typedef struct _PyThreadStateImpl {
PyObject *asyncio_running_loop; // Strong reference
PyObject *asyncio_running_task; // Strong reference
- // Reused for the thread's lifetime; owns placeholders while they resolve.
- PyObject *lazy_imports;
-
// Distinguishes between yield and return from PyEval_EvalFrame().
// See gen_send_ex2() in Objects/genobject.c
enum {
@@ -106,6 +103,9 @@ typedef struct _PyThreadStateImpl {
struct _PyJitTracerState *jit_tracer_state;
#endif
+ // Reused for the thread's lifetime; owns placeholders while they resolve.
+ PyObject *lazy_imports;
+
#ifdef Py_GIL_DISABLED
// gh-144438: Add padding to ensure that the fields above don't share a
// cache line with other allocations.
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]