PEP 308: Pep Update

Chermside, Michael mchermside at ingdirect.com
Fri Feb 14 07:31:09 EST 2003


Manuel Garcia writes:
> I hope that parentheses will be required, no matter what the syntax.
> I am a little worried about seeing deeply nested bunches of these
> things.  If parentheses were required, a text editor with matching
> brace highlighting could make understanding any deep nesting trivial.

Gary Herron writes:
> Since I plan to use these expressions only when it makes my code
> clearer and easier to read, I probably won't nest them.  In that case
> I'd be unhappy having the parentheses forced on me.  I may *choose* to
> use parentheses if it helps, and if I ever do nest them, I will
> certainly use parentheses, but please lets not force them on
> ourselves.

I agree. I would CHOOSE to use the parentheses in nearly all cases,
because it is a more readable style, but I wouldn't make them a
syntactic requirement.

-- Michael Chermside






More information about the Python-list mailing list