From 753b6be78c735e3e80acc058e8b2375092032bb6 Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Fri, 20 Mar 2009 15:51:55 +0000 Subject: Issue #4258: Use 30-bit digits for Python longs, on 64-bit platforms. Backport of r70459. --- Python/pythonrun.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Python/pythonrun.c') 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"); -- cgit v1.2.1