Thanks Sven. That's just what I was looking for.

For anyone interested, here is the message with Guido's gut-feeling back in 
2004, and the in the subsequent few posts are arguments one way or the other:

http://mail.python.org/pipermail/python-dev/2004-August/046711.html

In summary, there is a discourse on "restrict people from doing ugly expression 
stuff in decorators", vs. "principle of least astonishment" in python's syntax 
consistency.

Guido comments: 

"So while it would be quite easy to change the syntax .. in the
future, I'd like to stick with the more restricted form unless a real
use case is presented"


On 5 Apr 2013, at 15:55, Sven Marnach wrote:

> Guido actually gave approval for a change to allow aribtrary expressions 
> after the @ (about two years ago on python-ideas).  There's also some bug 
> about this on the tracker.  (I can't be bothered to look up the links...)
> 
> Cheers,
>     Sven
> ​
> _______________________________________________
> python-uk mailing list
> python-uk@python.org
> http://mail.python.org/mailman/listinfo/python-uk

_______________________________________________
python-uk mailing list
python-uk@python.org
http://mail.python.org/mailman/listinfo/python-uk

Reply via email to