| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:aa951ee3-69cd-856c-eefc-d5f0f89ffee7 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D7A8:2E6F49:2FD2C:4070C:6A521C7F |
| html-safe-nonce | d703dcdea21ead405e2fececbcb1a3a1421c26da5ac8c24030bb3fc1bdf91da8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEN0E4OjJFNkY0OToyRkQyQzo0MDcwQzo2QTUyMUM3RiIsInZpc2l0b3JfaWQiOiI2OTkxMTAyNzU0MzgyMjI0NjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 38d93e159494fda7def7fa0e1eeb00898ee9e3164afd28b8eedc251f20b9cd84 |
| hovercard-subject-tag | pull_request:3420633865 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/146174/files |
| twitter:image | https://avatars.githubusercontent.com/u/21175731?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/21175731?s=400&v=4 |
| og:image:alt | Fixes #146044
Summary
The unix-word-rubout command (ctrl-w) was using bow() which treats
punctuation as word separators via the syntax table. This differs from
bash/readline's unix-word-rubout ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/146174/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F146174%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F146174%2Ffiles |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/146174/files |
| Reload | https://github.com/python/cpython/pull/146174/files |
| Reload | https://github.com/python/cpython/pull/146174/files |
| Please reload this page | https://github.com/python/cpython/pull/146174/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/146174/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
35k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.8k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Code
| https://github.com/python/cpython |
|
Issues
5k+
| https://github.com/python/cpython/issues |
|
Pull requests
2.3k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
0
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
|
Code
| https://github.com/python/cpython |
|
Issues
| https://github.com/python/cpython/issues |
|
Pull requests
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| kimimgo | https://github.com/kimimgo |
| python:main | https://github.com/python/cpython/tree/main |
| kimimgo:fix/pyrepl-ctrl-w-146044 | https://github.com/kimimgo/cpython/tree/fix/pyrepl-ctrl-w-146044 |
|
Conversation
31
| https://github.com/python/cpython/pull/146174 |
|
Commits
8
| https://github.com/python/cpython/pull/146174/commits |
|
Checks
57
| https://github.com/python/cpython/pull/146174/checks |
|
Files changed
4
| https://github.com/python/cpython/pull/146174/files |
|
gh-146044: Fix ctrl-w (unix-word-rubout) to use whitespace word boundaries
| https://github.com/python/cpython/pull/146174/files#top |
|
Show all changes
8 commits
| https://github.com/python/cpython/pull/146174/files |
|
678eefd
Fix ctrl-w (unix-word-rubout) to use whitespace word boundaries (#146…
kimimgo Mar 19, 2026
| https://github.com/python/cpython/pull/146174/commits/678eefd3fa83f9dc6b81180ae48ca08faf4a773b |
|
853cb8c
Fix test: prepare_console() requires events argument
kimimgo Mar 19, 2026
| https://github.com/python/cpython/pull/146174/commits/853cb8ca3e293b2d6e8373eeab2887505984e95b |
|
99023b2
Add NEWS entry for gh-146044
kimimgo Mar 19, 2026
| https://github.com/python/cpython/pull/146174/commits/99023b25adbf4ab49c861588dc21e0147902a477 |
|
e6d27d9
Address review: rename bow_ws, move tests to TestReader, add tab support
kimimgo Mar 21, 2026
| https://github.com/python/cpython/pull/146174/commits/e6d27d9fa0956d831dec197d3e363f269190e842 |
|
9f54090
Fix trailing blank lines in test_reader.py
kimimgo Mar 21, 2026
| https://github.com/python/cpython/pull/146174/commits/9f540905f268c3a2a59107e6999f826e826ab7bb |
|
140faf1
Address review: close docstring on separate line
kimimgo Mar 22, 2026
| https://github.com/python/cpython/pull/146174/commits/140faf1148787f3da3a24c59e48aef8ed5ac44b9 |
|
c8d1759
Address review: remove issue URL from docstring, add newline test
kimimgo Mar 27, 2026
| https://github.com/python/cpython/pull/146174/commits/c8d17597d9e3f3c8f4c90b075cff0153f9313057 |
|
0a25f0b
Address review: use index() instead of magic number for pos
kimimgo Mar 31, 2026
| https://github.com/python/cpython/pull/146174/commits/0a25f0b83da5fd84bcda99475e2467da8ba5304e |
|
Clear filters
| https://github.com/python/cpython/pull/146174/files |
| Please reload this page | https://github.com/python/cpython/pull/146174/files |
| Please reload this page | https://github.com/python/cpython/pull/146174/files |
|
commands.py
| https://github.com/python/cpython/pull/146174/files#diff-5412d10951788bf3e38ed1d9c8406694e332f8cd3505252136bb896cde16b907 |
|
reader.py
| https://github.com/python/cpython/pull/146174/files#diff-c016a633684c719cad647f2a6239a9a9ceda9a11b476b67e8ff3d7379735de50 |
|
test_reader.py
| https://github.com/python/cpython/pull/146174/files#diff-6f66163ec869997591163cc4eec0a1232571f464f1a243db2df130e1803eadaf |
|
2026-03-20-00-00-01.gh-issue-146044.WsCtrl.rst
| https://github.com/python/cpython/pull/146174/files#diff-41127925b080e8201ce36ad203c12e888d0a86e1c43940be15db77b5f1d7f060 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L561 |
| Lib/_pyrepl/commands.py | https://github.com/python/cpython/pull/146174/files#diff-5412d10951788bf3e38ed1d9c8406694e332f8cd3505252136bb896cde16b907 |
|
View file
| https://github.com/python/cpython/blob/0a25f0b83da5fd84bcda99475e2467da8ba5304e/Lib/_pyrepl/commands.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/146174/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/146174/files#diff-5412d10951788bf3e38ed1d9c8406694e332f8cd3505252136bb896cde16b907 |
|
| https://github.com/python/cpython/pull/146174/files#diff-5412d10951788bf3e38ed1d9c8406694e332f8cd3505252136bb896cde16b907 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L561 |
| Lib/_pyrepl/reader.py | https://github.com/python/cpython/pull/146174/files#diff-c016a633684c719cad647f2a6239a9a9ceda9a11b476b67e8ff3d7379735de50 |
|
View file
| https://github.com/python/cpython/blob/0a25f0b83da5fd84bcda99475e2467da8ba5304e/Lib/_pyrepl/reader.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/146174/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/146174/files#diff-c016a633684c719cad647f2a6239a9a9ceda9a11b476b67e8ff3d7379735de50 |
|
| https://github.com/python/cpython/pull/146174/files#diff-c016a633684c719cad647f2a6239a9a9ceda9a11b476b67e8ff3d7379735de50 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L562 |
| Lib/test/test_pyrepl/test_reader.py | https://github.com/python/cpython/pull/146174/files#diff-6f66163ec869997591163cc4eec0a1232571f464f1a243db2df130e1803eadaf |
|
View file
| https://github.com/python/cpython/blob/0a25f0b83da5fd84bcda99475e2467da8ba5304e/Lib/test/test_pyrepl/test_reader.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/146174/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/146174/files#diff-6f66163ec869997591163cc4eec0a1232571f464f1a243db2df130e1803eadaf |
| picnixz | https://github.com/picnixz |
| Mar 21, 2026 | https://github.com/python/cpython/pull/146174/files#r2969615998 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/146174/files |
| picnixz | https://github.com/picnixz |
| Mar 21, 2026 | https://github.com/python/cpython/pull/146174/files#r2969619027 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/146174/files |
| picnixz | https://github.com/picnixz |
| Mar 21, 2026 | https://github.com/python/cpython/pull/146174/files#r2969615563 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/146174/files |
|
| https://github.com/python/cpython/pull/146174/files#diff-6f66163ec869997591163cc4eec0a1232571f464f1a243db2df130e1803eadaf |
| Misc/NEWS.d/next/Library/2026-03-20-00-00-01.gh-issue-146044.WsCtrl.rst | https://github.com/python/cpython/pull/146174/files#diff-41127925b080e8201ce36ad203c12e888d0a86e1c43940be15db77b5f1d7f060 |
|
View file
| https://github.com/python/cpython/blob/0a25f0b83da5fd84bcda99475e2467da8ba5304e/Misc/NEWS.d/next/Library/2026-03-20-00-00-01.gh-issue-146044.WsCtrl.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/146174/{{ revealButtonHref }} |
| Please reload this page | https://github.com/python/cpython/pull/146174/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |