[Python-3000] Single-line blocks? (original) (raw)

Aahz aahz at pythoncraft.com
Fri Mar 23 15:30:29 CET 2007


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?

Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/

"Typing is cheap. Thinking is expensive." --Roy Smith



More information about the Python-3000 mailing list