Skip to content

PYTHON_BASIC_REPL in integrated terminal interacts poorl with Python 3.14 REPL #25537

@jburgy

Description

@jburgy

Type: Bug

Behaviour

PYTHON_BASIC_REPL=1 interacts poorly with the python 3.14 repl. Unsetting that variable surfaces a different issue which requires unsetting PYTHONSTARTUP as well.

Steps to reproduce:

  1. uv run --python 3.14 python

Diagnostic data

Output of uv run --python 3.14 python in the Terminal panel

Python 3.14.0rc2 (main, Aug 28 2025, 17:07:51) [Clang 20.1.4 ] on linux
Type "help", "copyright", "credits" or "license" for more information.
Ctrl click to launch VS Code Native REPL
]633;C]633;E;None]633;D;0]633;A>>> ]633;B

Output of PYTHON_BASIC_REPL= uv run --python 3.14 python in the Terminal panel

Python 3.14.0rc2 (main, Aug 28 2025, 17:07:51) [Clang 20.1.4 ] on linux
Type "help", "copyright", "credits" or "license" for more information.
Ctrl click to launch VS Code Native REPL
>>> 

(note that the even though the cursor is reported on "Col 2", it appears under the "r" of "for more information")

Extension version: 2025.16.0
VS Code version: Code 1.105.0 (03c265b1adee71ac88f833e065f7bb956b60550a, 2025-10-08T14:09:35.891Z)
OS version: Linux x64 6.14.0-33-generic snap
Modes:

  • Python version (& distribution if applicable, e.g. Anaconda): 3.12.3
  • Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Venv
  • Value of the python.languageServer setting: Default
User Settings

Multiroot scenario, following user settings may not apply:

languageServer: "Pylance"

terminal
• activateEnvironment: false

Installed Extensions
Extension Name Extension Id Version
copilot Git 1.372.0
copilot-chat Git 0.32.3
debugpy ms- 2025.14.1
js-debug ms- 1.105.0
js-debug-companion ms- 1.1.3
python ms- 2025.16.0
ruff cha 2025.28.0
vscode-github-actions git 0.28.0
vscode-js-profile-table ms- 1.0.10
vscode-pylance ms- 2025.8.3
vscode-python-envs ms- 1.10.0
vscode-zig zig 0.6.14
System Info
Item Value
CPUs Intel(R) Core(TM) i3-N305 (8 x 2977)
GPU Status 2d_canvas: unavailable_software
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: disabled_software
multiple_raster_threads: enabled_on
opengl: disabled_off
rasterization: disabled_software
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: disabled_software
video_encode: disabled_software
vulkan: disabled_off
webgl: unavailable_software
webgl2: unavailable_software
webgpu: disabled_off
webnn: unavailable_software
Load (avg) 1, 1, 2
Memory (System) 31.09GB (18.37GB free)
Process Argv --no-sandbox --force-user-env --crash-reporter-id 802f0f07-1840-4364-a856-ee373c0d893f
Screen Reader no
VM 0%
DESKTOP_SESSION ubuntu
XDG_CURRENT_DESKTOP Unity
XDG_SESSION_DESKTOP ubuntu
XDG_SESSION_TYPE wayland
A/B Experiments
vsliv368:30146709
binariesv615:30325510
nes-only-control-a100-test:31399365
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
aj953862:31281341
nes-set-on:31340697
onetestforazureexpcf:31335614
6abeh943:31336334
aa_t:31379598
gendocstringt:31405074
gaj49834:31404438
cloudbuttont:31379625
todos-1:31405332
qwen_all_req:31402696
treatment_gpt5applypatchexclusively:31398171
42190218_ostrepl:31403339
46f5c265:31402810
trigger-command-fix:31379601
auto_model_enabled:31385282
use-responses-api:31390855
defaultsignin:31399436
defaultusage:31403421
auto_g2946222:31402681
nes-subseq-delay-300:31400952
je187915:31401254
3i15c187:31405349

Metadata

Metadata

Assignees

No one assigned

    Labels

    triage-neededNeeds assignment to the proper sub-team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions