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 919cdfd commit a015a7cCopy full SHA for a015a7c
bpython/importcompletion.py
@@ -201,14 +201,13 @@ def find_all_modules(path=None):
201
if done:
202
print("path2:", path)
203
for p in path:
204
- if done:
205
- print("p:", p)
206
if not p:
207
p = os.curdir
208
for module in find_modules(p):
+ module = try_decode(module, "ascii")
+ if module is None or "numpy" in module:
209
+ continue
210
modules.add(module)
211
- print("Yes:", module)
212
yield
213
214
0 commit comments