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

Changing kernels loses the __file__ value. #7941

Closed
rchiodo opened this issue Oct 15, 2021 · 2 comments
Closed

Changing kernels loses the __file__ value. #7941

rchiodo opened this issue Oct 15, 2021 · 2 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug notebook-kernel Kernels issues (start/restart/switch/execution, install ipykernel) verified Verification succeeded
Milestone

Comments

@rchiodo
Copy link
Contributor

rchiodo commented Oct 15, 2021

Open IW from a file.
Run some code
Change kernel
Run this:

print(__file__)

Expected, __file__ is defined.

@rchiodo rchiodo added the bug Issue identified by VS Code Team member as probable bug label Oct 15, 2021
@DonJayamanne DonJayamanne added the notebook-kernel Kernels issues (start/restart/switch/execution, install ipykernel) label Oct 15, 2021
@DonJayamanne DonJayamanne self-assigned this Oct 15, 2021
@DonJayamanne DonJayamanne added this to the October 2021 milestone Oct 15, 2021
@DonJayamanne
Copy link
Contributor

Should be easy to bring back.

@IanMatthewHuff
Copy link
Member

Verified:
image

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug notebook-kernel Kernels issues (start/restart/switch/execution, install ipykernel) verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

3 participants