[Python-3000] PEP 3115: Actual use cases for odd metaclasses? Alternate syntax.

Christian Tanzer tanzer at swing.co.at
Sat Dec 22 13:57:01 CET 2007


"Charles Merriam" <charles.merriam at gmail.com> wrote:

> I gave a talk last week that included Metaclasses.  From what I've
> read, there seems to be only one use case for metaclasses:  go through
> and play with the attributes when the class is created.

A metaclass can define behavior for its classes. I'm using that quite
a bit.

-- 
Christian Tanzer                                    http://www.c-tanzer.at/



More information about the Python-3000 mailing list