Skip to content
Snippets Groups Projects
Unverified Commit 7b3b6982 authored by Miss Islington (bot)'s avatar Miss Islington (bot) Committed by GitHub
Browse files

bpo-44232: Fix type_new() error reporting (GH-26359) (GH-26365)


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.
(cherry picked from commit bd199e72)

Co-authored-by: default avatarVictor Stinner <vstinner@python.org>
parent 2442b342
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment