-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
bpo-45850: Implement deep-freeze on Windows #29648
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
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
97c8fd6
Deep-freeze for Windows, step 1
gvanrossum 65ee8fe
Support reading marshalled data from a frozen .h file
gvanrossum de230cb
Add umarshal.py (3.11 marshal.loads() in pure Python)
gvanrossum 87c6cb4
Generate .c files in _freeze_module.vcxproj
gvanrossum 8b46af7
Avoid copying unchanged deep-frozen files
gvanrossum 1bc777f
Properly generate lines in pythoncore.vcxproj; add codecs back
gvanrossum 97187ff
Try not to break UNIX builds by lazy-importing struct
gvanrossum 55b0f50
Merge remote-tracking branch 'origin/main' into windeepfreeze
gvanrossum 8eeaea0
Remove temporary .bat file
gvanrossum d332f16
Change ntpath back to posixpath in frozen.c
gvanrossum 3e7c3ac
One more nt->posix
gvanrossum 871f28b
📜🤖 Added by blurb_it.
blurb-it[bot] b52ad63
Fix by @zooba to get better error when no Python 3.10 is found
gvanrossum aea38e0
Generate integers for 15- and 30-bit digits
gvanrossum a7415ed
Give generated .c files a "df." prefix
gvanrossum f423c3b
Remove unused imports from deepfreeze.py
gvanrossum a3f60fc
Add a quick script to time startup
gvanrossum a69895e
Update blurb (reminder that 3.10 must be installed to build)
gvanrossum 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
2 changes: 2 additions & 0 deletions
2
Misc/NEWS.d/next/Windows/2021-11-20-00-06-59.bpo-45850.q9lofz.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,2 @@ | ||
Implement changes to build with deep-frozen modules on Windows. | ||
Note that we now require Python 3.10 as the "bootstrap" or "host" Python. |
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need a separate DeepIntFile?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably, yeah. It'll be used for dependency analysis, and I think it's more likely to decide that it's always out of date than to incorrectly assume it's up to date, but it's safest to only have one task creating each file during a build.