10000 bpo-45020: Default to using frozen modules unless running from source tree. by ericsnowcurrently · Pull Request #28940 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-45020: Default to using frozen modules unless running from source tree. #28940

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
Prev Previous commit
Fix test_embed when "python3" isn't on $PATH.
  • Loading branch information
ericsnowcurrently committed Oct 16, 2021
commit f1d38785b2b15168bcbcd25819fa9e2d66189354
2 changes: 2 additions & 0 deletions Lib/test/test_embed.py
Original file line number Diff line number Diff line change
Expand Up @@ -1268,6 +1268,8 @@ def test_init_setpythonhome(self):
'stdlib_dir': stdlib,
}
self.default_program_name(config)
if not config['executable']:
config['use_frozen_modules'] = -1
env = {'TESTHOME': home, 'PYTHONPATH': paths_str}
self.check_all_configs("test_init_setpythonhome", config,
api=API_COMPAT, env=env)
Expand Down
0