summaryrefslogtreecommitdiff
path: root/Python/dup2.c
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2021-12-13 18:04:05 -0700
committerGitHub <noreply@github.com>2021-12-13 18:04:05 -0700
commit121f1f893a39d0b58d3d2b5597505c154ecaac2a (patch)
tree2efda2489f892c98015cf80763369ea4f3505666 /Python/dup2.c
parentcb589d1b6bad4b75852c2e2a471a3800d5efdca7 (diff)
downloadcpython-git-121f1f893a39d0b58d3d2b5597505c154ecaac2a.tar.gz
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/dup2.c')
0 files changed, 0 insertions, 0 deletions