diff options
author | Victor Stinner <vstinner@python.org> | 2021-05-25 20:28:10 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-25 20:28:10 (GMT) |
commit | bd199e72fb60a8ff001a023f23925092a290be91 (patch) | |
tree | e9b5c2af362534862219d453a36046301212d8b5 /Doc | |
parent | bd404ccac0d3e8358995ac0cbeec9373bb6c4d96 (diff) | |
download | cpython-bd199e72fb60a8ff001a023f23925092a290be91.zip cpython-bd199e72fb60a8ff001a023f23925092a290be91.tar.gz cpython-bd199e72fb60a8ff001a023f23925092a290be91.tar.bz2 |
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.
Diffstat (limited to 'Doc')
0 files changed, 0 insertions, 0 deletions