[Python-3000] Single-line blocks? (original) (raw)
Terry Reedy tjreedy at udel.edu
Fri Mar 23 16:35:55 CET 2007
- Previous message: [Python-3000] Single-line blocks?
- Next message: [Python-3000] Single-line blocks?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"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
- Previous message: [Python-3000] Single-line blocks?
- Next message: [Python-3000] Single-line blocks?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]