commit | bd199e72fb60a8ff001a023f23925092a290be91 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Tue May 25 22:28:10 2021 +0200 |
committer | GitHub <noreply@github.com> | Tue May 25 22:28:10 2021 +0200 |
tree | e9b5c2af362534862219d453a36046301212d8b5 | |
parent | bd404ccac0d3e8358995ac0cbeec9373bb6c4d96 [diff] |
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.