diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2022-06-09 15:11:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-09 15:11:08 (GMT) |
commit | 7fef8476629775c790f522a073ab279887bd81f9 (patch) | |
tree | 5a4e5e7c744da6322caf13fe0df5cecf787924ce /Python/pymath.c | |
parent | a5ba0f4ebca5020f6c77718a20663e0ac6e194ac (diff) | |
download | cpython-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/pymath.c')
0 files changed, 0 insertions, 0 deletions