GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ctrl-w deletes words with punctuation instead of whitespace boundary · Issue #146044 · python/cpython

ctrl-w deletes words with punctuation instead of whitespace boundary #146044

New issue
Copy link
New issue
Copy link
Open
#146174
Open
ctrl-w deletes words with punctuation instead of whitespace boundary#146044
#146174
Copy link
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-replRelated to the interactive shellRelated to the interactive shelltriagedThe issue has been accepted as valid by a triager.The issue has been accepted as valid by a triager.type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@injust
injust
opened on Mar 17, 2026
Issue body actions

Bug report

Bug description:

I am used to ctrl-w deleting entire words, using whitespace as the boundary. Based on https://github.com/python/cpython/blob/3.14/Lib/_pyrepl/reader.py#L81, I think the Python REPL is supposed to do that?

However, ctrl-w currently deletes words using punctuation+whitespace as the boundary.

CPython versions tested on:

3.14

Operating systems tested on:

macOS

Linked PRs

  • gh-146044: Fix ctrl-w (unix-word-rubout) to use whitespace word boundaries #146174

Activity

  1. injust
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    on Mar 17, 2026
  2. injust
    changed the title [-]ctrl-w deletes words delimited by punctuation instead of whitespace[/-] [+]ctrl-w deletes words with punctuation instead of whitespace boundary[/+] on Mar 17, 2026
  3. python
    deleted a comment from FocusMode-coder on Mar 17, 2026
  4. kimimgo
    added 2 commits that reference this issue on Mar 19, 2026

    Fix ctrl-w (unix-word-rubout) to use whitespace word boundaries (pyth…

    678eefd

    Add NEWS entry for pythongh-146044

    99023b2
  5. picnixz
    added
    stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory
    topic-replRelated to the interactive shellRelated to the interactive shell
    on Mar 20, 2026
  6. picnixz commented on Mar 20, 2026

    @picnixz
    picnixz
    on Mar 20, 2026 · Hidden as resolved
    show commentMore actions
  7. picnixz
    added
    pendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is provided
    triagedThe issue has been accepted as valid by a triager.The issue has been accepted as valid by a triager.
    and removed
    pendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is provided
    on Mar 20, 2026
  8. kimimgo
    added a commit that references this issue on Mar 21, 2026

    Address review: rename bow_ws, move tests to TestReader, add tab support

    e6d27d9
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/ directoryStandard Library Python modules in the Lib/ directorytopic-replRelated to the interactive shellRelated to the interactive shelltriagedThe issue has been accepted as valid by a triager.The issue has been accepted as valid by a triager.type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.