+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-...@python.org/thread/HSN6ESRB4BD6IUIPKLMNP4TPBQPWHBFK/ > _______________________________________________ > Python-ideas mailing list -- python-ideas@python.org > To unsubscribe send an email to python-ideas-le...@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/WQOMBT4Z22EIFB53WN54E52AYS3QBKAV/ > Code of Conduct: http://python.org/psf/codeofconduct/
_______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@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/GERIYIVX6XGH6JILDWSF4ISKC5IWQ3MN/ Code of Conduct: http://python.org/psf/codeofconduct/