Do not unnecessarily use PyErr_Format