[New-bugs-announce] [issue46219] except* assumes that an exception group is truth
Irit Katriel
report at bugs.python.org
Sat Jan 1 05:42:47 EST 2022
New submission from Irit Katriel <iritkatriel at gmail.com>:
except* checks truthiness of the output of PREP_RERAISE_STAR, and this gives the wrong result for false ExceptionGroup subclasses. See
https://github.com/python/cpython/pull/30302#discussion_r776825568
----------
components: Interpreter Core
messages: 409454
nosy: brandtbucher, iritkatriel
priority: normal
severity: normal
status: open
title: except* assumes that an exception group is truth
versions: Python 3.11
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46219>
_______________________________________
More information about the New-bugs-announce
mailing list