diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2021-12-14 01:04:05 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-14 01:04:05 (GMT) |
commit | 121f1f893a39d0b58d3d2b5597505c154ecaac2a (patch) | |
tree | 2efda2489f892c98015cf80763369ea4f3505666 /Python/pythonrun.c | |
parent | cb589d1b6bad4b75852c2e2a471a3800d5efdca7 (diff) | |
download | cpython-121f1f893a39d0b58d3d2b5597505c154ecaac2a.zip cpython-121f1f893a39d0b58d3d2b5597505c154ecaac2a.tar.gz cpython-121f1f893a39d0b58d3d2b5597505c154ecaac2a.tar.bz2 |
bpo-45953: Statically initialize the small ints. (gh-30092)
The array of small PyLong objects has been statically declared. Here I also statically initialize them. Consequently they are no longer initialized dynamically during runtime init.
I've also moved them under a new sub-struct in _PyRuntimeState, in preparation for static allocation and initialization of other global objects.
https://bugs.python.org/issue45953
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions