summaryrefslogtreecommitdiffstats
path: root/Python/pyarena.c
diff options
context:
space:
mode:
authorSebastian Berg <sebastian@sipsolutions.net>2022-06-09 15:11:08 (GMT)
committerGitHub <noreply@github.com>2022-06-09 15:11:08 (GMT)
commit7fef8476629775c790f522a073ab279887bd81f9 (patch)
tree5a4e5e7c744da6322caf13fe0df5cecf787924ce /Python/pyarena.c
parenta5ba0f4ebca5020f6c77718a20663e0ac6e194ac (diff)
downloadcpython-7fef8476629775c790f522a073ab279887bd81f9.zip
cpython-7fef8476629775c790f522a073ab279887bd81f9.tar.gz
cpython-7fef8476629775c790f522a073ab279887bd81f9.tar.bz2
bpo-45383: Get metaclass from bases in PyType_From* (GH-28748)
This checks the bases of of a type created using the FromSpec API to inherit the bases metaclasses. The metaclass's alloc function will be called as is done in `tp_new` for classes created in Python. Co-authored-by: Petr Viktorin <encukou@gmail.com> Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
Diffstat (limited to 'Python/pyarena.c')
0 files changed, 0 insertions, 0 deletions