The psyco.classes module defines a practical metaclass that you can use in your applications.
A metaclass is the type of a class. Just like a class controls how its instances behave, a metaclass controls how its classes behave. The purpose of the present metaclass is to make your classes more Psyco-friendly.
See http://www.python.org/2.2.2/descrintro.html for more information about old-style vs. new-style classes. Be aware of the changes in semantics, as recalled in section 2.3 (Psyco tutorial).
By using psyco.classes.__metaclass__ as the metaclass of your commonly-used classes, Psyco will call psyco.bind for you on all methods defined in the class (this does not include inherited parent methods or methods added after the class is first created). Additionally, these classes are ``compact'' (section 3.5), i.e. Psyco can produce quite fast code to handle instances of these classes and they use less memory each.