python-language-server icon indicating copy to clipboard operation
python-language-server copied to clipboard

Incorrect import errors reported when Jedi disabled.

Open marknelson opened this issue 5 years ago • 0 comments

Due to completion.py stuck in endless loop @ 100% CPU I have disabled jedi Intellisense.

It appears that this breaks linting.

Environment data

  • Version: 1.45.1
  • Python extension: 2020.5.80290
  • macOS 10.15.5
  • Python version 2.716
  • Type of virtual environment used virtualenv: 20.0.21
  • Relevant/affected Python packages and their versions: XXX
  • Relevant/affected Python-related VS Code extensions and their versions: XXX
  • Jedi or Language Server? (i.e. what is "python.jediEnabled" set to; more info microsoft/vscode-python#3977): Language server
  • Value of the python.languageServer setting: 20.0.21

Expected behaviour

After saving file, no problems reported in the Problems tab.

Actual behaviour

One of these for every import:

unresolved import 'argparse'

Steps to reproduce:

Hello world will do it.

Logs

Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

XXX

Output from Console under the Developer Tools

Nothing.

marknelson avatar Jun 02 '20 15:06 marknelson