[Python-Dev] Re: Call for defense of @decorators
Anthony Baxter
anthony at interlink.com.au
Fri Aug 6 18:18:15 CEST 2004
Tim Peters wrote:
> [Barry Warsaw]
>>...
>>In summary, I can definitely sympathize with the concern of tool authors
>>who have settled on @ as a meta-character that Python will not use.
>
> Yup.
Having said that, it's quite possible that in the future some other
feature will use the @ symbol - I think arrays have been mentioned
in the same sense, although presumably not in the sense of @variable
meaning "it's an array".
So, we either:
- explicitly list a symbol that Shall Not Be Used (I favour the
unicode glyph for biohazard), or
- change the language ref that talks about this to state that although
Python currently doesn't use these symbols, this is not stopping a
future version of Python from using them for some new feature.
Anthony
--
Anthony Baxter <anthony at interlink.com.au>
It's never too late to have a happy childhood.
More information about the Python-Dev
mailing list