[Python-ideas] except expression

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Feb 16 23:13:14 CET 2014


Chris Angelico wrote:
> I'm happy with them being optional in cases where it's unambiguous,
> but I'd be okay with mandating them to disambiguate.

I'm not sure I like the idea of parens being optional
in an "odd" place, e.g. just before 'except'. I feel
that such departures from the usual conventions should
be a rigid feature of the syntax -- either mandatory
or forbidden.

-- 
Greg


More information about the Python-ideas mailing list