+1 On Sun, 2021-05-09 at 16:45 +0000, Thomas Grainger wrote:
now that python2.7 is EOL, it might be worth resurrecting this syntax as discussed in https://www.python.org/dev/peps/pep-3100/#id13
eg, python 3.11 could support ``` try: ... except (E1, E2, E3) as e: ... ```
as equivalent to
``` try: ... except E1, E2, E3 as e: ... ```
see also https://mail.python.org/archives/list/python-dev@python.org/thread/HSN6ESRB4... _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-leave@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/WQOMBT... Code of Conduct: http://python.org/psf/codeofconduct/