[Python-Dev] Class decorators
Barry Warsaw
barry at python.org
Wed Mar 29 14:44:42 CEST 2006
On Wed, 2006-03-29 at 00:01 -0500, Phillip J. Eby wrote:
> For some reason, this doesn't bother me with functions. But then, I can't
> remember how often I've actually needed to use two decorators on the same
> function, or how many times a function decorator's arguments took multiple
> lines to list. Both of these are routine occurrences for my class use cases.
We have a couple of instances where we use multiple decorators, and even
a case where one of them takes an argument. It's not too bad. I agree
with your comments about class decorator readability though.
-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 309 bytes
Desc: This is a digitally signed message part
Url : http://mail.python.org/pipermail/python-dev/attachments/20060329/6d8890a1/attachment.pgp
More information about the Python-Dev
mailing list