Skip to content

Ctrl + Left/Right Arrow Key not working properly inside Python Interpreter #131700

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

Closed
enaielei opened this issue Mar 24, 2025 · 2 comments
Closed
Labels
stdlib Python modules in the Lib dir topic-repl Related to the interactive shell type-feature A feature request or enhancement

Comments

@enaielei
Copy link

enaielei commented Mar 24, 2025

Bug report

Bug description:

I'm looking for the Python repository, but all I see is this repo. So forgive me if I posted this on the wrong repo.

I've opened this issue on StackOverflow : https://stackoverflow.com/q/79531632/14733693

Basically, Ctrl + Left/Right Arrow Key is not working properly inside Python Interpreter. I shared a video demonstrating that on the StackOverflow thread.

Downgrading from 3.13.2 to 3.12.9 seems to have fixed the issue.

CPython versions tested on:

3.13

Operating systems tested on:

Windows

@enaielei enaielei added the type-bug An unexpected behavior, bug, or error label Mar 24, 2025
@ZeroIntensity
Copy link
Member

So forgive me if I posted this on the wrong repo.

No worries, you're in the right place.

This is because we completely reworked the REPL in 3.13 (see PEP-762), so some behavior might not have been carried over. I'm not aware of any prior discussion on this, so it might be worth adding this hotkey (as a feature), depending on how easy it is to implement.

@ZeroIntensity ZeroIntensity added type-feature A feature request or enhancement topic-repl Related to the interactive shell and removed type-bug An unexpected behavior, bug, or error labels Mar 25, 2025
@picnixz picnixz added the stdlib Python modules in the Lib dir label Mar 25, 2025
@terryjreedy
Copy link
Member

terryjreedy commented Mar 25, 2025

This should be fixed in current 3.14.0a6 (10 days ago) and future 3.13.3 (in April?) (already merged, backported, and issue closed).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stdlib Python modules in the Lib dir topic-repl Related to the interactive shell type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

4 participants