[SciPy-dev] Making all classes new style classes

Travis Oliphant oliphant at ee.byu.edu
Fri Oct 21 19:23:53 CDT 2005

I know it was mentioned that we should make all classes in scipy new 
style classes.

This can be accomplished easily by a module level definition of

__metaclass__ = type

All classes in the module will be "new-style" (i.e. inherit from object)


More information about the Scipy-dev mailing list