[Python-ideas] Decorator syntax restriction

Zac Burns zac256 at gmail.com
Fri Oct 9 07:19:19 CEST 2009


>
> I'm +0 on the whole thing, but this to me is the strongest
> argument advanced thus far. Seems silly to make people
> run otherwise reasonable, readable code through the
> manglifier in order to satisfy a rule that doesn't work
> anyway.
>
> Geremy Condra
>
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> http://mail.python.org/mailman/listinfo/python-ideas
>
>

Use case:

@noDecorator if not debug else debug

I'm +1 only because I tend to believe that smaller descriptions (in
this case of the language) are more elegant.

--
Zachary Burns
(407)590-4814
Aim - Zac256FL
Production Engineer (Digital Overlord)
Zindagi Games



More information about the Python-ideas mailing list