Skip to content

Commit ce124b1

Browse files
committed
[TEMP] Moar logs
1 parent 75a33da commit ce124b1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Lib/_pyrepl/_module_completer.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,11 +217,13 @@ def global_cache(self) -> list[pkgutil.ModuleInfo]:
217217
"""Global module cache"""
218218
if not self._global_cache or self._curr_sys_path != sys.path:
219219
self._curr_sys_path = sys.path[:]
220-
print('getting packages') # TEMPORARY -- debugging tests on windows
220+
print('getting packages/') # TEMPORARY -- debugging tests on windows
221221
self._global_cache = list(pkgutil.iter_modules())
222222
# === BEGIN TEMPORARY -- debugging tests on windows ===
223+
print(f"\n\n{self._global_cache=}\n\n")
223224
mymod = next((p for p in self._global_cache if p.name == "mymodule"), None)
224225
if mymod:
226+
print("0a", mymod)
225227
spec = mymod.module_finder.find_spec(mymod.name, None)
226228
if spec:
227229
print("1")

0 commit comments

Comments
 (0)