Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support contextlib.suppress #598

Closed
yajo opened this issue Nov 11, 2020 · 3 comments
Closed

Support contextlib.suppress #598

yajo opened this issue Nov 11, 2020 · 3 comments
Assignees
Labels
duplicate This issue or pull request already exists

Comments

@yajo
Copy link

yajo commented Nov 11, 2020

Issue Type: Bug

This syntax highlighting is wrong because the code grayed out can actually be executed:

imagen

Extension version: 2020.10.332292344
VS Code version: Code 1.51.0 (fcac248b077b55bae4ba5bab613fd6e9156c2f0c, 2020-11-05T18:16:10.374Z)
OS version: Linux x64 5.8.18-300.fc33.x86_64

System Info
Item Value
CPUs Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 4000)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: disabled_software
skia_renderer: enabled_on
video_decode: unavailable_off
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) 2, 3, 3
Memory (System) 15.48GB (1.23GB free)
Process Argv --no-sandbox --unity-launch --crash-reporter-id abab7a42-9f41-495c-b7c0-99224e53627a
Screen Reader no
VM 0%
DESKTOP_SESSION gnome
XDG_CURRENT_DESKTOP GNOME
XDG_SESSION_DESKTOP gnome
XDG_SESSION_TYPE x11
@karthiknadig
Copy link
Member

@yajo Which language server are you using?

@karthiknadig karthiknadig self-assigned this Nov 11, 2020
@yajo
Copy link
Author

yajo commented Nov 11, 2020

pylance

@karthiknadig karthiknadig transferred this issue from microsoft/vscode-python Nov 11, 2020
@jakebailey
Copy link
Member

Duplicate of #494; please vote on that issue.

@jakebailey jakebailey added the duplicate This issue or pull request already exists label Nov 11, 2020
@github-actions github-actions bot removed the triage label Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants