Re: [Python-Dev] Python 3.0 blocks?

2005-08-28 Thread François Pinard
[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

[Python-Dev] Python 3.0 blocks?

2005-08-27 Thread Aahz
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.

Re: [Python-Dev] Python 3.0 blocks?

2005-08-27 Thread Guido van Rossum
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