[Python-Dev] Call for defense of @decorators

Barry Warsaw barry at python.org
Fri Aug 6 00:25:17 CEST 2004


On Thu, 2004-08-05 at 17:53, Gustavo Niemeyer wrote:

> - There are two obvious usage cases for decorators: static and
>   class methods;
> 
> - There are more complex usage cases for decorators such as
>   PyObjC which was already agreed to be something necessarily
>   supported in the implementation;

I'm not sure these two points are accurate.  There's definitely a large
middle ground between staticmethod/classmethod and PyObjC's use cases.

> - People which want the powerful decorators don't care about
>   the syntax, as far as the feature is implemented;

I care deeply about the syntax, but I can accept any of the choices that
have made Guido's final cut.

-Barry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
Url : http://mail.python.org/pipermail/python-dev/attachments/20040805/8380bfdb/attachment.pgp


More information about the Python-Dev mailing list