Python language server didn't work properly when editing '__init__.py' #4226
Labels
area-intellisense
LSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc.
bug
Issue identified by VS Code Team member as probable bug
Uh oh!
There was an error while loading. Please reload this page.
Issue Type: Bug
Python language server raised an exception and caused problems when handling this
import (modules),(),
After double-checking on my Windows, I am sure this is because of the extra comma in the import expression in
__init__.py
,Using Anaconda distribution. Have not tried to reproduce on other OS.
Environment data
Actual behaviour
Cannot access origin libraries by Ctrl+(Modules), and the exceptions below.
It acts like this
Expected behaviour
Access origin libraries by Ctrl+(Modules)
and no Exceptions
Logs
Extension version: 2019.1.0
VS Code version: Code 1.30.2 (61122f88f0bf01e2ac16bdb9e1bc4571755f5bd8, 2019-01-07T22:54:13.295Z)
OS version: Windows_NT x64 10.0.18323
System Info
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: enabled
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
The text was updated successfully, but these errors were encountered: