Hi,
found a solution .... - "PyObject_GC_New" seems not to be *not* the right function to create a new Python object with a base class included - "PyType_GenericNew" is the right one ... but this one is not documented .... from: http://docs.python.org/3.0/c-api/type.html ================================================= PyObject* PyType_GenericNew(PyTypeObject *type, PyObject *args, PyObject *kwds)ΒΆ Return value: New reference. XXX: Document. ================================================= Question: What is the difference between these both functions and why is one working and the other not ? -- http://mail.python.org/mailman/listinfo/python-list