[Python-Dev] Python 3.0 blocks?

Aahz aahz at pythoncraft.com
Sat Aug 27 20:51:47 CEST 2005


On Sat, Aug 27, 2005, Guido van Rossum wrote:
>
> if vi in ('=',':'):
>   try: pos = optval.index(';')
>   except ValueError: pass
>   else:
>     if pos > 0 and optval[pos-1].isspace():
>       optval = optval[:pos]

IIRC, one of your proposals for Python 3.0 was that single-line blocks
would be banned.  Is my memory wrong?
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

The way to build large Python applications is to componentize and
loosely-couple the hell out of everything.


More information about the Python-Dev mailing list