Jeremy Moles wrote:

> So, here is my relevant code:
>
> PyArg_ParseTuple(args, "O!", &PyType_vector3d, &arg1)
>
> And here ismy error message:
>
> argument 1 must be pylf.core.vector3d, not pylf.core.vector3d

try adding

    printf("%p %p\n", &PyType_vector3d, arg1->ob_type);

before the parsetuple statement.

> I guess my question is: what in the world could be causing this to fail?

multiple instances of the type object.

</F>



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to