[Python-ideas] syntax to continue into the next subsequent except block

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Sep 17 02:11:14 CEST 2012


Guido van Rossum wrote:
> The suggestion to add ad-hoc "if <condition>" clauses to random parts
> of the syntax doesn't appeal to me at all.

I wouldn't call it a random part of the syntax. This is
not like the proposals to add if-clauses to while loops,
for loops, etc -- they would just be minor syntactic sugar.
This proposal addresses something that is quite awkward to
express using existing constructs.

-- 
Greg




More information about the Python-ideas mailing list