[Python-Dev] Re: decorators and 2.4
dave at boost-consulting.com
Thu Jun 24 10:35:31 EDT 2004
Anthony Baxter <anthony at interlink.com.au> writes:
> Channelling Guido, via his EP keynote
> I'm assuming that "Java-style" is something like:
> def blah(args):
> @funcattrs(vegetable="blah", author="GvR")
> def blah2(args):
> It's not clear to me how you'd specify multiple decorators this
> way, perhaps Guido can give more details...
> So, let the floodgates open. Remember, we _can_ change this any
> time up until 2.4b1, if there's a decision that the chosen form
> sucks. :-)
I'd love to discuss this, but channelling Brett channelling Guido,
> I think Guido has said no more syntax ideas on this one. It's
> either before the 'def', after the argument list, or like Java 1.5 .
Are you really interested in more syntax ideas, Guido?
More information about the Python-Dev