[Python-3000] Single-line blocks?
Terry Reedy
tjreedy at udel.edu
Fri Mar 23 16:35:55 CET 2007
"Aahz" <aahz at pythoncraft.com> wrote in message
news:20070323143029.GB8509 at panix.com...
| IIRC, there was some discussion about removing single-line blocks like
| this one in 3.0:
|
| if foo: bar()
|
| However, I can't find any discussion about making it happen, and it's
| not in PEP 3099. Guido, does this need a PEP? Do you want it to happen?
To me, such constructions are sometimes more readable than the alternative.
So, unless there was a strong, not-yet-presented technical argument for the
change, I would strongly oppose mere stylistic imperialism.
tjr
More information about the Python-3000
mailing list