decorator with keyword

Peter Hansen peter at engcorp.com
Thu Aug 12 23:03:39 EDT 2004


Reinhold Birkenfeld wrote:

> Peter Hansen wrote:
>>The python-dev mailing list doesn't appear to have discussed this one
>>yet, but given that much of the, uh, "chatter" that I detect there
>>is about minor tweaking of the @pie syntax, I fear they are so not
>>likely to pay much attention to new syntaxes and it might be too
>>late to get much support for it amongst the core folks.  (Guido
>>referred to @pie as "the humble @decorator" yesterday...)
> 
> I'm sure it would help if every supporter of this syntax started a
> thread of his own on python-dev *wink*

Glad you put the wink in... I doubt that would help the
cause.

The syntax should be presented there, perhaps, preferably
by someone calm and reasonable (i.e. not me), but I think
the most valuable thing is to continue discussion here
until it's apparent (if that's going to happen) that there
is a fairly wide consensus that decorate: (possibly with
a different keyword) is far preferred to @pie...  At least,
I think that was roughly what was asked for of the masses,
if the masses had anything to say about the matter.

-Peter



More information about the Python-list mailing list