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) --- Include/internal/pycore_interp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Include/internal/pycore_interp.h') diff --git a/Include/internal/pycore_interp.h b/Include/internal/pycore_interp.h index c16f0a4b5e..8bd3dc064e 100644 --- a/Include/internal/pycore_interp.h +++ b/Include/internal/pycore_interp.h @@ -335,7 +335,7 @@ struct _is { The integers that are preallocated are those in the range -_PY_NSMALLNEGINTS (inclusive) to _PY_NSMALLPOSINTS (not inclusive). */ - PyLongObject* small_ints[_PY_NSMALLNEGINTS + _PY_NSMALLPOSINTS]; + PyLongObject small_ints[_PY_NSMALLNEGINTS + _PY_NSMALLPOSINTS]; struct _Py_bytes_state bytes; struct _Py_unicode_state unicode; struct _Py_float_state float_state; -- cgit v1.2.1