Title: ctrl-w deletes words with punctuation instead of whitespace boundary · Issue #146044 · python/cpython · GitHub
Open Graph Title: ctrl-w deletes words with punctuation instead of whitespace boundary · Issue #146044 · python/cpython
X Title: ctrl-w deletes words with punctuation instead of whitespace boundary · Issue #146044 · python/cpython
Description: 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? Howe...
Open Graph Description: 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 ...
X Description: 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 ...
Opengraph URL: https://github.com/python/cpython/issues/146044
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ctrl-w deletes words with punctuation instead of whitespace boundary","articleBody":"# Bug report\n\n### Bug description:\n\nI 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?\n\nHowever, ctrl-w currently deletes words using punctuation+whitespace as the boundary.\n\n### CPython versions tested on:\n\n3.14\n\n### Operating systems tested on:\n\nmacOS\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-146174\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/injust","@type":"Person","name":"injust"},"datePublished":"2026-03-17T02:00:00.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/146044/cpython/issues/146044"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0af0cfff-377d-9151-958f-399042c47a9d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AFE2:2677B0:97B0B2:CA1357:6A52B2E0 |
| html-safe-nonce | e1e65fb6aad5ef4088400a7efbd53c626015491b16d2c7c0405709dd7138f92c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRkUyOjI2NzdCMDo5N0IwQjI6Q0ExMzU3OjZBNTJCMkUwIiwidmlzaXRvcl9pZCI6IjQ2MTA2NjQ3Mjg1Mjc4MTEyOTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3e856c98cceb653d65333665e02d3f1fce2be1132655029d19c8b54264375aeb |
| hovercard-subject-tag | issue:4085760759 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/146044/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e024a04946ef8e691b8c94595df9b48c995dcd12ed1a864d7eefcdb445ecc349/python/cpython/issues/146044 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e024a04946ef8e691b8c94595df9b48c995dcd12ed1a864d7eefcdb445ecc349/python/cpython/issues/146044 |
| og:image:alt | 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 ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | injust |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width