]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-92678: Fix tp_dictoffset inheritance. (GH-95596)
authorMark Shannon <mark@hotpy.org>
Wed, 3 Aug 2022 17:56:24 +0000 (18:56 +0100)
committerGitHub <noreply@github.com>
Wed, 3 Aug 2022 17:56:24 +0000 (18:56 +0100)
commit906e4509328917fe9951f85457897f6a841e0529
tree0ee26881b28d07bc0ec00ae72e3af3f8f134f8a6
parent89f52293281b6efc4ef666ef25e677683821f4b9
GH-92678: Fix tp_dictoffset inheritance. (GH-95596)

* Add test for inheriting explicit __dict__ and weakref.

* Restore 3.10 behavior for multiple inheritance of C extension classes that store their dictionary at the end of the struct.
Lib/test/test_capi.py
Misc/NEWS.d/next/C API/2022-08-03-14-39-08.gh-issue-92678.ozFTEx.rst [new file with mode: 0644]
Modules/_testcapi/heaptype.c
Objects/typeobject.c