Error checking in Python
skip at pobox.com
Tue Jun 10 04:56:03 CEST 2003
martin> Actually, in this vein, I often have aproblem with the Python C
martin> Api in that it is very rigidly typed. Most of the major
martin> documented operations are specifically to the built-in types.
martin> That is, there's no PyMap_GetItemString - but there is
martin> PyDict_GetItemString, which only works with a dictionary.
Au contraire... Check out Section 6.4 of the C/C++ API manual:
More information about the Python-list