Uh oh!
There was an error while loading. Please reload this page.
gh-109515: Allow a large number of frozen modules on Windows - #109516
Conversation
Most changes to Python require a NEWS entry. Please add it using the blurb_it web app or the blurb command-line tool. |
Most changes to Python require a NEWS entry. Please add it using the blurb_it web app or the blurb command-line tool. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
zooba
commented
Sep 26, 2023
We always squash merge PRs and rewrite the commit messages, don't worry about the change history. |
Co-authored-by: Steve Dower <steve.dower@microsoft.com>
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
zooba
left a comment
There was a problem hiding this comment.
I'm okay with this, but I'm not the maintainer of this code. Not sure who cares about it most, but they can merge it (or I'll get it in a couple of weeks if nobody cares)
| <ItemGroup> | ||
| <!-- BEGIN freeze mappings --> |
There was a problem hiding this comment.
It would be nice to fix the indentation on these lines. I don't see where it is though.
Otherwise anyone who edits this file manually is likely to fix it and trigger regeneration.
AA-Turner
commented
Sep 26, 2023
Devguide lists Guido & Kumar as deepfreeze experts. A |
| filterlines.append(' </None>') | ||
| deepfreezerules.append(f'\t\t "$(PySourcePath){header}:{src.frozenid}" ^') | ||
| deepfreezerules.append('\t\t "-o" "$(PySourcePath)Python\\deepfreeze\\deepfreeze.c"\'/>' ) | ||
| deepfreezemappings.append(f' <FrozenModule Include="$(PySourcePath)\\{header}" FrozenId="{src.frozenid}" />\n') |
There was a problem hiding this comment.
I think this would solve Steve's point re indentation
| deepfreezemappings.append(f' <FrozenModule Include="$(PySourcePath)\\{header}" FrozenId="{src.frozenid}" />\n') | |
| deepfreezemappings.append(f' <FrozenModule Include="$(PySourcePath)\\{header}" FrozenId="{src.frozenid}" />\n') |
There was a problem hiding this comment.
reformatted the vcxproj, now everything seems aligned
gvanrossum
left a comment
There was a problem hiding this comment.
Changes to deepfreeze.py LGTM (one nit for the help message). I'll leave the rest to Steve and Adam!
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>
rghe
commented
Oct 28, 2023
ahem, ping? |
zooba
commented
Oct 30, 2023
Thanks for the ping! |
ericsnowcurrently
commented
Oct 30, 2023
There are a bunch of buildbot failures, but they may be due to gh-110764. |
rghe
commented
Oct 30, 2023
well, I don´t think it's due to this change, since it affects only the pre-build frozen module generator on windows builds and all error messages seem to be "define _Py_ThreadId for this platform" |
…a list file instead of arguments (pythonGH-109516)
…a list file instead of arguments (pythonGH-109516)
…a list file instead of arguments (pythonGH-109516)
This PR changes freezing modules compilation on windows by writing freezing module paths into a file instead of the command line.
Non-windows builds are unchanged