Skip to content

Restart kernel on Python interactive window does not actually restart kernel #7081

@shaperilio

Description

@shaperilio

Issue Type: Bug

Start a simple Python file:

# %%
x = 5
# %%
x

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
Item Value
CPUs AMD Ryzen 9 5950X 16-Core Processor (32 x 3400)
GPU Status 2d_canvas: enabled
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
Load (avg) undefined
Memory (System) 63.92GB (52.79GB free)
Process Argv
Screen Reader no
VM 0%
A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
pythonvspyt602:30291494
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt639:30291487
pythontb:30258533
pythonptprofiler:30281269
vshan820:30294714
pythondataviewer:30285072
pythonvsuse255:30319630
vscod805:30301674
pythonvspyt200:30323110
vsccppwt:30312692
pythonvssor306:30340298
bridge0708:30335490
pygetstartedt2:30349639
dockerwalkthrucf:30348714
javagetstartedt:30350119

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions