Jim's changes to Extension Class -- Several PyObject_GetItem requests now check
if the object is a dictionary, and do a PyDict_GetItem instead if possible. This avoids the error machinery overhead if the key is not found in the dictionary. PyDict_GetItem returns a borrowed reference, so the refcount is also bumped in these cases.
Showing
Please register or sign in to comment