[Python-Dev] Dropping decorator syntax for 2.4?

Chermside, Michael mchermside at ingdirect.com
Wed Jun 2 14:21:48 EDT 2004


Guido writes:
> I still hate
> the most popular proposal (def foo(args) [decorators]: body) and my
> own proposal is unpopular.

Just one voice here, but I was initially opposed to your proposal,
and favored the above-mentioned popular proposal. But as I played
around with your proposed syntax, it grew on me, and I'm now a 
supporter your approach.

> I just want to suggest that we put
> this off and get 2.4 on the road without any decorator syntax at all.
> What do people think of that?

It's fine with me if we put it off. Obviously others have already
posted saying that they'd rather have the feature (at least FUNCTION
decorators... other decorators seem to be less in demand), regardless 
of the syntax. As for me, I'd rather prefer to get the syntax "right"
even if it means delaying another release... but that's because I
don't have a project that is in desperate need of decorators.

I like the *idea* of releasing one syntax and reserving the right
to change syntax later (via warnings or something). But I don't 
believe it is possible in the real world.

-- Michael Chermside


This email may contain confidential or privileged information. If you believe you have received the message in error, please notify the sender and delete the message without copying or disclosing it.




More information about the Python-Dev mailing list