[PATCH] RE: J2 decorator grammar
Michael Sparks
zathras at thwackety.com
Sun Aug 22 11:34:55 EDT 2004
Michael Sparks wrote:
> Anthony Baxter wrote:
...
>> Well, in the comments for that patch, I listed all of the files changed
>> by the @syntax - that at least gives you a 'to-do list' to work through.
This was extremely useful BTW - thanks !
>> Once you've got what you think is the complete set, create a patch and
>> post it to SF.
>
> Will do.
The new patch can be found here:
* http://www.python.org/sf/1013835
Issues with this patch are:
* Uses "decorate" keyword rather than "using" (personal preference based
on reading everyone's arguments in favour of it, and also based on
googling for existing usage of alternatives...).
* Doesn't support suggested short form
* Is a patch against 2.4a2 not CVS head.
* A bunch of tests are skipped on my machine so I haven't yet checked
those for @pie decorators.
As a result I'll be posting at least one update to this patch.
It does however pass all the tests, include docs, and all the bits I think
should've be updated are updated. (see the patch page above for details)
Regards,
Michael.
More information about the Python-list
mailing list