PyObject_IsTrue() can return an error condition.
Adding code to handle it properly.
1 file changed