[Python-Dev] Re: PEP 318: Decorators last before colon (original) (raw)
David Abrahams dave at boost-consulting.com
Wed Mar 31 08:32:19 EST 2004
- Previous message: [Python-Dev] Re: PEP 318: Decorators last before colon
- Next message: [Python-Dev] PEP 318: Decorators last before colon
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"Terry Reedy" <tjreedy at udel.edu> writes:
# almost as easy, or <>
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
- Previous message: [Python-Dev] Re: PEP 318: Decorators last before colon
- Next message: [Python-Dev] PEP 318: Decorators last before colon
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]