@@ -101,46 +101,46 @@ extern PyObject *_Py_get_frozen_only_toplevel(void);
101
101
/* End extern declarations */
102
102
103
103
static const struct _frozen bootstrap_modules [] = {
104
- {"_frozen_importlib" , _Py_M__importlib__bootstrap , (int )sizeof (_Py_M__importlib__bootstrap ), false, GET_CODE ( importlib__bootstrap ) },
105
- {"_frozen_importlib_external" , _Py_M__importlib__bootstrap_external , (int )sizeof (_Py_M__importlib__bootstrap_external ), false, GET_CODE ( importlib__bootstrap_external ) },
106
- {"zipimport" , _Py_M__zipimport , (int )sizeof (_Py_M__zipimport ), false, GET_CODE ( zipimport ) },
104
+ {"_frozen_importlib" , _Py_M__importlib__bootstrap , (int )sizeof (_Py_M__importlib__bootstrap ), false},
105
+ {"_frozen_importlib_external" , _Py_M__importlib__bootstrap_external , (int )sizeof (_Py_M__importlib__bootstrap_external ), false},
106
+ {"zipimport" , _Py_M__zipimport , (int )sizeof (_Py_M__zipimport ), false},
107
107
{0 , 0 , 0 } /* bootstrap sentinel */
108
108
};
109
109
static const struct _frozen stdlib_modules [] = {
110
110
/* stdlib - startup, without site (python -S) */
111
- {"abc" , _Py_M__abc , (int )sizeof (_Py_M__abc ), false, GET_CODE ( abc ) },
112
- {"codecs" , _Py_M__codecs , (int )sizeof (_Py_M__codecs ), false, GET_CODE ( codecs ) },
113
- {"io" , _Py_M__io , (int )sizeof (_Py_M__io ), false, GET_CODE ( io ) },
111
+ {"abc" , _Py_M__abc , (int )sizeof (_Py_M__abc ), false},
112
+ {"codecs" , _Py_M__codecs , (int )sizeof (_Py_M__codecs ), false},
113
+ {"io" , _Py_M__io , (int )sizeof (_Py_M__io ), false},
114
114
115
115
/* stdlib - startup, with site */
116
- {"_collections_abc" , _Py_M___collections_abc , (int )sizeof (_Py_M___collections_abc ), false, GET_CODE ( _collections_abc ) },
117
- {"_sitebuiltins" , _Py_M___sitebuiltins , (int )sizeof (_Py_M___sitebuiltins ), false, GET_CODE ( _sitebuiltins ) },
118
- {"genericpath" , _Py_M__genericpath , (int )sizeof (_Py_M__genericpath ), false, GET_CODE ( genericpath ) },
119
- {"ntpath" , _Py_M__ntpath , (int )sizeof (_Py_M__ntpath ), false, GET_CODE ( ntpath ) },
120
- {"posixpath" , _Py_M__posixpath , (int )sizeof (_Py_M__posixpath ), false, GET_CODE ( posixpath ) },
121
- {"os.path" , _Py_M__posixpath , (int )sizeof (_Py_M__posixpath ), false, GET_CODE ( posixpath ) },
122
- {"os" , _Py_M__os , (int )sizeof (_Py_M__os ), false, GET_CODE ( os ) },
123
- {"site" , _Py_M__site , (int )sizeof (_Py_M__site ), false, GET_CODE ( site ) },
124
- {"stat" , _Py_M__stat , (int )sizeof (_Py_M__stat ), false, GET_CODE ( stat ) },
116
+ {"_collections_abc" , _Py_M___collections_abc , (int )sizeof (_Py_M___collections_abc ), false},
117
+ {"_sitebuiltins" , _Py_M___sitebuiltins , (int )sizeof (_Py_M___sitebuiltins ), false},
118
+ {"genericpath" , _Py_M__genericpath , (int )sizeof (_Py_M__genericpath ), false},
119
+ {"ntpath" , _Py_M__ntpath , (int )sizeof (_Py_M__ntpath ), false},
120
+ {"posixpath" , _Py_M__posixpath , (int )sizeof (_Py_M__posixpath ), false},
121
+ {"os.path" , _Py_M__posixpath , (int )sizeof (_Py_M__posixpath ), false},
122
+ {"os" , _Py_M__os , (int )sizeof (_Py_M__os ), false},
123
+ {"site" , _Py_M__site , (int )sizeof (_Py_M__site ), false},
124
+ {"stat" , _Py_M__stat , (int )sizeof (_Py_M__stat ), false},
125
125
126
126
/* runpy - run module with -m */
127
- {"importlib.util" , _Py_M__importlib_util , (int )sizeof (_Py_M__importlib_util ), false, GET_CODE ( importlib_util ) },
128
- {"importlib.machinery" , _Py_M__importlib_machinery , (int )sizeof (_Py_M__importlib_machinery ), false, GET_CODE ( importlib_machinery ) },
129
- {"runpy" , _Py_M__runpy , (int )sizeof (_Py_M__runpy ), false, GET_CODE ( runpy ) },
127
+ {"importlib.util" , _Py_M__importlib_util , (int )sizeof (_Py_M__importlib_util ), false},
128
+ {"importlib.machinery" , _Py_M__importlib_machinery , (int )sizeof (_Py_M__importlib_machinery ), false},
129
+ {"runpy" , _Py_M__runpy , (int )sizeof (_Py_M__runpy ), false},
130
130
{0 , 0 , 0 } /* stdlib sentinel */
131
131
};
132
132
static const struct _frozen test_modules [] = {
133
- {"__hello__" , _Py_M____hello__ , (int )sizeof (_Py_M____hello__ ), false, GET_CODE ( __hello__ ) },
134
- {"__hello_alias__" , _Py_M____hello__ , (int )sizeof (_Py_M____hello__ ), false, GET_CODE ( __hello__ ) },
135
- {"__phello_alias__" , _Py_M____hello__ , (int )sizeof (_Py_M____hello__ ), true, GET_CODE ( __hello__ ) },
136
- {"__phello_alias__.spam" , _Py_M____hello__ , (int )sizeof (_Py_M____hello__ ), false, GET_CODE ( __hello__ ) },
137
- {"__phello__" , _Py_M____phello__ , (int )sizeof (_Py_M____phello__ ), true, GET_CODE ( __phello__ ) },
138
- {"__phello__.__init__" , _Py_M____phello__ , (int )sizeof (_Py_M____phello__ ), false, GET_CODE ( __phello__ ) },
139
- {"__phello__.ham" , _Py_M____phello___ham , (int )sizeof (_Py_M____phello___ham ), true, GET_CODE ( __phello___ham ) },
140
- {"__phello__.ham.__init__" , _Py_M____phello___ham , (int )sizeof (_Py_M____phello___ham ), false, GET_CODE ( __phello___ham ) },
141
- {"__phello__.ham.eggs" , _Py_M____phello___ham_eggs , (int )sizeof (_Py_M____phello___ham_eggs ), false, GET_CODE ( __phello___ham_eggs ) },
142
- {"__phello__.spam" , _Py_M____phello___spam , (int )sizeof (_Py_M____phello___spam ), false, GET_CODE ( __phello___spam ) },
143
- {"__hello_only__" , _Py_M__frozen_only , (int )sizeof (_Py_M__frozen_only ), false, GET_CODE ( frozen_only ) },
133
+ {"__hello__" , _Py_M____hello__ , (int )sizeof (_Py_M____hello__ ), false},
134
+ {"__hello_alias__" , _Py_M____hello__ , (int )sizeof (_Py_M____hello__ ), false},
135
+ {"__phello_alias__" , _Py_M____hello__ , (int )sizeof (_Py_M____hello__ ), true},
136
+ {"__phello_alias__.spam" , _Py_M____hello__ , (int )sizeof (_Py_M____hello__ ), false},
137
+ {"__phello__" , _Py_M____phello__ , (int )sizeof (_Py_M____phello__ ), true},
138
+ {"__phello__.__init__" , _Py_M____phello__ , (int )sizeof (_Py_M____phello__ ), false},
139
+ {"__phello__.ham" , _Py_M____phello___ham , (int )sizeof (_Py_M____phello___ham ), true},
140
+ {"__phello__.ham.__init__" , _Py_M____phello___ham , (int )sizeof (_Py_M____phello___ham ), false},
141
+ {"__phello__.ham.eggs" , _Py_M____phello___ham_eggs , (int )sizeof (_Py_M____phello___ham_eggs ), false},
142
+ {"__phello__.spam" , _Py_M____phello___spam , (int )sizeof (_Py_M____phello___spam ), false},
143
+ {"__hello_only__" , _Py_M__frozen_only , (int )sizeof (_Py_M__frozen_only ), false},
144
144
{0 , 0 , 0 } /* test sentinel */
145
145
};
146
146
const struct _frozen * _PyImport_FrozenBootstrap = bootstrap_modules ;
0 commit comments