[Python-Dev] Python 3.0 blocks?

Guido van Rossum gvanrossum at gmail.com
Sat Aug 27 23:58:23 CEST 2005


On 8/27/05, Aahz <aahz at pythoncraft.com> wrote:
> 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?

It's a proposal. I'm on the fence about it. I was just trying to get
the posting out quick before my family came knowcking on my door. :)
-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-Dev mailing list

AltStyle によって変換されたページ (->オリジナル) /