Skip to content

freeze_modules.py on windows hits command line limits when number of frozen modules grows #109515

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

Closed
rghe opened this issue Sep 17, 2023 · 0 comments
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs) type-bug An unexpected behavior, bug, or error

Comments

@rghe
Copy link
Contributor

rghe commented Sep 17, 2023

Bug report

Bug description:

frozen_modules.py machinery invokes deepfreeze.py passing modules to be frozen on the command line.
If the number of modules is high enough, the command line is truncated and deepfreeze.py fails.
This problem can be triggered by enabling the <encodings*> line on freeze_modules.py

It can be fixed by writing module paths into a file (see PR)

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux, Windows

Linked PRs

@rghe rghe added the type-bug An unexpected behavior, bug, or error label Sep 17, 2023
@terryjreedy terryjreedy added the interpreter-core (Objects, Python, Grammar, and Parser dirs) label Sep 17, 2023
zooba pushed a commit that referenced this issue Oct 30, 2023
FullteaR pushed a commit to FullteaR/cpython that referenced this issue Nov 3, 2023
@rghe rghe closed this as completed Nov 5, 2023
aisk pushed a commit to aisk/cpython that referenced this issue Feb 11, 2024
Glyphack pushed a commit to Glyphack/cpython that referenced this issue Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs) type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants