[Python-3000] Single-line blocks?
Guido van Rossum
guido at python.org
Fri Mar 23 18:01:27 CET 2007
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.
> Python-3000 mailing list
> Python-3000 at python.org
> Unsubscribe: http://mail.python.org/mailman/options/python-3000/guido%40python.org
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-3000