[Python-Dev] Py3k: Except clause syntax

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Mar 16 03:30:40 CET 2006


For Py3k, any thoughts on changing the syntax of
the except clause from

   except <type>, <value>:

to

   except <type> as <value>:

so that things like

   except TypeError, ValueError:

will do what is expected?

Greg


More information about the Python-Dev mailing list