]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-105227: Add PyType_GetDict() (GH-105747)
authorEric Snow <ericsnowcurrently@gmail.com>
Mon, 10 Jul 2023 16:41:02 +0000 (10:41 -0600)
committerGitHub <noreply@github.com>
Mon, 10 Jul 2023 16:41:02 +0000 (18:41 +0200)
commita840806d338805fe74a9de01081d30da7605a29f
tree06f91a8b4ff44d2ed848952332e7c279de74f6e1
parent3e23fa71f43fb225ca29a931644d1100e2f4d6b8
gh-105227: Add PyType_GetDict() (GH-105747)

This compensates for static builtin types having `tp_dict` set to `NULL`.

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Doc/c-api/type.rst
Doc/c-api/typeobj.rst
Include/cpython/object.h
Misc/NEWS.d/next/C API/2023-06-13-14-24-55.gh-issue-105227.HDL9aF.rst [new file with mode: 0644]
Modules/_testcapimodule.c
Objects/typeobject.c