diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2021-09-17 22:31:31 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-17 22:31:31 (GMT) |
commit | 090591636c4f03ce06a039079bd7716a5b23631e (patch) | |
tree | 09de3850118af9103e697ad3f2eb514e0b4fb2a4 /Tools/scripts | |
parent | 74cc2453ae690be940cddfae8caf8216d8628c4a (diff) | |
download | cpython-090591636c4f03ce06a039079bd7716a5b23631e.zip cpython-090591636c4f03ce06a039079bd7716a5b23631e.tar.gz cpython-090591636c4f03ce06a039079bd7716a5b23631e.tar.bz2 |
bpo-45020: Freeze os, site, and codecs. (gh-28398)
https://bugs.python.org/issue45020
Diffstat (limited to 'Tools/scripts')
-rw-r--r-- | Tools/scripts/freeze_modules.py | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/Tools/scripts/freeze_modules.py b/Tools/scripts/freeze_modules.py index bfbea5d..b3ae5c7 100644 --- a/Tools/scripts/freeze_modules.py +++ b/Tools/scripts/freeze_modules.py @@ -66,16 +66,16 @@ FROZEN = [ # on a builtin zip file instead of a filesystem. 'zipimport', ]), - ('stdlib', [ - # For the moment we skip codecs, encodings.*, os, and site. - # These modules have different generated files depending on - # if a debug or non-debug build. (See bpo-45186 and bpo-45188.) - # without site (python -S) + ('stdlib - startup, without site (python -S)', [ 'abc', - #'codecs', - # '<encodings.*>', + 'codecs', + # For now we do not freeze the encodings, due # to the noise all + # those extra modules add to the text printed during the build. + # (See https://github.com/python/cpython/pull/28398#pullrequestreview-756856469.) + #'<encodings.*>', 'io', - # with site + ]), + ('stdlib - startup, with site', [ '_collections_abc', '_sitebuiltins', 'genericpath', @@ -83,9 +83,9 @@ FROZEN = [ 'posixpath', # We must explicitly mark os.path as a frozen module # even though it will never be imported. - #f'{OS_PATH} : os.path', - #'os', - #'site', + f'{OS_PATH} : os.path', + 'os', + 'site', 'stat', ]), ('Test module', [ |