]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45020: Default to using frozen modules unless running from source tree. (gh-28940)
authorEric Snow <ericsnowcurrently@gmail.com>
Sat, 16 Oct 2021 19:16:08 +0000 (13:16 -0600)
committerGitHub <noreply@github.com>
Sat, 16 Oct 2021 19:16:08 +0000 (13:16 -0600)
commitb9cdd0fb9c463c2503a4d854bb6529a9db58fe1b
treec6ce34fda3658787cefa1b0c88721216637ba657
parentfe0d9e22a52a10c4cbe52254b51f2d4e74d83568
bpo-45020: Default to using frozen modules unless running from source tree. (gh-28940)

The default was "off".  Switching it to "on" means users get the benefit of frozen stdlib modules without having to do anything.  There's a special-case for running-in-source-tree, so contributors don't get surprised when their stdlib changes don't get used.

https://bugs.python.org/issue45020
Doc/using/cmdline.rst
Include/internal/pycore_fileutils.h
Lib/site.py
Lib/test/test_embed.py
Misc/NEWS.d/3.11.0a1.rst
Python/fileutils.c
Python/initconfig.c