[Python-Dev] Dropping decorator syntax for 2.4?
Guido van Rossum
guido at python.org
Wed Jun 2 12:24:27 EDT 2004
> 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?
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-Dev
mailing list