Error checking in Python

Skip Montanaro 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:

    http://www.python.org/doc/api/api.html

Skip





More information about the Python-list mailing list