We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dbb906 commit ac3065aCopy full SHA for ac3065a
Lib/_pyrepl/_module_completer.py
@@ -217,8 +217,10 @@ def global_cache(self) -> list[pkgutil.ModuleInfo]:
217
"""Global module cache"""
218
if not self._global_cache or self._curr_sys_path != sys.path:
219
self._curr_sys_path = sys.path[:]
220
- # print('getting packages')
+ print('getting packages') # TEMPORARY -- debugging tests on windows
221
self._global_cache = list(pkgutil.iter_modules())
222
+ mymods = [p for p in self._global_cache if p.name == "mymodule"] # TEMPORARY -- debugging tests on windows
223
+ print("modules:", mymods, list(self.iter_submodules(mymods))) # TEMPORARY -- debugging tests on windows
224
return self._global_cache
225
226
0 commit comments