[PATCH] RE: J2 decorator grammar

Arien Malec arien_malec at yahoo.com.REMOVE
Mon Aug 23 19:14:23 CEST 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:"...


More information about the Python-list mailing list