summaryrefslogtreecommitdiffstats
path: root/Include/internal/pycore_interp.h
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2021-10-28 16:35:43 (GMT)
committerGitHub <noreply@github.com>2021-10-28 16:35:43 (GMT)
commit4fc68560ea0d506c152a82c48c162bfe002f34a8 (patch)
tree025efe26309526cdb86521c1f8f95ad106ff939f /Include/internal/pycore_interp.h
parent13d9205f4057eeeef80a25d410ad123876dc60cd (diff)
downloadcpython-4fc68560ea0d506c152a82c48c162bfe002f34a8.zip
cpython-4fc68560ea0d506c152a82c48c162bfe002f34a8.tar.gz
cpython-4fc68560ea0d506c152a82c48c162bfe002f34a8.tar.bz2
Store actual ints, not pointers to them in the interpreter state. (GH-29274)
Diffstat (limited to 'Include/internal/pycore_interp.h')
-rw-r--r--Include/internal/pycore_interp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/internal/pycore_interp.h b/Include/internal/pycore_interp.h
index c16f0a4..8bd3dc0 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;