[Python-Dev] Re: 2.4a2, and @decorators (original) (raw)

Nick Coghlan ncoghlan at iinet.net.au
Wed Aug 4 05:08:51 CEST 2004


David Eppstein wrote:

I'm actually pretty neutral on restricted decorators vs @expression. But @lambda(func): body def func(...): ... is (I think) much more likely to be an abuse of language than the Pythonic way of writing something, so I don't see a lot of harm in preventing it.

And, as someone pointed out, lifting a restriction is a heck of a lot easier than imposing one later on (even after only 1 alpha). YouAintGonnaNeedIt and all that. . .

Cheers, Nick.

-- Nick Coghlan | Brisbane, Australia Email: ncoghlan at email.com | Mobile: +61 409 573 268



More information about the Python-Dev mailing list