You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
Extension version (available under the Extensions sidebar): 2018.10.1
OS and version: Ubuntu 16.04
Python version (& distribution if applicable, e.g. Anaconda): Anaconda 3.6.6
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
Relevant/affected Python packages and their versions: N/A
Actual behavior
Expected behavior
Linter does not incorrectly mark variable as undeclared
Steps to reproduce:
See screenshot
Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
Starting Microsoft Python language server.
Microsoft Python Language Server version 0.1.60.0
Initializing for /home/matt/anaconda3/envs/learn/bin/python
Output from Console under the Developer Tools panel (toggle Developer Tools on under Help)
DonJayamanne
changed the title
Linter doesn't understand nested list comprehensions, incorrectly marks variables as undefined
Language Server incorrectly marks variables as undefined in nested list comprehensions
Nov 12, 2018
From @mawright on November 11, 2018 3:38
Environment data
Actual behavior
Expected behavior
Linter does not incorrectly mark variable as undeclared
Steps to reproduce:
Logs
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Output from
Console
under theDeveloper Tools
panel (toggle Developer Tools on underHelp
)Copied from original issue: microsoft/vscode-python#3297
The text was updated successfully, but these errors were encountered: