Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@iBug
Copy link

@iBug iBug commented Oct 11, 2025

It seems readline is only imported if sys.platform != "win32", so this fix is applied on that condition too.

Context: microsoft/vscode#232420

@iBug
Copy link
Author

iBug commented Oct 30, 2025

@eleanorjboyd @anthonykim1 Any updates on this? It's a very simple fix and it's been hanging around for like 3 weeks.

@anthonykim1
Copy link

anthonykim1 commented Oct 31, 2025

Thanks for the PR!
Just tested this, seems to work on Mac.

@iBug
Copy link
Author

iBug commented Nov 1, 2025

@microsoft-github-policy-service agree

@LarsonPaul1
Copy link

The change to pythonrc.py fixes my issue #25502.

@anthonykim1 anthonykim1 self-assigned this Nov 7, 2025
@anthonykim1 anthonykim1 added bug Issue identified by VS Code Team member as probable bug area-repl labels Nov 7, 2025
@anthonykim1 anthonykim1 added this to the November 2025 milestone Nov 7, 2025
@anthonykim1 anthonykim1 merged commit 2ce21a0 into microsoft:main Nov 7, 2025
49 of 50 checks passed
@iBug iBug deleted the vscode-232420 branch November 7, 2025 08:26
ntrogh pushed a commit to microsoft/vscode-docs that referenced this pull request Dec 13, 2025
anthonykim1 added a commit that referenced this pull request Jan 5, 2026
During my debugging and implementation of #25521, I find a descriptive
`__repr__()` for the custom PS1 object very helpful, so this PR comes as
an addition for #25521.

---------

Co-authored-by: Anthony Kim <62267334+anthonykim1@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-repl bug Issue identified by VS Code Team member as probable bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.