[Python-Dev] Dropping decorator syntax for 2.4?

Bob Ippolito bob at redivi.com
Wed Jun 2 12:28:04 EDT 2004


On Jun 2, 2004, at 12:24 PM, Guido van Rossum wrote:

>> I would love to have method decorators in Python 2.4.  I don't even
>> care which syntax it has at this point.  I'll donate more money to the
>> PSF, or write the implementation myself, if that's what it takes.
>>
>> I write a lot of PyObjC code, which often requires method wrapping so
>> that it can bridge with existing Objective C code properly.  It pains
>> me every time I have to write foo = bar(foo), for arbitrarily long foo
>> (and they do get arbitrarily long).  It would make a lot of Mac OS X
>> developers very happy, especially myself, if there was an alternative.
>
> Do you need it for classes too, or only for methods?

Just methods.

-bob

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2357 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-dev/attachments/20040602/3e5257d5/smime.bin


More information about the Python-Dev mailing list