I read the Python/C-API and they say I should not use PyArg_Parse() anymore but use PyArg_ParseTuple(). My problem is that I retrieve an PyObject * out of PyDict_GetItem(...) so this is a single object and not a tuple. PyArgs_Parse() is the only API-Function to get a C-"string" out of this right?
But this not really my main interest. I'm pretty much interested in what these functions do in detail when I specify a format string. Do they copy data from somewhere (wherever the specific object is stored) to a new memory area and sets the pointer to this new area? Do they in fact use "malloc" and friends to copy the data or do they just return a pointer to the place where the PyObject is already stored?
Thanks a lot.