-
-
Notifications
You must be signed in to change notification settings - Fork 32k
bpo-45019: Add a tool to generate list of modules to include for frozen modules #27980
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
ericsnowcurrently
merged 41 commits into
python:main
from
ericsnowcurrently:frozen-modules-cleanup
Aug 30, 2021
Merged
Changes from 30 commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
a10471a
Clean up _freeze_importlib.c.
ericsnowcurrently 6252a37
_freeze_importlib -> _freeze_module
ericsnowcurrently b230af8
Add tooling to freeze stdlib modules.
ericsnowcurrently e4ef8fc
Support freezing a package's submodules.
ericsnowcurrently 6bcc8c9
Use freeze_modules.py for all frozen modules.
ericsnowcurrently 1cae771
Regen frozen.c and Makefile.pre.in.
ericsnowcurrently ba9417c
Add the updating_file_with_tmpfile() "tool".
ericsnowcurrently 6dcb926
Regen frozen.c in place.
ericsnowcurrently 8a2b4b7
Clean up.
ericsnowcurrently 8ad3c1d
Add --no-regen.
ericsnowcurrently 1e88d34
Be consistent about the frozen module filename (frozen_*.h).
ericsnowcurrently c4874f2
Use consistently named make targets for regen-frozen-*.
ericsnowcurrently 06af093
Drop the stdlib placeholders.
ericsnowcurrently 3a036b7
Simplify FROZEN a little.
ericsnowcurrently 6a27a1d
Combine FROZEN and MODULES.
ericsnowcurrently e3e07a9
Drop the frozen module groups.
ericsnowcurrently 3d2ebdb
Fix a typo.
ericsnowcurrently 9a5141f
Fix the Makefile.
ericsnowcurrently 3687fda
Make freeze_modules.py less fragile.
gvanrossum 1331a77
Simplify specs.
ericsnowcurrently 30972b2
Explicitly freeze modules in Makefile.
ericsnowcurrently 7a4a876
Fix a typo.
ericsnowcurrently 1306a4e
Fix dependencies.
ericsnowcurrently f724deb
Drop some dead code.
ericsnowcurrently 9a4d120
Fix another typo.
ericsnowcurrently 54b0116
Generate the frozen file in-place rather than with a temp file.
ericsnowcurrently 16adb8e
Update Windows build config.
ericsnowcurrently 2d51cba
Move frozen modules into their own directory.
ericsnowcurrently 5cfd853
Add a NEWS entry.
ericsnowcurrently 0905b51
Fix a typo.
ericsnowcurrently 55e1ffc
Fix outdated comments.
ericsnowcurrently b970fa3
Avoid buffer overflows.
ericsnowcurrently 99daab4
Freeze the modules when running "make regen-frozen".
ericsnowcurrently 10a14de
Be more verbose about what is running in freeze_modules.py.
ericsnowcurrently 2651962
Update the explanation in frozen.c.
ericsnowcurrently 7406c58
Mark all frozen modules as "generated".
ericsnowcurrently f4c136e
Drop a superfluous comment.
ericsnowcurrently 2730169
Drop the CLI.
ericsnowcurrently d84fd85
Use update_file_with_tmpfile() in updating_file_with_tmpfile().
ericsnowcurrently cd8fe0a
Do not update the file if there was an error.
ericsnowcurrently 9a97726
Fix the check_generated_files CI job.
ericsnowcurrently File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
Misc/NEWS.d/next/Build/2021-08-26-13-10-46.bpo-45019.e0mo49.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Generate lines in relevant files for frozen modules. Up until now each of | ||
the files had to be edited manually. This change makes it easier to add to | ||
and modify the frozen modules. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.