[Python-Dev] Breaking calls to object.init/new (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Mar 22 06:02:05 CET 2007


Phillip J. Eby wrote:

The whole point of being co-operative in a metaclass is to allow other metaclasses to be safely mixed in -- and they may be metaclasses from a completely different library or framework.

Some of these use cases might now be addressable using class decorators instead of mixing metaclasses.

-- Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | Carpe post meridiem! | Christchurch, New Zealand | (I'm not a morning person.) | greg.ewing at canterbury.ac.nz +--------------------------------------+



More information about the Python-Dev mailing list