[PEAK] component metaclasses

Jason sphexy at gmail.com
Wed Apr 6 00:05:39 EDT 2005


Hello.  Is there a proper way to define components that have an
additional metaclass?  I first figured I would make my metaclass a
subclass of binding.Component's metaclass, but that wasn't so simple,
at least for me.  What is Component's metaclass? :)

I ended up using the method described here:
"Solving the Metaclass Conflict"
http://www.phyast.pitt.edu/~micheles/python/metatype.html

That works perfectly fine, but I'm curious if there's a simpler way.

Thanks,
Jason



More information about the PEAK mailing list