Don't access PyClasssObject in Pyston directly. Use PyObject_GetAttrWrapper instead.
In Pyston, PyClassObject is just an opaque pointer. Don't access it directly. Use PyObject_GetAttrWrapper which provided by Pyston: - d = ((PyClassObject *)cls)->cl_dict; + d = PyObject_GetAttrWrapper(cls);
Showing
Please register or sign in to comment