[Python-Dev] Re: PEP 318: Decorators last before colon (original) (raw)
Mark Russell marktrussell at btopenworld.com
Mon Apr 5 13:00:34 EDT 2004
- Previous message: [Python-Dev] Re: PEP 318: Decorators last before colon
- Next message: [Python-Dev] Re: PEP 318: Decorators last before colon
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, 2004-04-05 at 17:44, Guido van Rossum wrote:
I appreciate the suggestion, but the current parser can't handle that.
Would it not be possible to cheat and make the lexer transform
"[" WHITESPACE "as" WHITESPACE IDENTIFIER
into an LBRACE-AS token (which I assume would make the parser's job simple).
Mark
- Previous message: [Python-Dev] Re: PEP 318: Decorators last before colon
- Next message: [Python-Dev] Re: PEP 318: Decorators last before colon
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]