diff options
author | Mark Shannon <mark@hotpy.org> | 2021-10-28 16:35:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-28 16:35:43 (GMT) |
commit | 4fc68560ea0d506c152a82c48c162bfe002f34a8 (patch) | |
tree | 025efe26309526cdb86521c1f8f95ad106ff939f /Include/internal/pycore_interp.h | |
parent | 13d9205f4057eeeef80a25d410ad123876dc60cd (diff) | |
download | cpython-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.h | 2 |
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; |