[Python-Dev] Decorator syntax J2 (decorate..def),
with implementation
Robert Brewer
fumanchu at amor.org
Mon Aug 16 09:48:31 CEST 2004
Barry Warsaw wrote:
> On Sun, 2004-08-15 at 19:58, Nick Coghlan wrote:
>
> > What about the variant which makes the block optional when
> > there is only one decorator?
>
> Better, but I'm still not crazy about it, mostly because of the new
> keyword. I think you'd have to add an __future__ to get it
> into Python 2.4.
...which Guido hasn't completely ruled out (unlike most of the other
'potential' alternatives):
fumanchu at amor.org
More information about the Python-Dev
mailing list