GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — No completion after `import numpy.` (possibly related: `jedi.auto_import_modules`) · Issue #704 · python-lsp/python-lsp-server Open DescriptionWhat does not work This only happens to import numpy. # or import numpy.polynomial. # or from numpy. there will be no completions. Environment I have tried
All combinations above behaves the same: no completion. I added no user configurations to these setups. What I found There was a issue in jedi repo: davidhalter/jedi#2021.
So I tested In [6]: ...: jedi.settings.auto_import_modules = ["numpy"] In [7]: script = jedi.Script("from numpy import ") ...: print(f"{len(script.complete())=}") ...: ...: script = jedi.Script("import numpy.") ...: print(f"{len(script.complete())=}") len(script.complete())=534 len(script.complete())=0 In [8]: ...: jedi.settings.auto_import_modules = [] In [9]: script = jedi.Script("from numpy import ") ...: print(f"{len(script.complete())=}") ...: ...: script = jedi.Script("import numpy.") ...: print(f"{len(script.complete())=}") len(script.complete())=542 len(script.complete())=33 And I confirm setting the So, is the default value of ActivityMetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |