mirror of
https://github.com/python/cpython
synced 2024-09-16 02:40:00 +00:00
cbeb819710
Doing this provides significant performance gains for runtime startup (~15% with all the imported modules frozen). We don't yet freeze all the imported modules because there are a few hiccups in the build systems we need to sort out first. (See bpo-45186 and bpo-45188.) Note that in PR GH-28320 we added a command-line flag (-X frozen_modules=[on|off]) that allows users to opt out of (or into) using frozen modules. The default is still "off" but we will change it to "on" as soon as we can do it in a way that does not cause contributors pain. https://bugs.python.org/issue45020 |
||
---|---|---|
.. | ||
_collections_abc.h | ||
_sitebuiltins.h | ||
abc.h | ||
genericpath.h | ||
hello.h | ||
importlib__bootstrap.h | ||
importlib__bootstrap_external.h | ||
io.h | ||
MANIFEST | ||
ntpath.h | ||
posixpath.h | ||
README.txt | ||
stat.h | ||
zipimport.h |
This directory contains the generated .h files for all the frozen modules. Python/frozen.c depends on these files. Note that, other than the required frozen modules, none of these files are committed into the repo. See Tools/scripts/freeze_modules.py for more info.