[Guido van Rossum]
[Aahz]
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.
A difficult decision indeed. Most single line blocks I've seen would be
more legible if they were written
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.
On 8/27/05, Aahz [EMAIL PROTECTED] 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