[Python-Dev] @[decorator]

Jewett, Jim J jim.jewett at eds.com
Fri Jul 2 16:01:53 CEST 2004


Edward C. Jones:

> There are three 7-bit ASCII characters not used in
> Python: "@", "$", and "?".  Please don't waste one ...

Perhaps even fewer;  "$" is used by the simplified-string 
module that seems likely to go in.

"@" does often mean attribute, which works well with
decorations, but not so well with transformations.

But it is also an obvious target character for substitutions,
and already in use by some common extensions.

Would @[...] or [...]@ be any better than [...] or @ alone?

-jJ



More information about the Python-Dev mailing list