New submission from Eric Snow <ericsnowcurren...@gmail.com>:
In Programs/_test_embed.c the "list_frozen" command prints out the name of each frozen module (defined in Python/frozen.c). The only place this is used is in Tools/scripts/generate_stdlib_module_names.py (in list_frozen()). That script can be updated to call imp._get_frozen_module_names(), which was added in PR GH-28319 for bpo-45019. Then _test_embed can go back to being used strictly for tests. (FWIW, the script could also read from Python/frozen_modules/MANIFEST after running "make regen-frozen". That file was added in GH-27980). ---------- components: Demos and Tools messages: 401741 nosy: eric.snow, vstinner priority: normal severity: normal stage: needs patch status: open title: Drop the "list_frozen" command from _test_embed. versions: Python 3.11 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45189> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com