Mercurial > cpython-lru_cache-weakref
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 52231:4fdb10dbc736 | 52233:9b358eae532a |
|---|---|
| 179 if (!_PyFrame_Init()) | 179 if (!_PyFrame_Init()) |
| 180 Py_FatalError("Py_Initialize: can't init frames"); | 180 Py_FatalError("Py_Initialize: can't init frames"); |
| 181 | 181 |
| 182 if (!_PyInt_Init()) | 182 if (!_PyInt_Init()) |
| 183 Py_FatalError("Py_Initialize: can't init ints"); | 183 Py_FatalError("Py_Initialize: can't init ints"); |
| 184 | |
| 185 if (!_PyLong_Init()) | |
| 186 Py_FatalError("Py_Initialize: can't init longs"); | |
| 184 | 187 |
| 185 if (!PyByteArray_Init()) | 188 if (!PyByteArray_Init()) |
| 186 Py_FatalError("Py_Initialize: can't init bytearray"); | 189 Py_FatalError("Py_Initialize: can't init bytearray"); |
| 187 | 190 |
| 188 _PyFloat_Init(); | 191 _PyFloat_Init(); |
