]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-46712: Share global string identifiers in deepfreeze (GH-31261)
authorKumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Fri, 25 Feb 2022 18:05:24 +0000 (23:35 +0530)
committerGitHub <noreply@github.com>
Fri, 25 Feb 2022 18:05:24 +0000 (10:05 -0800)
commiteb002dbe0da9622245a355db5f0cd5aa2fc70b40
tree6d46f4c375a31a6b66e1c806f492972fc571e9c2
parentea9612a17bc60d44e0058f525d3c02a91c439cef
bpo-46712: Share global string identifiers in deepfreeze (GH-31261)

Where appropriate, deepfreeze.c now uses `&_Py_ID(blah)` references instead of locally defining constants. This saves some space.
Misc/NEWS.d/next/Core and Builtins/2022-02-24-07-50-43.bpo-46712.pw7vQV.rst [new file with mode: 0644]
Tools/scripts/deepfreeze.py
Tools/scripts/generate_global_objects.py