aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Include/internal/pycore_interp_structs.h
diff options
context:
space:
mode:
authorNeil Schemenauer <nas-github@arctrix.com>2025-04-28 23:38:29 -0700
committerGitHub <noreply@github.com>2025-04-28 23:38:29 -0700
commiteecafc33800c84ecb67f5d3ed819fbed057677ab (patch)
tree07d41adf24f52d8a1f9c739cf016c890920ea788 /Include/internal/pycore_interp_structs.h
parent219b1f9d1d97e271213fe324b94ed544e890630b (diff)
downloadcpython-eecafc33800c84ecb67f5d3ed819fbed057677ab.tar.gz
cpython-eecafc33800c84ecb67f5d3ed819fbed057677ab.zip
Revert gh-127266: avoid data races when updating type slots (gh-131174) (gh-133129)
This is triggering deadlocks in test_opcache. See GH-133130 for stack trace.
Diffstat (limited to 'Include/internal/pycore_interp_structs.h')
-rw-r--r--Include/internal/pycore_interp_structs.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/Include/internal/pycore_interp_structs.h b/Include/internal/pycore_interp_structs.h
index f193fed1153..af6ee3ab489 100644
--- a/Include/internal/pycore_interp_structs.h
+++ b/Include/internal/pycore_interp_structs.h
@@ -667,11 +667,8 @@ struct _Py_interp_cached_objects {
/* object.__reduce__ */
PyObject *objreduce;
-#ifndef Py_GIL_DISABLED
- /* resolve_slotdups() */
PyObject *type_slots_pname;
pytype_slotdef *type_slots_ptrs[MAX_EQUIV];
-#endif
/* TypeVar and related types */
PyTypeObject *generic_type;