J2 proposal: keyword

Peter Hansen peter at engcorp.com
Mon Aug 23 13:09:24 EDT 2004


Oliver Fromme wrote:
> Aren't decorators just functions that are applied to the
> function definition?  Then how about "apply"?  It's short
> (for those lazy typers), and it expresses exactly what
> happens.


Python 2.3.4 (#53, May 25 2004, 21:17:02) [MSC v.1200 32 bit (Intel)] on 
win32
 >>> apply
<built-in function apply>


I'm fairly sure that fact alone would cause a lot of grief in one
way or the other.

-Peter



More information about the Python-list mailing list