Re: who is calling the base class __new__ method

2009-04-21 Thread Aahz
In article , Andreas Otto wrote: > > Question: What is the difference between these both functions >and why is one working and the other not ? If you don't get an answer here, try capi-sig. -- Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/ "If you think

Re: who is calling the base class __new__ method

2009-04-21 Thread Andreas Otto
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