A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-June/045139.html below:

[Python-Dev] Dropping decorator syntax for 2.4?

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

Thomas


More information about the Python-Dev mailing list

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