bpo-44232: Fix type_new() error reporting (GH-26359)
Fix a regression in type() when a metaclass raises an exception. The C function type_new() must properly report the exception when a metaclass constructor raises an exception and the winner class is not the metaclass.
V
Victor Stinner committed
bd199e72fb60a8ff001a023f23925092a290be91
Parent: bd404cc
Committed by GitHub <noreply@github.com>
on 5/25/2021, 8:28:10 PM