I want to check the type of an object, right now I am doing strcmp( object->ob_type->tp_name, "MyClass")
Which seems slow, is there a way I can find the pointer to the global PyTypeObject for MyClass, and then just call PyObject_TypeCheck? Thanks -- http://mail.python.org/mailman/listinfo/python-list