[Python-Dev] Dropping decorator syntax for 2.4?

Phillip J. Eby pje at telecommunity.com
Wed Jun 2 12:07:31 EDT 2004

At 11:56 AM 6/2/04 -0400, Aahz wrote:
>On Wed, Jun 02, 2004, Guido van Rossum wrote:
> >
> > 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?
>The arguments in favor of doing *something* now are moderately
>compelling, but I dislike getting locked in to a specific syntax or
>semantic until we've tested it in the field.  I just had an idea to make
>sure that people understand that this is an experimental feature:
>Raise a DeprecationWarning anytime someone uses decorators (doesn't
>matter which syntax we pick).  This would be in addition to requiring a
>``from future import decorators`` directive.
>With both of those, I'm +0 on going ahead; without, I'm -1 (i.e. +1 for

Given that alpha APIs are subject to change anyway, I'm not sure I see the 
point of this, unless you expect us to still be uncertain when 2.4 reaches 
beta and want to add the warning at that point.

More information about the Python-Dev mailing list