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-March/043799.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 colonDavid Abrahams dave at boost-consulting.com
Wed Mar 31 08:32:19 EST 2004
"Terry Reedy" <tjreedy at udel.edu> writes:

> <decorator>      # almost as easy, or
> <<decorator>>
>
> Is there near precedent in other languages that I don't know of?

I want to caution against these.  Turning </>, which already parse as
un-paired, into angle brackets caused embarassing parsing problems for
C++.  Now such things as 

      A::foo<X> y;

have to be written as

      A::template foo<X> y;
         ^^^^^^^^-----------keyword disambiguates parse

in some cases.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com


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