René's URL Explorer Experiment


Title: gh-125254: Fix error report about ambiguous option in argparse by serhiy-storchaka · Pull Request #125273 · python/cpython · GitHub

Open Graph Title: gh-125254: Fix error report about ambiguous option in argparse by serhiy-storchaka · Pull Request #125273 · python/cpython

X Title: gh-125254: Fix error report about ambiguous option in argparse by serhiy-storchaka · Pull Request #125273 · python/cpython

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

Open Graph Description: This was a regression introduced in gh-58573. It was only tested for the case when the ambiguous option is the last argument in the command line. Issue: Argparse logs incorrect ambiguous option #...

X Description: This was a regression introduced in gh-58573. It was only tested for the case when the ambiguous option is the last argument in the command line. Issue: Argparse logs incorrect ambiguous option #...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:bbeef5a0-4e93-1944-74ff-f1bd188f8e98
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8D9A:3CF916:2FACE6:4294E6:6B005C4A
html-safe-nonce70a60d029688eddc83a1b5a366b156068b1ba0558fc3a8b6c706c490ebbbbb15
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDlBOjNDRjkxNjoyRkFDRTY6NDI5NEU2OjZCMDA1QzRBIiwidmlzaXRvcl9pZCI6Ijc4NzkxNTExMzU5MDExMTM0MTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac78eefc9c0eaa88d9e66c336c00fa1ab7fa30de5074cf5c2062b70b3d6cfe1542
hovercard-subject-tagpull_request:2118126273
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/125273/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/a3faac394882b35f93a9fd2e5e6e60e7f5cb3a9de3f5a7ab3d7a6aa71e12595c/python/cpython/pull/125273
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a3faac394882b35f93a9fd2e5e6e60e7f5cb3a9de3f5a7ab3d7a6aa71e12595c/python/cpython/pull/125273
og:image:altThis was a regression introduced in gh-58573. It was only tested for the case when the ambiguous option is the last argument in the command line. Issue: Argparse logs incorrect ambiguous option #...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameserhiy-storchaka
hostnamegithub.com
expected-hostnamegithub.com
None29be975efff6507a5d135de9c7d634cf7ff8f0c55222a64386ab3202209aaf73
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
releaseeacd927ba6112e3b01ba99c762bd699a4a4f5df7
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/125273#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F125273
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F125273
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/125273
Reloadhttps://github.com/python/cpython/pull/125273
Reloadhttps://github.com/python/cpython/pull/125273
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:argparse-ambiguous-optionhttps://github.com/serhiy-storchaka/cpython/tree/argparse-ambiguous-option
Conversationhttps://github.com/python/cpython/pull/125273
Commits3 (3)https://github.com/python/cpython/pull/125273/commits
Checkshttps://github.com/python/cpython/pull/125273/checks
Files changedhttps://github.com/python/cpython/pull/125273/files
gh-125254: Fix error report about ambiguous option in argparsehttps://github.com/python/cpython/pull/125273#top
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:argparse-ambiguous-optionhttps://github.com/serhiy-storchaka/cpython/tree/argparse-ambiguous-option
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Oct 10, 2024https://github.com/python/cpython/pull/125273#issue-2579393227
Please reload this pagehttps://github.com/python/cpython/pull/125273
gh-58573https://github.com/python/cpython/issues/58573
Argparse logs incorrect ambiguous option #125254https://github.com/python/cpython/issues/125254
Please reload this pagehttps://github.com/python/cpython/pull/125273
https://github.com/serhiy-storchaka
pythongh-125254https://github.com/python/cpython/issues/125254
: Fix error report about ambiguous option in argparsehttps://github.com/python/cpython/pull/125273/commits/d4009a23ea75c82a09a6f9f50511c610344d433d
d4009a2https://github.com/python/cpython/pull/125273/commits/d4009a23ea75c82a09a6f9f50511c610344d433d
pythongh-58573https://github.com/python/cpython/issues/58573
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
needs backport to 3.12 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.12%22
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
Oct 10, 2024https://github.com/python/cpython/pull/125273#event-14594731229
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 10, 2024 https://github.com/python/cpython/pull/125273#ref-issue-2578710756
Argparse logs incorrect ambiguous option #125254 https://github.com/python/cpython/issues/125254
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Oct 10, 2024https://github.com/python/cpython/pull/125273#event-14594732761
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
savannahostrowskihttps://github.com/savannahostrowski
October 11, 2024 09:15https://github.com/python/cpython/pull/125273#event-14605696844
https://github.com/savannahostrowski
savannahostrowskihttps://github.com/savannahostrowski
Oct 11, 2024 https://github.com/python/cpython/pull/125273#pullrequestreview-2363662491
View reviewed changes https://github.com/python/cpython/pull/125273/files/d4009a23ea75c82a09a6f9f50511c610344d433d
https://github.com/savannahostrowski
savannahostrowskihttps://github.com/savannahostrowski
Oct 11, 2024 https://github.com/python/cpython/pull/125273#pullrequestreview-2363664804
View reviewed changes https://github.com/python/cpython/pull/125273/files/d4009a23ea75c82a09a6f9f50511c610344d433d
Misc/NEWS.d/next/Library/2024-10-10-19-57-35.gh-issue-125254.RtZxXS.rsthttps://github.com/python/cpython/pull/125273/files/d4009a23ea75c82a09a6f9f50511c610344d433d#diff-5a3d3a2501540bee0046cf8f7248b277e95f086302be69986443cdfb24dd3e1f
Please reload this pagehttps://github.com/python/cpython/pull/125273
serhiy-storchakahttps://github.com/serhiy-storchaka
October 12, 2024 14:49https://github.com/python/cpython/pull/125273#commits-pushed-cfe9ecf
https://github.com/serhiy-storchaka
https://github.com/savannahostrowski
Update Misc/NEWS.d/next/Library/2024-10-10-19-57-35.gh-issue-125254.R…https://github.com/python/cpython/pull/125273/commits/cfe9ecfa0ca7127be55912c5af7004c949c95af7
cfe9ecfhttps://github.com/python/cpython/pull/125273/commits/cfe9ecfa0ca7127be55912c5af7004c949c95af7
https://github.com/serhiy-storchaka
Update 2024-10-10-19-57-35.gh-issue-125254.RtZxXS.rsthttps://github.com/python/cpython/pull/125273/commits/f9a58a72a3b4e45a0528ad9dab49fe55a8f7d530
f9a58a7https://github.com/python/cpython/pull/125273/commits/f9a58a72a3b4e45a0528ad9dab49fe55a8f7d530
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
October 12, 2024 11:50https://github.com/python/cpython/pull/125273#event-14616773724
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
63cf4e9https://github.com/python/cpython/commit/63cf4e914f879ee28a75c02e867baa7c6047ea2b
Oct 12, 2024https://github.com/python/cpython/pull/125273#event-14616820660
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Oct 12, 2024https://github.com/python/cpython/pull/125273#issuecomment-2408542950
@serhiy-storchakahttps://github.com/serhiy-storchaka
Please reload this pagehttps://github.com/python/cpython/pull/125273
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Oct 12, 2024https://github.com/python/cpython/pull/125273#event-14616820767
miss-islingtonhttps://github.com/miss-islington
Oct 12, 2024 https://github.com/python/cpython/pull/125273#ref-commit-5db7fd9
https://github.com/serhiy-storchaka
https://github.com/miss-islington
pythongh-125254https://github.com/python/cpython/issues/125254
: Fix error report about ambiguous option in argparse (https://github.com/miss-islington/cpython/commit/5db7fd9ca5a2057e7be2be030421cd1231c865c8
p…https://github.com/python/cpython/pull/125273
5db7fd9https://github.com/miss-islington/cpython/commit/5db7fd9ca5a2057e7be2be030421cd1231c865c8
…ythonGH-125273https://github.com/python/cpython/pull/125273
pythongh-58573https://github.com/python/cpython/issues/58573
63cf4e9https://github.com/miss-islington/cpython/commit/63cf4e914f879ee28a75c02e867baa7c6047ea2b
miss-islingtonhttps://github.com/miss-islington
Oct 12, 2024 https://github.com/python/cpython/pull/125273#ref-commit-8998491
https://github.com/serhiy-storchaka
https://github.com/miss-islington
pythongh-125254https://github.com/python/cpython/issues/125254
: Fix error report about ambiguous option in argparse (https://github.com/miss-islington/cpython/commit/8998491b95198ec0e53c6215de8b14c982d9f71f
p…https://github.com/python/cpython/pull/125273
8998491https://github.com/miss-islington/cpython/commit/8998491b95198ec0e53c6215de8b14c982d9f71f
…ythonGH-125273https://github.com/python/cpython/pull/125273
pythongh-58573https://github.com/python/cpython/issues/58573
63cf4e9https://github.com/miss-islington/cpython/commit/63cf4e914f879ee28a75c02e867baa7c6047ea2b
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 12, 2024https://github.com/python/cpython/pull/125273#issuecomment-2408543029
GH-125359https://github.com/python/cpython/pull/125359
3.13 branchhttps://github.com/python/cpython/tree/3.13
Please reload this pagehttps://github.com/python/cpython/pull/125273
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
Oct 12, 2024https://github.com/python/cpython/pull/125273#event-14616821199
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 12, 2024https://github.com/python/cpython/pull/125273#issuecomment-2408543052
GH-125360https://github.com/python/cpython/pull/125360
3.12 branchhttps://github.com/python/cpython/tree/3.12
Please reload this pagehttps://github.com/python/cpython/pull/125273
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.12 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.12%22
Oct 12, 2024https://github.com/python/cpython/pull/125273#event-14616821416
serhiy-storchakahttps://github.com/serhiy-storchaka
Oct 12, 2024 https://github.com/python/cpython/pull/125273#ref-commit-aa0cdeb
https://github.com/miss-islington
https://github.com/serhiy-storchaka
[3.12]https://github.com/python/cpython/commit/aa0cdeb93cedef1e28bc3e4dc6cd4c5c3b1425d6
gh-125254https://github.com/python/cpython/issues/125254
: Fix error report about ambiguous option in argparse (https://github.com/python/cpython/commit/aa0cdeb93cedef1e28bc3e4dc6cd4c5c3b1425d6
…https://github.com/python/cpython/pull/125273
aa0cdebhttps://github.com/python/cpython/commit/aa0cdeb93cedef1e28bc3e4dc6cd4c5c3b1425d6
…GH-125273https://github.com/python/cpython/pull/125273
GH-125360https://github.com/python/cpython/pull/125360
gh-58573https://github.com/python/cpython/issues/58573
63cf4e9https://github.com/python/cpython/commit/63cf4e914f879ee28a75c02e867baa7c6047ea2b
serhiy-storchakahttps://github.com/serhiy-storchaka
Oct 12, 2024 https://github.com/python/cpython/pull/125273#ref-commit-33c4136
https://github.com/miss-islington
https://github.com/serhiy-storchaka
[3.13]https://github.com/python/cpython/commit/33c41360c8d0a2019feddb523295ff3d7d47ee3c
gh-125254https://github.com/python/cpython/issues/125254
: Fix error report about ambiguous option in argparse (https://github.com/python/cpython/commit/33c41360c8d0a2019feddb523295ff3d7d47ee3c
…https://github.com/python/cpython/pull/125273
33c4136https://github.com/python/cpython/commit/33c41360c8d0a2019feddb523295ff3d7d47ee3c
…GH-125273https://github.com/python/cpython/pull/125273
GH-125359https://github.com/python/cpython/pull/125359
gh-58573https://github.com/python/cpython/issues/58573
63cf4e9https://github.com/python/cpython/commit/63cf4e914f879ee28a75c02e867baa7c6047ea2b
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
October 21, 2024 13:38https://github.com/python/cpython/pull/125273#event-14765080238
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F125273
https://github.com/savannahostrowski
savannahostrowski https://github.com/savannahostrowski
https://github.com/python/cpython/pull/125273/files/d4009a23ea75c82a09a6f9f50511c610344d433d
Please reload this pagehttps://github.com/python/cpython/pull/125273
Please reload this pagehttps://github.com/python/cpython/pull/125273
https://github.com/serhiy-storchaka
https://github.com/savannahostrowski
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.