]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45696: Deep-freeze selected modules (GH-29118)
authorGuido van Rossum <guido@python.org>
Thu, 11 Nov 2021 02:01:53 +0000 (18:01 -0800)
committerGitHub <noreply@github.com>
Thu, 11 Nov 2021 02:01:53 +0000 (18:01 -0800)
commit1cbaa505d007e11c4a1f0d2073d72b6c02c7147c
tree671391d64df20ebcf2960fae83030e61f5527aa3
parentfc9b62281931da8d20f85d5ed44cfc24f068d3f4
bpo-45696: Deep-freeze selected modules (GH-29118)

This gains 10% or more in startup time for `python -c pass` on UNIX-ish systems.

The Makefile.pre.in generating code builds on Eric's work for bpo-45020, but the .c file generator is new.

Windows version TBD.
16 files changed:
.gitattributes
.gitignore
Doc/library/ctypes.rst
Include/cpython/import.h
Lib/ctypes/test/test_values.py
Makefile.pre.in
Misc/NEWS.d/next/Build/2021-11-03-00-19-50.bpo-45696.eKs46f.rst [new file with mode: 0644]
Python/bootstrap_frozen.c [new file with mode: 0644]
Python/deepfreeze/README.txt [new file with mode: 0644]
Python/frozen.c
Python/import.c
Tools/freeze/test/freeze.py
Tools/scripts/deepfreeze.py [new file with mode: 0644]
Tools/scripts/freeze_modules.py
configure
configure.ac