Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h
diff --git a/Modules/threadmodule.c b/Modules/threadmodule.c
index 876d5e2..d948154 100644
--- a/Modules/threadmodule.c
+++ b/Modules/threadmodule.c
@@ -493,7 +493,7 @@
PyMem_DEL(boot);
return NULL;
}
- return PyInt_FromLong(ident);
+ return PyLong_FromLong(ident);
}
PyDoc_STRVAR(start_new_doc,
@@ -571,7 +571,7 @@
PyErr_SetString(ThreadError, "no current thread ident");
return NULL;
}
- return PyInt_FromLong(ident);
+ return PyLong_FromLong(ident);
}
PyDoc_STRVAR(get_ident_doc,
@@ -616,7 +616,7 @@
return NULL;
}
- return PyInt_FromSsize_t((Py_ssize_t) old_size);
+ return PyLong_FromSsize_t((Py_ssize_t) old_size);
}
PyDoc_STRVAR(stack_size_doc,