diff options
author | Kai Zhang <kylerzhang11@gmail.com> | 2022-12-10 09:35:56 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-10 09:35:56 (GMT) |
commit | 228c92eb5c126130316a32b44a0ce8f28cc5d544 (patch) | |
tree | db40c687e70645cbe4d593b3705ddeca0f502692 /Programs | |
parent | 7c0fb71fbfa8682f56c15832e2c793a6180f2ec0 (diff) | |
download | cpython-228c92eb5c126130316a32b44a0ce8f28cc5d544.zip cpython-228c92eb5c126130316a32b44a0ce8f28cc5d544.tar.gz cpython-228c92eb5c126130316a32b44a0ce8f28cc5d544.tar.bz2 |
gh-99582: freeze `zipimport` into `_bootstrap_python` (#99583)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Diffstat (limited to 'Programs')
-rw-r--r-- | Programs/_bootstrap_python.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Programs/_bootstrap_python.c b/Programs/_bootstrap_python.c index 6e1593a..6c388fc 100644 --- a/Programs/_bootstrap_python.c +++ b/Programs/_bootstrap_python.c @@ -12,6 +12,7 @@ /* Includes for frozen modules: */ #include "Python/frozen_modules/importlib._bootstrap.h" #include "Python/frozen_modules/importlib._bootstrap_external.h" +#include "Python/frozen_modules/zipimport.h" /* End includes */ uint32_t _Py_next_func_version = 1; @@ -32,6 +33,7 @@ _Py_Deepfreeze_Fini(void) static const struct _frozen bootstrap_modules[] = { {"_frozen_importlib", _Py_M__importlib__bootstrap, (int)sizeof(_Py_M__importlib__bootstrap)}, {"_frozen_importlib_external", _Py_M__importlib__bootstrap_external, (int)sizeof(_Py_M__importlib__bootstrap_external)}, + {"zipimport", _Py_M__zipimport, (int)sizeof(_Py_M__zipimport)}, {0, 0, 0} /* bootstrap sentinel */ }; static const struct _frozen stdlib_modules[] = { |