elements of decorator syntax suggestions

Erik Max Francis max at alcyone.com
Sun Aug 8 00:48:19 CEST 2004


Tim Peters wrote:

> Overloading a unary prefix operator is out.  As Anthony said, vertical
> bar seemed to be the leading contender on python-dev Friday.  You can
> find tedious arguments there about most of the others that would go
> for you.

Why is | superior to @?  | already has a meaning in Python, and it has
nothing to do with decorators ... at least @ has the virtue of currently
being unused in the language, and having the precedent of being used for
a similar feature in Java.

-- 
 __ Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
/  \ San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
\__/ Could it be / That we need loving to survive
    -- Neneh Cherry



More information about the Python-list mailing list