diff options
| author | Mark Dickinson <dickinsm@gmail.com> | 2009-03-20 15:51:55 +0000 |
|---|---|---|
| committer | Mark Dickinson <dickinsm@gmail.com> | 2009-03-20 15:51:55 +0000 |
| commit | 753b6be78c735e3e80acc058e8b2375092032bb6 (patch) | |
| tree | a9453cf3fcf8635d7f5b255706adb992273e0582 /Python/pythonrun.c | |
| parent | f373e2ab2b24f52a2f4bcf73fc6846e3bf3b80d2 (diff) | |
| download | cpython-753b6be78c735e3e80acc058e8b2375092032bb6.tar.gz | |
Issue #4258: Use 30-bit digits for Python longs, on 64-bit platforms.
Backport of r70459.
Diffstat (limited to 'Python/pythonrun.c')
| -rw-r--r-- | Python/pythonrun.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c index f2cd819b1c..d0c5b2bf34 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -182,6 +182,9 @@ Py_InitializeEx(int install_sigs) 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"); |
