[issue45058] Undefined behavior for syntax "except AError or BError:" accepted by interpreter

kftse report at bugs.python.org
Tue Aug 31 08:20:26 EDT 2021


kftse <kftse20031207 at gmail.com> added the comment:

Tested 3.9.6 to have same behavior as 3.8.0.

to clarify, I suppose legal merely means syntactically correct, not

effect of "except AError or BError:" === "except (AError, BError)"

right?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45058>
_______________________________________


More information about the Python-bugs-list mailing list