From 4fc68560ea0d506c152a82c48c162bfe002f34a8 Mon Sep 17 00:00:00 2001 From: Mark Shannon Date: Thu, 28 Oct 2021 17:35:43 +0100 Subject: Store actual ints, not pointers to them in the interpreter state. (GH-29274) --- Python/pylifecycle.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Python/pylifecycle.c') diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c index 3ccf32ab1b..7e6060e4eb 100644 --- a/Python/pylifecycle.c +++ b/Python/pylifecycle.c @@ -659,9 +659,7 @@ pycore_init_singletons(PyInterpreterState *interp) { PyStatus status; - if (_PyLong_Init(interp) < 0) { - return _PyStatus_ERR("can't init longs"); - } + _PyLong_Init(interp); if (_Py_IsMainInterpreter(interp)) { _PyFloat_Init(); -- cgit v1.2.1