[Python-Dev] Dropping decorator syntax for 2.4?

Thomas Heller theller at python.net
Wed Jun 2 12:59:59 EDT 2004

Bob Ippolito <bob at redivi.com> writes:

> 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.

Same for me (if you replace PyObjC with ctypes).


More information about the Python-Dev mailing list