metaclasses -- aka Don Beaudry hook/hack (was RE: Why should i use python if i can use java)

James_Althoff at i2.com James_Althoff at i2.com
Tue Jun 12 20:16:29 CEST 2001


Thomas Heller wrote:
<snip>
>type(MyClass) == types.ClassType is false for ExtensionClass.Base
>derived classes, but isinstance() works (at least in Python 2.0,
>I'm not sure for 1.5.2).
<snip>
>Thomas

Thanks, Thomas!

Jim





More information about the Python-list mailing list