who is calling the base class __new__ method
aotto1968 at onlinehome.de
Tue Apr 21 13:31:16 CEST 2009
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 ....
PyObject* PyType_GenericNew(PyTypeObject *type, PyObject *args, PyObject
Return value: New reference.
Question: What is the difference between these both functions
and why is one working and the other not ?
More information about the Python-list