summaryrefslogtreecommitdiffstats
path: root/Python/frozen_modules/hello.h
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2021-08-30 23:25:11 (GMT)
committerGitHub <noreply@github.com>2021-08-30 23:25:11 (GMT)
commit044e8d866fdde3804bdb2282c7d23a8074de8f6f (patch)
treeed2fdeb3bacec221e5ee96ad3544667ab55d6376 /Python/frozen_modules/hello.h
parent5246dbc2a12bf8e64e18efee2fdce02a350bbf09 (diff)
downloadcpython-044e8d866fdde3804bdb2282c7d23a8074de8f6f.zip
cpython-044e8d866fdde3804bdb2282c7d23a8074de8f6f.tar.gz
cpython-044e8d866fdde3804bdb2282c7d23a8074de8f6f.tar.bz2
bpo-45019: Add a tool to generate list of modules to include for frozen modules (gh-27980)
Frozen modules must be added to several files in order to work properly. Before this change this had to be done manually. Here we add a tool to generate the relevant lines in those files instead. This helps us avoid mistakes and omissions. https://bugs.python.org/issue45019
Diffstat (limited to 'Python/frozen_modules/hello.h')
-rw-r--r--Python/frozen_modules/hello.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/Python/frozen_modules/hello.h b/Python/frozen_modules/hello.h
new file mode 100644
index 0000000..2658c05
--- /dev/null
+++ b/Python/frozen_modules/hello.h
@@ -0,0 +1,14 @@
+/* Auto-generated by Programs/_freeze_module.c */
+const unsigned char _Py_M__hello[] = {
+ 99,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,
+ 0,0,0,0,0,115,16,0,0,0,100,0,90,0,101,1,
+ 100,1,131,1,1,0,100,2,83,0,41,3,84,122,12,72,
+ 101,108,108,111,32,119,111,114,108,100,33,78,41,2,90,11,
+ 105,110,105,116,105,97,108,105,122,101,100,218,5,112,114,105,
+ 110,116,169,0,243,0,0,0,0,122,14,60,102,114,111,122,
+ 101,110,32,104,101,108,108,111,62,218,8,60,109,111,100,117,
+ 108,101,62,114,3,0,0,0,1,0,0,0,243,4,0,0,
+ 0,4,0,12,1,114,4,0,0,0,115,16,0,0,0,15,
+ 19,1,12,1,6,7,21,1,22,1,22,1,22,1,22,114,
+ 2,0,0,0,
+};