freeze_modules.py on windows hits command line limits when number of frozen modules grows #109515
Labels
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-bug
An unexpected behavior, bug, or error
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
The text was updated successfully, but these errors were encountered: