account for PyObject_IsInstance's new ability to fail
3 files changed