[Python-Dev] Re: ANNOUNCE: 'goto' for Python (original) (raw)
Hye-Shik Chang perky at i18n.org
Thu Apr 1 22:24:24 EST 2004
- Previous message: [Python-Dev] Re: ANNOUNCE: 'goto' for Python
- Next message: [Python-Dev] PEP 318: Decorators last before colon/bakeoff
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Apr 02, 2004 at 02:31:06PM +1200, Greg Ewing wrote:
Mike Rovner <mike at nospam.com>:
> Shall I file a bug about python lexer which allows space between class and > attribute? Or that's a fiature? It's certainly not a bug. An identifier and a dot following it are separate lexical tokens, so whitespace should be allowed between them in the interests of consistency, even if it's not all that useful.
Agreed. At least it has one usage:
1 .add <method-wrapper object at 0x81c4dec> 1.add File "", line 1 1.add ^ SyntaxError: invalid syntax addone = 1 .add addone(5) 6
Even though it's not so beautiful. :)
Hye-Shik
- Previous message: [Python-Dev] Re: ANNOUNCE: 'goto' for Python
- Next message: [Python-Dev] PEP 318: Decorators last before colon/bakeoff
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]