-
Notifications
You must be signed in to change notification settings - Fork 298
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
Restart kernel on Python interactive window does not actually restart kernel #7081
Comments
(Experimental duplicate detection) |
Thanks for the bug. Seems to be intermittent. I can get it to repro from a python file, but if I give focus to the IW, the restart sometimes works. |
@shaperilio How are you invoking the command to restart a kernel? This is possibly a duplicate of #6996 |
@joyceerhl I'm hitting the "restart" button in the top toolbar: For me, it happens every time with (so far) every interactive window opened for each Python file |
Never mind, this is the same problem as #6983. vscode-jupyter/src/client/datascience/jupyter/kernels/kernelExecution.ts Lines 132 to 135 in f5c8929
This will be properly addressed by #7067 but that's too risky to release in a recovery build; in the meantime I'll submit a hotfix in the style of #7070. Sorry for the trouble. |
No trouble at all, thanks for working on it! |
Oh and as a temporary workaround you can configure |
Right; seems that VSCode needs to be restarted for that setting to take effect (but there's no warning as such). |
Fix should go out in the next recovery build #7084 |
Issue Type: Bug
Start a simple Python file:
Shift+Enter on both blocks. Now Restart the kernel, and Shift+Enter second block - x is still defined (it should not be).
Extension version: 2021.8.2025984474
VS Code version: Code - Insiders 1.60.0-insider (7c25c174726ab969db3f99058cdf24bcfae1cfbe, 2021-08-11T05:15:24.598Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No
System Info
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
A/B Experiments
The text was updated successfully, but these errors were encountered: