bpo-45019: Do some cleanup related to frozen modules. (gh-28319)

There are a few things I missed in gh-27980. This is a follow-up that will make subsequent PRs cleaner. It includes fixes to tests and tools that reference the frozen modules.

https://bugs.python.org/issue45019
This commit is contained in:
Eric Snow 2021-09-13 16:18:37 -06:00 committed by GitHub
parent 1fc41ae870
commit a2d8c4b81b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 342 additions and 140 deletions

12
Python/frozen_modules/MANIFEST generated Normal file
View file

@ -0,0 +1,12 @@
# The list of frozen modules with key information.
# Note that the "check_generated_files" CI job will identify
# when source files were changed but regen-frozen wasn't run.
# This file is auto-generated by Tools/scripts/freeze_modules.py.
module ispkg source frozen checksum
-------------------------- ----- ------------------------------- ------------------------------- ------------
_frozen_importlib no <importlib._bootstrap> importlib__bootstrap.h 749d553f858d
_frozen_importlib_external no <importlib._bootstrap_external> importlib__bootstrap_external.h e4539e6347d7
zipimport no <zipimport> zipimport.h 374879e5d43d
__hello__ no Tools/freeze/flag.py hello.h af6fb665713f
__phello__ YES Tools/freeze/flag.py hello.h af6fb665713f
__phello__.spam no Tools/freeze/flag.py hello.h af6fb665713f

View file

@ -0,0 +1,7 @@
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.