]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
GH-92678: Fix tp_dictoffset inheritance. (GH-95596) (GH-95604)
authorMark Shannon <mark@hotpy.org>
Thu, 4 Aug 2022 11:21:38 +0000 (12:21 +0100)
committerGitHub <noreply@github.com>
Thu, 4 Aug 2022 11:21:38 +0000 (12:21 +0100)
commit2ab560105b9bfda503148e66e58d1d9a6031745e
tree99a68b4ba11bb6666cb3350c7dc233e688c15e7a
parentd8df7e02071087894e4295e9b299689d8db74973
GH-92678: Fix tp_dictoffset inheritance. (GH-95596) (GH-95604)

* 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/_testcapimodule.c
Objects/typeobject.c