[Python-Dev] @decoration of classes

Anthony Baxter anthony at interlink.com.au
Wed Mar 23 04:35:34 CET 2005


On Wednesday 23 March 2005 14:20, Guido van Rossum wrote:
> It would take a lot of convincing before I would think that class
> @decorators are better than metaclasses.
>
> In any case the fact that it wasn't in the PEP was plenty of reason
> not to add it to 2.4.

Minor clarification - it _was_ in the PEP, but when I did the big 
rewrite to match the state of the art, the class decoration stuff 
was ripped out. If it's thought worthwhile, someone could update
the PEP to include Guido's message. 

-- 
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