Error checking in Python

Skip Montanaro skip at pobox.com
Mon Jun 9 22:56:03 EDT 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