summaryrefslogtreecommitdiffstats
path: root/Python/pytime.c
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2022-03-23 15:55:52 (GMT)
committerGitHub <noreply@github.com>2022-03-23 15:55:52 (GMT)
commitfebf54bcf3fdc45ad84b4073e24bbaaee0ac8b2a (patch)
treeabc92afd100f6a13f17314c1d2d72fd74303b78f /Python/pytime.c
parent21412d037b07c08266e96dfd0c0e44a1b7693bc1 (diff)
downloadcpython-febf54bcf3fdc45ad84b4073e24bbaaee0ac8b2a.zip
cpython-febf54bcf3fdc45ad84b4073e24bbaaee0ac8b2a.tar.gz
cpython-febf54bcf3fdc45ad84b4073e24bbaaee0ac8b2a.tar.bz2
bpo-46712: Do not Regen Deep-Frozen Modules before Generating Global Objects (gh-32061)
We have to run "make regen-deepfreeze" before running Tools/scripts/generate-global-objects.py; otherwise we will miss any changes to global objects in deep-frozen modules (which aren't committed in the repo). However, building $(PYTHON_FOR_FREEZE) fails if one of its source files had a global object (e.g. via _Py_ID(...)) added or removed, without generate-global-objects.py running first. So "make regen-global-objects" would sometimes fail. We solve this by running generate-global-objects.py before *and* after "make regen-deepfreeze". To speed things up and cut down on noise, we also avoid updating the global objects files if there are no changes to them. https://bugs.python.org/issue46712
Diffstat (limited to 'Python/pytime.c')
0 files changed, 0 insertions, 0 deletions