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). Thomas
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4