New submission from Irit Katriel <iritkatr...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue46219>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to