aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorKumar Aditya <rahuladitya303@gmail.com>2021-12-09 22:21:09 +0530
committerGitHub <noreply@github.com>2021-12-09 08:51:09 -0800
commit44b0e76f2a80c9a78242b7542b8b1218d244af07 (patch)
tree5a1cde546959ae56e02b26d791310d2b2cc80aa5 /Tools
parentdc4a212bd305831cb4b187a2e0cc82666fcb15ca (diff)
downloadcpython3-44b0e76f2a80c9a78242b7542b8b1218d244af07.tar.gz
bpo-45654: Freeze the runpy module and stuff it imports (GH-29903)
Diffstat (limited to 'Tools')
-rw-r--r--Tools/scripts/freeze_modules.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tools/scripts/freeze_modules.py b/Tools/scripts/freeze_modules.py
index 363a2e66be..b0c953159d 100644
--- a/Tools/scripts/freeze_modules.py
+++ b/Tools/scripts/freeze_modules.py
@@ -68,6 +68,12 @@ FROZEN = [
'site',
'stat',
]),
+ ('runpy - run module with -m', [
+ "types",
+ "importlib.util",
+ "importlib.machinery",
+ "runpy"
+ ]),
(TESTS_SECTION, [
'__hello__',
'__hello__ : __hello_alias__',