A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2004-April/044089.html below:

[Python-Dev] Re: PEP 318: Decorators last before colon

[Python-Dev] Re: PEP 318: Decorators last before colon [Python-Dev] Re: PEP 318: Decorators last before colonMark Russell marktrussell at btopenworld.com
Mon Apr 5 16:08:19 EDT 2004
On Mon, 2004-04-05 at 19:59, Fred L. Drake, Jr. wrote:
> Another possibility might be to require the construct start without the 
> whitespace:
> 
> "[as" WHITESPACE ... "]"
> 
> That avoids the buffering issue and matches what most programmer are more 
> likely to write anyway.

I think that's probably too arbitrary a restriction.  Another thought:
presumably the parser could handle this syntax if "as" were a keyword. 
Is that true, and if so, is making "as" a keyword out of the question? 
The change could presumably be enabled by a "from __future__" directive
to avoid breaking existing code.

Mark

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4