René's URL Explorer Experiment


Title: gh-138577: Fix keyboard shortcuts in getpass with echo_char by CuriousLearner · Pull Request #141597 · python/cpython · GitHub

Open Graph Title: gh-138577: Fix keyboard shortcuts in getpass with echo_char by CuriousLearner · Pull Request #141597 · python/cpython

X Title: gh-138577: Fix keyboard shortcuts in getpass with echo_char by CuriousLearner · Pull Request #141597 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Fixes #138577 When using getpass.getpass(echo_char='*'), keyboard shortcuts like Ctrl+U (kill line), Ctrl+W (erase word), and Ctrl+V (literal next) now work correctly by reading the termina...

X Description: Fixes #138577 When using getpass.getpass(echo_char='*'), keyboard shortcuts like Ctrl+U (kill line), Ctrl+W (erase word), and Ctrl+V (literal next) now work correctly by reading the...

Opengraph URL: https://github.com/python/cpython/pull/141597

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:be3006fb-2bb8-e739-7c90-93865cbcf267
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDB14:9BDE:5570E9E:774B83D:6A510B97
html-safe-nonceb9150919ef9e19f958e43b24117a205b7665a9d51ea10d284d41440fccff006c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjE0OjlCREU6NTU3MEU5RTo3NzRCODNEOjZBNTEwQjk3IiwidmlzaXRvcl9pZCI6IjYyMjUzNzQ5OTIxNzcxMDU4MTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7c211d3dbbd9978e792d6773ec7d96baa58d8dfc9c33a9cdfea94e08efe25cbc
hovercard-subject-tagpull_request:3013770110
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/141597/commits
twitter:imagehttps://opengraph.githubassets.com/ac25c1c2283c5ab1b3e91cbe11b67d21d5fd91a609c3d17804c4671df255f277/python/cpython/pull/141597
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ac25c1c2283c5ab1b3e91cbe11b67d21d5fd91a609c3d17804c4671df255f277/python/cpython/pull/141597
og:image:altFixes #138577 When using getpass.getpass(echo_char='*'), keyboard shortcuts like Ctrl+U (kill line), Ctrl+W (erase word), and Ctrl+V (literal next) now work correctly by reading the termina...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameCuriousLearner
hostnamegithub.com
expected-hostnamegithub.com
Noneb076e100febaa00374cd89239f915d00dd3187f7c68b12bc2b7688181305344d
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release2d129404fc45ea64edb1b98567c53e55b395536f
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/141597/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F141597%2Fcommits
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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%2F141597%2Fcommits
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%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/141597/commits
Reloadhttps://github.com/python/cpython/pull/141597/commits
Reloadhttps://github.com/python/cpython/pull/141597/commits
Please reload this pagehttps://github.com/python/cpython/pull/141597/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/141597/commits
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.7k 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
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
CuriousLearner:fix-gh-138577https://github.com/CuriousLearner/cpython/tree/fix-gh-138577
Conversationhttps://github.com/python/cpython/pull/141597
Commits21 (21)https://github.com/python/cpython/pull/141597/commits
Checkshttps://github.com/python/cpython/pull/141597/checks
Files changedhttps://github.com/python/cpython/pull/141597/files
gh-138577: Fix keyboard shortcuts in getpass with echo_charhttps://github.com/python/cpython/pull/141597/commits#top
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
CuriousLearner:fix-gh-138577https://github.com/CuriousLearner/cpython/tree/fix-gh-138577
gh-138577: Fix keyboard shortcuts in getpass with echo_charhttps://github.com/python/cpython/pull/141597/commits/bb60653a826838b8072b87f11454ebd9bec798e4
https://github.com/CuriousLearner
CuriousLearnerhttps://github.com/python/cpython/commits?author=CuriousLearner
bb60653https://github.com/python/cpython/pull/141597/commits/bb60653a826838b8072b87f11454ebd9bec798e4
https://github.com/python/cpython/tree/bb60653a826838b8072b87f11454ebd9bec798e4
Address reviews on dispatcher pattern + handle other ctrl charshttps://github.com/python/cpython/pull/141597/commits/31e35e4447f50851cd4ae7ea9d909ba441fe9ead
https://github.com/CuriousLearner
CuriousLearnerhttps://github.com/python/cpython/commits?author=CuriousLearner
31e35e4https://github.com/python/cpython/pull/141597/commits/31e35e4447f50851cd4ae7ea9d909ba441fe9ead
https://github.com/python/cpython/tree/31e35e4447f50851cd4ae7ea9d909ba441fe9ead
Address reviewshttps://github.com/python/cpython/pull/141597/commits/b8609bd4c3863f3cbf5ccf34cb33b350a94deca8
https://github.com/CuriousLearner
CuriousLearnerhttps://github.com/python/cpython/commits?author=CuriousLearner
b8609bdhttps://github.com/python/cpython/pull/141597/commits/b8609bd4c3863f3cbf5ccf34cb33b350a94deca8
https://github.com/python/cpython/tree/b8609bd4c3863f3cbf5ccf34cb33b350a94deca8
Merge remote-tracking branch 'upstream/main' into fix-gh-138577https://github.com/python/cpython/pull/141597/commits/2691ad9d6a47b4beee7b5f299d878b4ef36e830c
https://github.com/CuriousLearner
CuriousLearnerhttps://github.com/python/cpython/commits?author=CuriousLearner
2691ad9https://github.com/python/cpython/pull/141597/commits/2691ad9d6a47b4beee7b5f299d878b4ef36e830c
https://github.com/python/cpython/tree/2691ad9d6a47b4beee7b5f299d878b4ef36e830c
Address reviewshttps://github.com/python/cpython/pull/141597/commits/6a59f3b083ae350c621aa5b80d0d6f087e15165c
https://github.com/CuriousLearner
CuriousLearnerhttps://github.com/python/cpython/commits?author=CuriousLearner
6a59f3bhttps://github.com/python/cpython/pull/141597/commits/6a59f3b083ae350c621aa5b80d0d6f087e15165c
https://github.com/python/cpython/tree/6a59f3b083ae350c621aa5b80d0d6f087e15165c
fix: prevent prompt corruption during getpass echo_char line editinghttps://github.com/python/cpython/pull/141597/commits/d280ce970ad96c6cd2ab69d9bd24735580764111
https://github.com/CuriousLearner
CuriousLearnerhttps://github.com/python/cpython/commits?author=CuriousLearner
d280ce9https://github.com/python/cpython/pull/141597/commits/d280ce970ad96c6cd2ab69d9bd24735580764111
https://github.com/python/cpython/tree/d280ce970ad96c6cd2ab69d9bd24735580764111
fix: disable IEXTEN in non-canonical mode to allow Ctrl+V (LNEXT) handlinghttps://github.com/python/cpython/pull/141597/commits/3f1a86107f465c31a55f660af02e3473a5b41082
https://github.com/CuriousLearner
CuriousLearnerhttps://github.com/python/cpython/commits?author=CuriousLearner
3f1a861https://github.com/python/cpython/pull/141597/commits/3f1a86107f465c31a55f660af02e3473a5b41082
https://github.com/python/cpython/tree/3f1a86107f465c31a55f660af02e3473a5b41082
refactor: address review on getpass echo_char line editinghttps://github.com/python/cpython/pull/141597/commits/537392c6525db029165643e914a735c97f691535
https://github.com/CuriousLearner
CuriousLearnerhttps://github.com/python/cpython/commits?author=CuriousLearner
537392chttps://github.com/python/cpython/pull/141597/commits/537392c6525db029165643e914a735c97f691535
https://github.com/python/cpython/tree/537392c6525db029165643e914a735c97f691535
fix: Add comments about ICANON and IEXTENhttps://github.com/python/cpython/pull/141597/commits/e1e4aa3c99c9f196ffacf0a185448dfc33662989
https://github.com/CuriousLearner
CuriousLearnerhttps://github.com/python/cpython/commits?author=CuriousLearner
e1e4aa3https://github.com/python/cpython/pull/141597/commits/e1e4aa3c99c9f196ffacf0a185448dfc33662989
https://github.com/python/cpython/tree/e1e4aa3c99c9f196ffacf0a185448dfc33662989
Merge branch 'main' of github.com:python/cpython into fix-gh-138577https://github.com/python/cpython/pull/141597/commits/3e05fa35e0562de54252dab4d09da002fc358393
https://github.com/CuriousLearner
CuriousLearnerhttps://github.com/python/cpython/commits?author=CuriousLearner
3e05fa3https://github.com/python/cpython/pull/141597/commits/3e05fa35e0562de54252dab4d09da002fc358393
https://github.com/python/cpython/tree/3e05fa35e0562de54252dab4d09da002fc358393
Address reviewshttps://github.com/python/cpython/pull/141597/commits/90da6057f9e83ff2444f93e8edc51b7c7a08a3c3
https://github.com/CuriousLearner
CuriousLearnerhttps://github.com/python/cpython/commits?author=CuriousLearner
90da605https://github.com/python/cpython/pull/141597/commits/90da6057f9e83ff2444f93e8edc51b7c7a08a3c3
https://github.com/python/cpython/tree/90da6057f9e83ff2444f93e8edc51b7c7a08a3c3
Merge branch 'main' into fix-gh-138577https://github.com/python/cpython/pull/141597/commits/ef1efcb0a9d6d94b8c2da9726c186ef5b81ee197
https://github.com/CuriousLearner
CuriousLearnerhttps://github.com/python/cpython/commits?author=CuriousLearner
ef1efcbhttps://github.com/python/cpython/pull/141597/commits/ef1efcb0a9d6d94b8c2da9726c186ef5b81ee197
https://github.com/python/cpython/tree/ef1efcb0a9d6d94b8c2da9726c186ef5b81ee197
Remove prefix from private class methodshttps://github.com/python/cpython/pull/141597/commits/a7c1de380dfa102b64d373f34c083931ca6eaacf
https://github.com/CuriousLearner
CuriousLearnerhttps://github.com/python/cpython/commits?author=CuriousLearner
a7c1de3https://github.com/python/cpython/pull/141597/commits/a7c1de380dfa102b64d373f34c083931ca6eaacf
https://github.com/python/cpython/tree/a7c1de380dfa102b64d373f34c083931ca6eaacf
Merge branch 'fix-gh-138577' of github.com:CuriousLearner/cpython into fix-gh-138577https://github.com/python/cpython/pull/141597/commits/78b2c6a7708e1cb967f26f631a41ea294b7a6b14
https://github.com/CuriousLearner
CuriousLearnerhttps://github.com/python/cpython/commits?author=CuriousLearner
78b2c6ahttps://github.com/python/cpython/pull/141597/commits/78b2c6a7708e1cb967f26f631a41ea294b7a6b14
https://github.com/python/cpython/tree/78b2c6a7708e1cb967f26f631a41ea294b7a6b14
Merge branch 'main' of github.com:python/cpython into fix-gh-138577https://github.com/python/cpython/pull/141597/commits/e1461a70cdbd626c403840521ddd69321091ddac
https://github.com/CuriousLearner
CuriousLearnerhttps://github.com/python/cpython/commits?author=CuriousLearner
e1461a7https://github.com/python/cpython/pull/141597/commits/e1461a70cdbd626c403840521ddd69321091ddac
https://github.com/python/cpython/tree/e1461a70cdbd626c403840521ddd69321091ddac
Apply suggestions from code reviewhttps://github.com/python/cpython/pull/141597/commits/741a8177362d7bad96e180c4c606f525dd860503
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
741a817https://github.com/python/cpython/pull/141597/commits/741a8177362d7bad96e180c4c606f525dd860503
https://github.com/python/cpython/tree/741a8177362d7bad96e180c4c606f525dd860503
chore! update some documentationhttps://github.com/python/cpython/pull/141597/commits/cc5dc993c5659cc02e2e230d87cddc3143a1a29f
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
cc5dc99https://github.com/python/cpython/pull/141597/commits/cc5dc993c5659cc02e2e230d87cddc3143a1a29f
https://github.com/python/cpython/tree/cc5dc993c5659cc02e2e230d87cddc3143a1a29f
fix! refresh screen on Ctrl+A/Ctrl-Ehttps://github.com/python/cpython/pull/141597/commits/0f5f5c81ad9f8eeeb7b0ca8c03ff19723ad7b57b
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
0f5f5c8https://github.com/python/cpython/pull/141597/commits/0f5f5c81ad9f8eeeb7b0ca8c03ff19723ad7b57b
https://github.com/python/cpython/tree/0f5f5c81ad9f8eeeb7b0ca8c03ff19723ad7b57b
refactor! use more handlershttps://github.com/python/cpython/pull/141597/commits/9d90dfad25b61e9aa2496fadee4a5c1b0d5f4fb8
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
9d90dfahttps://github.com/python/cpython/pull/141597/commits/9d90dfad25b61e9aa2496fadee4a5c1b0d5f4fb8
https://github.com/python/cpython/tree/9d90dfad25b61e9aa2496fadee4a5c1b0d5f4fb8
chore! reduce diff against `main`https://github.com/python/cpython/pull/141597/commits/3b2ae383f3f3f1b6fd0202500b6e3ae0091dd08f
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
3b2ae38https://github.com/python/cpython/pull/141597/commits/3b2ae383f3f3f1b6fd0202500b6e3ae0091dd08f
https://github.com/python/cpython/tree/3b2ae383f3f3f1b6fd0202500b6e3ae0091dd08f
test: add cursor position tests for Ctrl+A/Ctrl+E in getpass echo_charhttps://github.com/python/cpython/pull/141597/commits/919af5c201381ac044a81b045487486b19121c0c
https://github.com/CuriousLearner
CuriousLearnerhttps://github.com/python/cpython/commits?author=CuriousLearner
919af5chttps://github.com/python/cpython/pull/141597/commits/919af5c201381ac044a81b045487486b19121c0c
https://github.com/python/cpython/tree/919af5c201381ac044a81b045487486b19121c0c
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.