Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h

This commit is contained in:
Christian Heimes 2007-12-02 14:31:20 +00:00
parent 1a3284ed69
commit 217cfd1c86
123 changed files with 888 additions and 885 deletions

View file

@ -256,7 +256,7 @@ PyTraceBack_Print(PyObject *v, PyObject *f)
}
limitv = PySys_GetObject("tracebacklimit");
if (limitv && PyInt_CheckExact(limitv)) {
limit = PyInt_AsLong(limitv);
limit = PyLong_AsLong(limitv);
if (limit <= 0)
return 0;
}