Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Underscore in interactive windows reported as "not defined" #4731

Closed
hmijail opened this issue Aug 18, 2023 · 2 comments
Closed

Underscore in interactive windows reported as "not defined" #4731

hmijail opened this issue Aug 18, 2023 · 2 comments
Assignees
Labels
needs repro Issue has not been reproduced yet

Comments

@hmijail
Copy link

hmijail commented Aug 18, 2023

Environment data

  • Language Server version: v2023.8.30 (in Pylance extension)
  • OS and version: macOS Ventura 13.5
  • Python version (& distribution if applicable, e.g. Anaconda): python 3.11.4 (brew)

Code Snippet

image

This happens both in interactive windows and notebook windows, and with all of "_", "__", "_1", etc.

Expected behavior

"_" and friends work as expected in interactive windows, so Pylance shouldn't complain that they are not defined.

@github-actions github-actions bot added the needs repro Issue has not been reproduced yet label Aug 18, 2023
@debonte
Copy link
Contributor

debonte commented Aug 18, 2023

@debonte
Copy link
Contributor

debonte commented Aug 18, 2023

Moving this issue to discussion as an enhancement request for comments and upvotes.

@microsoft microsoft locked and limited conversation to collaborators Aug 18, 2023
@debonte debonte converted this issue into discussion #4732 Aug 18, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
needs repro Issue has not been reproduced yet
Projects
None yet
Development

No branches or pull requests

3 participants