PEP 318 decorators are not Decorators

Arien Malec arien_malec at yahoo.com.REMOVE
Mon Aug 16 14:38:46 EDT 2004


"Colin J. Williams" <cjw at sympatico.ca> wrote in
news:Ns3Uc.5169$Tr.369640 at news20.bellglobal.com: 
> Arien Malec wrote:
>> Clearly, Python can choose any name for the
>> auto-function-transformation syntax in question, but it's rather
>> willfully confusing to choose a name that's heavily identified with a
>> profoundly different semantics that's superficially similar in
>> intent. 

> This is especially confusing as, in everyday english usage, to
> decorate is not the same as to transform.
> 
> Perhaps "transform" could be consdered as an alternative.

That would be my leaning, as well. Ideally, the name would make it clear 
that the application order of the transformations is significant....

Arien



More information about the Python-list mailing list