8000 gh-111374: Add a new PYTHON_FROZEN_MODULES env var, equivalent of `-X frozen_modules`. by yilei · Pull Request #111411 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-111374: Add a new PYTHON_FROZEN_MODULES env var, equivalent of -X frozen_modules. #111411

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

Merged
merged 13 commits into from
Nov 1, 2023
Merged
Prev Previous commit
Next Next commit
Remove this test, it will use the default so it depends on how Python…
… is built.
  • Loading branch information
yilei committed Oct 27, 2023
commit 1d23236be45a4832de4267f5598bc75a451030c1
1 change: 0 additions & 1 deletion Lib/test/test_cmd_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ def test_env_var_frozen_modules(self):
tests = {
('on', 'FrozenImporter'),
('off', 'SourceFileLoader'),
('', 'SourceFileLoader'),
}
for raw, expected in tests:
cmd = ['-c', 'import os; print(os.__spec__.loader, end="")']
Expand Down
0