mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
GH-95707: Fix uses of Py_TPFLAGS_MANAGED_DICT (GH-95854)
* Make sure that tp_dictoffset is correct with Py_TPFLAGS_MANAGED_DICT is set. * Avoid traversing managed dict twice when subclassing class with Py_TPFLAGS_MANAGED_DICT set.
This commit is contained in:
parent
4a7f5a55dc
commit
3ef3c6306d
7 changed files with 137 additions and 25 deletions
|
|
@ -0,0 +1,2 @@
|
|||
Support C extensions using managed dictionaries by setting the
|
||||
``Py_TPFLAGS_MANAGED_DICT`` flag.
|
||||
Loading…
Add table
Add a link
Reference in a new issue