[PATCH] RE: J2 decorator grammar

Arien Malec arien_malec at yahoo.com.REMOVE
Mon Aug 23 13:14:23 EDT 2004


Michael Sparks <zathras at thwackety.com> wrote in
news:412889c8$0$81159$ed2619ec at ptn-nntp-reader02.plus.net: 

> So some other keyword is definitely preferable. Currently I'm swayed
> heavily by arguments in favour of "using" [...]

"using" doesn't make the semantics clear. The naming for "decorators" 
should be influenced not only by the basic use cases (in which the function 
is annotated with metadata), but also the more edge-pushing use cases, like 
classmethod, in which the semantics of the function are changed.

Me, I like: "transform:"...

Arien



More information about the Python-list mailing list