mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
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.
This commit is contained in:
parent
219b1f9d1d
commit
eecafc3380
10 changed files with 112 additions and 233 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue