File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -308,8 +308,6 @@ struct _import_runtime_state {
308308 Modules are added there and looked up in _imp.find_extension(). */
309309 struct _Py_hashtable_t * hashtable ;
310310 } extensions ;
311- /* Package context -- the full module name for package imports */
312- const char * pkgcontext ;
313311};
314312
315313struct _import_state {
Original file line number Diff line number Diff line change @@ -81,8 +81,6 @@ static struct _inittab *inittab_copy = NULL;
8181#define LAST_MODULE_INDEX _PyRuntime.imports.last_module_index
8282#define EXTENSIONS _PyRuntime.imports.extensions
8383
84- #define PKGCONTEXT (_PyRuntime.imports.pkgcontext)
85-
8684
8785/*******************************/
8886/* interpreter import state */
@@ -883,7 +881,6 @@ _PyImport_ClearModulesByIndex(PyInterpreterState *interp)
883881*/
884882
885883static _Py_thread_local const char * pkgcontext = NULL ;
886- # undef PKGCONTEXT
887884# define PKGCONTEXT pkgcontext
888885
889886const char *
You can’t perform that action at this time.
0 commit comments