Mercurial > cpython-lru_cache-weakref
diff Python/pythonrun.c @ 52233:9b358eae532a legacy-trunk
Issue #4258: Use 30-bit digits for Python longs, on 64-bit platforms.
Backport of r70459.
| author | Mark Dickinson <dickinsm@gmail.com> |
|---|---|
| date | Fri, 20 Mar 2009 15:51:55 +0000 |
| parents | 68c9f8b6584d |
| children | 5cf74137c0f8 |
line wrap: on
line diff
--- a/Python/pythonrun.c Thu Mar 19 23:22:25 2009 +0000 +++ b/Python/pythonrun.c Fri Mar 20 15:51:55 2009 +0000 @@ -182,6 +182,9 @@ if (!_PyInt_Init()) Py_FatalError("Py_Initialize: can't init ints"); + if (!_PyLong_Init()) + Py_FatalError("Py_Initialize: can't init longs"); + if (!PyByteArray_Init()) Py_FatalError("Py_Initialize: can't init bytearray");
