Skip to content

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

Closed
@rghe

Description

@rghe

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    interpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions