Skip to content

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

Description

@enaielei

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

Activity

  1. ZeroIntensity commented on Mar 25, 2025

    @ZeroIntensity
    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.

  2. added
    type-featureA feature request or enhancement
    topic-replRelated to the interactive shell
    and removed
    type-bugAn unexpected behavior, bug, or error
    on Mar 25, 2025
  3. added
    stdlibStandard Library Python modules in the Lib/ directory
    on Mar 25, 2025
  4. terryjreedy commented on Mar 25, 2025

    @terryjreedy
    Member

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytopic-replRelated to the interactive shelltype-featureA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions