commit | efc82f7e8eff19d8e844a3dc268a88de7fbcb173 | [log] [tgz] |
---|---|---|
author | Mark Dickinson <dickinsm@gmail.com> | Fri Mar 20 15:51:55 2009 +0000 |
committer | Mark Dickinson <dickinsm@gmail.com> | Fri Mar 20 15:51:55 2009 +0000 |
tree | 58198f2e7610ba6d33865884487de006de30af85 | |
parent | c8e81ef508f0f1dc4e5c31bd0bec2766867fead5 [diff] [blame] |
Issue #4258: Use 30-bit digits for Python longs, on 64-bit platforms. Backport of r70459.
diff --git a/Python/pythonrun.c b/Python/pythonrun.c index f2cd819..d0c5b2b 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c
@@ -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");