Re: [python-uk] Advice on decorator grammar

2013-04-05 Thread Sven Marnach
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

Re: [python-uk] Advice on decorator grammar

2013-04-05 Thread Stestagg
I've been thinking about this, and the more I see, the more I'm convinced that this extra gramma would *not* help with generating 'pythonic' code. Having used decorators as: wrappers, subsituters, dynamic substituters, dependency injectors, actual decorators and other things (several of these were