[Python-Dev] Py3k: Except clause syntax (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Mar 21 02:12:43 CET 2006


Guido van Rossum wrote:

In the style guide only, I hope. The parens that are mandatory in a few places are necessary to resolve ambiguity.

That's not entirely true. My original list comprehension implementation didn't require parens around unpacked loop variables -- Guido added them because he thought it looked better that way.

-- Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | Carpe post meridiam! | Christchurch, New Zealand | (I'm not a morning person.) | greg.ewing at canterbury.ac.nz +--------------------------------------+



More information about the Python-Dev mailing list