Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h
diff --git a/Modules/grpmodule.c b/Modules/grpmodule.c
index 7e47925..a39ca76 100644
--- a/Modules/grpmodule.c
+++ b/Modules/grpmodule.c
@@ -70,7 +70,7 @@
Py_INCREF(Py_None);
}
#endif
- SET(setIndex++, PyInt_FromLong((long) p->gr_gid));
+ SET(setIndex++, PyLong_FromLong((long) p->gr_gid));
SET(setIndex++, w);
#undef SET
@@ -93,7 +93,7 @@
py_int_id = PyNumber_Int(pyo_id);
if (!py_int_id)
return NULL;
- gid = PyInt_AS_LONG(py_int_id);
+ gid = PyLong_AS_LONG(py_int_id);
Py_DECREF(py_int_id);
if ((p = getgrgid(gid)) == NULL) {