Petr: What about except *(TypeError, ExceptionGroup):? Irit: Good question. We should block that as well.
But https://www.python.org/dev/peps/pep-0654/#backwards-compatibility seems to explicitly recommend the very similar: except (Exception, ExceptionGroup): _______________________________________________ Python-Dev mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/N22HZBABDVM2GCEIWHOCTPGJDRSRVGS5/ Code of Conduct: http://python.org/psf/codeofconduct/
