1. mirror
  2. cpython

Commits

Benjamin Peterson  committed cdf5606

undo PyInt -> PyLong change; that was wrong

  • Participants
  • Parent commits 2aa817e
  • Branches 2.7

Comments (0)

Files changed (1)

File Modules/posixmodule.c

View file
 {
     if (uid <= LONG_MAX)
         return PyInt_FromLong(uid);
-    return PyInt_FromUnsignedLong(uid);
+    return PyLong_FromUnsignedLong(uid);
 }
 
 PyObject *
 {
     if (gid <= LONG_MAX)
         return PyInt_FromLong(gid);
-    return PyInt_FromUnsignedLong(gid);
+    return PyLong_FromUnsignedLong(gid);
 }
 
 int