elements of decorator syntax suggestions

Erik Max Francis max at alcyone.com
Sun Aug 8 08:52:24 CEST 2004

Michele Simionato wrote:

> 1. @ is already used in Leo and ipython, "|" is not.

It's also used in EmPy, but you don't see me complaining.

> 2. "|" stands visually more than other characters.

@ sure takes up more visual space and is easier to spot in text than |,
which is precisely why I used it in EmPy as the token prefix (also
because @ at the time is neither commonly used in English text or legal
in Python, though the latter will be changing).

> 3. Many people have an irrational repulsion for "@" and "$".


 __ Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
/  \ San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
\__/ I have not yet begun to right!
    -- John Paul Jones

More information about the Python-list mailing list