Repository navigation
Open
Labels
triage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team
Description
Type: Bug
Behaviour
when using boolean the if statement doesnt recognize the list class, but when you use the type function it gives us class 'list'
XXX
Steps to reproduce:
- XXX
run this code
a=[1,2,3]
if a is list:
print("its a list")
else:
print("not a list")
print(type(a))
Diagnostic data
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
XXX
Extension version: 2026.11.2026110601
VS Code version: Code 1.101.2 (2901c5ac6db8a986a5666c3af51ff804d05af0d4, 2025-06-24T20:27:15.391Z)
OS version: Windows_NT x64 10.0.19045
Modes:
- Python version (& distribution if applicable, e.g. Anaconda): 3.13.5
- Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): System
- Value of the
python.languageServersetting: Default
User Settings
languageServer: "Jedi"
Installed Extensions
| Extension Name | Extension Id | Version |
|---|---|---|
| debugpy | ms- | 2026.6.0 |
| js-debug | ms- | 1.100.1 |
| js-debug-companion | ms- | 1.1.3 |
| LiveServer | rit | 5.7.10 |
| prettyprintcode | Vik | 0.2.2 |
| python | ms- | 2026.10.0 |
| sqlite-table-viewer | zov | 0.4.17 |
| vscode-js-profile-table | ms- | 1.0.10 |
System Info
| Item | Value |
|---|---|
| CPUs | Intel(R) Core(TM) i5-7300U CPU @ 2.60GHz (4 x 2712) |
| GPU Status | 2d_canvas: enabled canvas_oop_rasterization: enabled_on direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_graphite: disabled_off video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off |
| Load (avg) | undefined |
| Memory (System) | 15.84GB (4.98GB free) |
| Process Argv | C:\Users\dark\Desktop\projects\main.py --crash-reporter-id 3a960083-aaeb-4401-8627-fbbc7a1f68d4 |
| Screen Reader | no |
| VM | 0% |
A/B Experiments
vsliv368:30146709
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
4f60g487:31327383
envsactivate1:31551504
cloudbuttont:31379625
3efgi100_wstrepl:31403338
839jf696:31457053
ec5jj548:31422691
cp_cls_t_966_ss:31526232
cp_cls_c_1081:31454833
conptydll_true:31498968
nes-set-to-on:31463705
e9c30283:31461165
chat:31457767
cp_cls_t_1082:31535311
jb_cp_cls_t_632:31543129
ha629193:31508444
jbcp_cls_pctr_t:31531130
cp_intellij_t_nes:31548657
ihg5j128:31534457
1h923230:31564177
treatment-23-1:31555779
unuse_dynamic_mcp:31555281
mangle-name-treatment:31572634
atk_rai_validation_enable:31616613
intellij_nes_preview_t:31580086
usage_tips_endabled_0911:31587631
9b7i0944:31600022
ensemble_enabled:31617485
Metadata
Metadata
Assignees
Labels
triage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team
Activity
voidandchaos commentedon Nov 21, 2026
hh.py