Skip to content

Disable PyREPL #25216

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 26, 2025
Merged

Disable PyREPL #25216

merged 3 commits into from
Jun 26, 2025

Conversation

anthonykim1
Copy link

@anthonykim1 anthonykim1 commented Jun 25, 2025

Resolves: #25164

We can enable shell integration again before python/cpython#126131
Since we are using PYTHON_BASIC_REPL there is no need to use bracketed paste mode to avoid indentation error prevalent on the PyREPL from cpython >= 3.13

When there is upstream fix in the future, we should start using bracketed paste mode again, and won't have to inject PYTHON_BASIC_REPL

@anthonykim1 anthonykim1 self-assigned this Jun 25, 2025
@anthonykim1 anthonykim1 added area-repl feature-request Request for new features or functionality labels Jun 25, 2025
@anthonykim1 anthonykim1 marked this pull request as draft June 25, 2025 23:21
@anthonykim1 anthonykim1 marked this pull request as ready for review June 26, 2025 16:17
@anthonykim1 anthonykim1 added this to the June 2025 milestone Jun 26, 2025
Copy link

⚠️ This PR originates from a fork. Due to security restrictions, pipelines from forks are no longer triggered automatically. Learn more.

If the changes appear safe, you can manually trigger the pipeline by commenting /AzurePipelines run.

@anthonykim1 anthonykim1 merged commit 01d872b into microsoft:main Jun 26, 2025
46 checks passed
@SZRabinowitz
Copy link

I just found this now, because I was (un)pleasantly surprised to find that I lost pyrepl. I liked it better than the regular repl.

While the indentation issue is annoying, if you want to paste text in the repl, you can press f3 (or ctrl f3 so vscode doesnt intercept it) and paste without any indentation issues.

Oh well. I guess it's not a big deal for me to run set PYTHON_BASIC_REPL= .
If anyone knows a solution to do it automatically I'd love that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-repl feature-request Request for new features or functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Disable PyREPL for >= 3.13
3 participants