[Python-3000] Single-line blocks? (original) (raw)
Guido van Rossum guido at python.org
Fri Mar 23 18:01:27 CET 2007
- Previous message: [Python-3000] Single-line blocks?
- Next message: [Python-3000] Single-line blocks?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I know this was in my early lists of "clean up the language" plans for Py3k, but I think it's not worth the hassle.
On 3/23/07, Terry Reedy <tjreedy at udel.edu> wrote:
"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
Python-3000 mailing list Python-3000 at python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/guido%40python.org
-- --Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: [Python-3000] Single-line blocks?
- Next message: [Python-3000] Single-line blocks?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]