SIGN IN SIGN UP

Issue #23722: Initialize __class__ from type.__new__()

The __class__ cell used by zero-argument super() is now initialized
from type.__new__ rather than __build_class__, so class methods
relying on that will now work correctly when called from metaclass
methods during class creation.

Patch by Martin Teichmann.
N
Nick Coghlan committed
944368e1cc90a0bebaaf1a0a6f4346a81d8f46ad
Parent: fc3f7d5