[Python-Dev] Dropping decorator syntax for 2.4?

Aahz aahz at pythoncraft.com
Wed Jun 2 11:56:56 EDT 2004


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
delaying).
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"as long as we like the same operating system, things are cool." --piranha



More information about the Python-Dev mailing list