SIGN IN SIGN UP

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>
S
Sebastian Berg committed
7fef8476629775c790f522a073ab279887bd81f9
Parent: a5ba0f4
Committed by GitHub <noreply@github.com> on 6/9/2022, 3:11:08 PM