Skip to content

Properly differentiate Windows, Linux, and WSL in pythonrc.py script #23829

@vladjohnson

Description

@vladjohnson

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: Version: 1.91.0 (system setup)
  • OS Version: Windows_NT x64 10.0.19045

Hi there, I am having issues with VS Code custom sequences making their way into the Python shell. For instance: ]633;E;quit()]633;D;0]633;A>>> ]633;B]633;C. I've tried disabling the shell integration, but it does not work. Please help!
Screenshot 2024-07-16 171128

Steps to Reproduce:

  1. Open a .py file and run python file using the "Run Python File" button on the right upper corner.
  2. In the opened terminal, type python or python3.

Metadata

Metadata

Assignees

Labels

area-replarea-terminalbugIssue identified by VS Code Team member as probable bugverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions