Class decorators do not inherit properly

Lee Harr missive at frontiernet.net
Fri Jul 13 18:41:04 EDT 2007


>> I think the term "class decorator" is going to eventually
>> mean something other than what you are doing here. I'd
>> avoid the term for now.
>> 
>> 
>> When you decorate a class method,
>> the function you use
>> needs to be defined before the method definition.
>
> FWIW, the term "class method" has a 
> definite meaning in Python.


Certainly. But "class decorator" is being introduced in
Python 3000 with PEP 3129:
http://www.python.org/dev/peps/pep-3129/




More information about the Python-list mailing list