summaryrefslogtreecommitdiffstats
path: root/Tools/scripts
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2022-03-31 20:29:52 (GMT)
committerGitHub <noreply@github.com>2022-03-31 20:29:52 (GMT)
commite7bb7c2f047b4f97e4426c42ae209c969808069d (patch)
tree3fb12173f89ba46ac4a19c24962864181b942de3 /Tools/scripts
parent74b95d86e0f14603f878c4df3133bc8a93f8f80a (diff)
downloadcpython-e7bb7c2f047b4f97e4426c42ae209c969808069d.zip
cpython-e7bb7c2f047b4f97e4426c42ae209c969808069d.tar.gz
cpython-e7bb7c2f047b4f97e4426c42ae209c969808069d.tar.bz2
bpo-47146: Stop Depending On regen-deepfreeze For regen-global-objects (gh-32218)
This effectively reverts the Makefile change in gh-31637. I've added some notes so it is more clear what is going on. We also update the "Check if generated files are up to date" job to run "make regen-deepfreeze" to ensure "make regen-global-objects" catches deepfreeze.c. https://bugs.python.org/issue47146
Diffstat (limited to 'Tools/scripts')
-rw-r--r--Tools/scripts/freeze_modules.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Tools/scripts/freeze_modules.py b/Tools/scripts/freeze_modules.py
index c8d8a7d..dd208c7 100644
--- a/Tools/scripts/freeze_modules.py
+++ b/Tools/scripts/freeze_modules.py
@@ -606,7 +606,6 @@ def regen_makefile(modules):
])
deepfreezerules.append(f"\t{frozen_header}:{src.frozenid} \\")
deepfreezerules.append('\t-o Python/deepfreeze/deepfreeze.c')
- deepfreezerules.append('')
pyfiles[-1] = pyfiles[-1].rstrip(" \\")
frozenfiles[-1] = frozenfiles[-1].rstrip(" \\")