[Python-Dev] pep 318, Decorators for Functions, Methods and Classes (original) (raw)

Anthony Baxter anthony at interlink.com.au
Fri Aug 6 18:03:32 CEST 2004


Skip Montanaro wrote:

Simon> On pep 318 (like everything else here). Simon> Is it actually supposed to work for classes?

That was the original proposal, way back when. The motivation for decorating classes seems much weaker than for functions. The current implementation doesn't decorate classes. The PEP title should probably be changed.

And this is now done. There are probably still references to classes in inappropriate places in the doco. I will spend more time on it this weekend.

Anthony

Anthony Baxter <anthony at interlink.com.au> It's never too late to have a happy childhood.



More information about the Python-Dev mailing list