René's URL Explorer Experiment


Title: argparse: nargs='*' positional argument doesn't accept any items if preceded by an option and another positional · Issue #59317 · python/cpython · GitHub

Open Graph Title: argparse: nargs='*' positional argument doesn't accept any items if preceded by an option and another positional · Issue #59317 · python/cpython

X Title: argparse: nargs='*' positional argument doesn't accept any items if preceded by an option and another positional · Issue #59317 · python/cpython

Description: BPO 15112 Nosy @cjerdonek, @vadmium Files argparse_fix_empty_nargs_star.patch: Proposed fix15112.patchmixed.patch Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state. Show...

Open Graph Description: BPO 15112 Nosy @cjerdonek, @vadmium Files argparse_fix_empty_nargs_star.patch: Proposed fix15112.patchmixed.patch Note: these values reflect the state of the issue at the time it was migrated and m...

X Description: BPO 15112 Nosy @cjerdonek, @vadmium Files argparse_fix_empty_nargs_star.patch: Proposed fix15112.patchmixed.patch Note: these values reflect the state of the issue at the time it was migrated and m...

Opengraph URL: https://github.com/python/cpython/issues/59317

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"argparse: nargs='*' positional argument doesn't accept any items if preceded by an option and another positional","articleBody":"BPO | [15112](https://bugs.python.org/issue15112)\n--- | :---\nNosy | @cjerdonek, @vadmium\nFiles | \u003cli>[argparse_fix_empty_nargs_star.patch](https://bugs.python.org/file26097/argparse_fix_empty_nargs_star.patch \"Uploaded as text/plain at 2012-06-22.21:54:42 by waltermundt\"): Proposed fix\u003c/li>\u003cli>[15112.patch](https://bugs.python.org/file26485/15112.patch \"Uploaded as text/plain at 2012-07-22.21:53:46 by bethard\")\u003c/li>\u003cli>[mixed.patch](https://bugs.python.org/file31457/mixed.patch \"Uploaded as text/plain at 2013-08-25.02:11:57 by paul.j3\")\u003c/li>\n\n\u003csup>*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup>\n\n\u003cdetails>\u003csummary>Show more details\u003c/summary>\u003cp>\n\nGitHub fields:\n```python\nassignee = None\nclosed_at = None\ncreated_at = \u003cDate 2012-06-20.04:15:47.146>\nlabels = ['type-bug', 'library']\ntitle = \"argparse: nargs='*' positional argument doesn't accept any items if preceded by an option and another positional\"\nupdated_at = \u003cDate 2018-06-30.21:19:15.871>\nuser = 'https://bugs.python.org/waltermundt'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2018-06-30.21:19:15.871>\nactor = 'paul.j3'\nassignee = 'none'\nclosed = False\nclosed_date = None\ncloser = None\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2012-06-20.04:15:47.146>\ncreator = 'waltermundt'\ndependencies = []\nfiles = ['26097', '26485', '31457']\nhgrepos = []\nissue_num = 15112\nkeywords = ['patch']\nmessage_count = 14.0\nmessages = ['163249', '163497', '166173', '178481', '196066', '196112', '196434', '221999', '226315', '226316', '226320', '243453', '262842', '320808']\nnosy_count = 9.0\nnosy_names = ['bethard', 'gfxmonk', 'devurandom', 'chris.jerdonek', 'tshepang', 'martin.panter', 'paul.j3', 'waltermundt', 'leonard.gerard']\npr_nums = []\npriority = 'normal'\nresolution = None\nstage = 'patch review'\nstatus = 'open'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue15112'\nversions = ['Python 2.7', 'Python 3.2', 'Python 3.3', 'Python 3.4']\n```\n\n\u003c/p>\u003c/details>\n\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-124303\n* gh-124436\n* gh-124437\n\u003c!-- /gh-linked-prs -->\n","author":{"url":null,"@type":"Person","name":"waltermundt"},"datePublished":"2012-06-20T04:15:47Z","url":"https://github.com/python/cpython/issues/59317"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e7646d5d-e453-8fed-2b63-871a4e81bea6
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBD9E:3E1398:D80DC8:12207D4:6B005448
html-safe-noncec0c437b72125c8e4b3a402fc64a5ba48f5c91e43cf73aaa1049f05c134db1dcd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDlFOjNFMTM5ODpEODBEQzg6MTIyMDdENDo2QjAwNTQ0OCIsInZpc2l0b3JfaWQiOiIyMDA4MDkyMDgzOTMxMzM3ODAwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacd45bc8be78eaa810dab4ab5fb64b3dc346427787a12c2a54c93262fec63d4e95
hovercard-subject-tagissue:1198884126
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/59317/issue_layout
twitter:imagehttps://opengraph.githubassets.com/82def6a5ba4ded9bfab84b566b228089232b0478ab2ab0eebaa377d56d9b12a7/python/cpython/issues/59317
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/82def6a5ba4ded9bfab84b566b228089232b0478ab2ab0eebaa377d56d9b12a7/python/cpython/issues/59317
og:image:altBPO 15112 Nosy @cjerdonek, @vadmium Files argparse_fix_empty_nargs_star.patch: Proposed fix15112.patchmixed.patch Note: these values reflect the state of the issue at the time it was migrated and m...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamewaltermundt
hostnamegithub.com
expected-hostnamegithub.com
Nonef420f4996e6b1ff1ccd6d7683f8134f4b5f0f8a50124c210dbfe7490e5644abb
turbo-cache-controlno-preview
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
release26e00df917aba0f128135dc073ea0c5e33a70d40
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/cpython/issues/59317#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F59317
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%2Fissues%2F59317
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/59317
Reloadhttps://github.com/python/cpython/issues/59317
Reloadhttps://github.com/python/cpython/issues/59317
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
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/59317
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/59317
argparse: nargs='*' positional argument doesn't accept any items if preceded by an option and another positionalhttps://github.com/python/cpython/issues/59317#top
stdlibStandard Library Python modules in the Lib/ directoryhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
on Jun 20, 2012https://github.com/python/cpython/issues/59317#issue-1198884126
15112https://bugs.python.org/issue15112
@cjerdonekhttps://github.com/cjerdonek
@vadmiumhttps://github.com/vadmium
argparse_fix_empty_nargs_star.patchhttps://bugs.python.org/file26097/argparse_fix_empty_nargs_star.patch
15112.patchhttps://bugs.python.org/file26485/15112.patch
mixed.patchhttps://bugs.python.org/file31457/mixed.patch
gh-59317: Improve parsing optional positional arguments in argparse #124303https://github.com/python/cpython/pull/124303
[3.13] gh-59317: Improve parsing optional positional arguments in argparse (GH-124303) #124436https://github.com/python/cpython/pull/124436
[3.12] gh-59317: Improve parsing optional positional arguments in argparse (GH-124303) #124437https://github.com/python/cpython/pull/124437
Nexthttps://github.com/python/cpython/issues/59317?timeline_page=1
on Jun 20, 2012https://github.com/python/cpython/issues/59317#issuecomment-1093583231
on Jun 22, 2012https://github.com/python/cpython/issues/59317#issuecomment-1093583233
stdlibStandard Library Python modules in the Lib/ directoryhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
on Jun 23, 2012https://github.com/python/cpython/issues/59317#event-6403056343
on Jul 22, 2012https://github.com/python/cpython/issues/59317#issuecomment-1093583235
https://github.com/cjerdonek
cjerdonekhttps://github.com/cjerdonek
on Dec 29, 2012https://github.com/python/cpython/issues/59317#issuecomment-1093583236
https://github.com/vadmium
vadmiumhttps://github.com/vadmium
on Aug 24, 2013https://github.com/python/cpython/issues/59317#issuecomment-1093583238
file1https://bugs.python.org/file1
file2https://bugs.python.org/file2
on Aug 25, 2013https://github.com/python/cpython/issues/59317#issuecomment-1093583241
http://bugs.python.org/issue14191http://bugs.python.org/issue14191
http://bugs.python.org/msg187051http://bugs.python.org/msg187051
http://bugs.python.org/issue9334#msg184987http://bugs.python.org/issue9334#msg184987
on Aug 28, 2013https://github.com/python/cpython/issues/59317#issuecomment-1093583243
on Jul 1, 2014https://github.com/python/cpython/issues/59317#issuecomment-1093583244
http://bugs.python.org/issue14174http://bugs.python.org/issue14174
on Sep 3, 2014https://github.com/python/cpython/issues/59317#issuecomment-1093583245
on Sep 3, 2014https://github.com/python/cpython/issues/59317#issuecomment-1093583246
on Sep 3, 2014https://github.com/python/cpython/issues/59317#issuecomment-1093583247
http://bugs.python.org/issue14191http://bugs.python.org/issue14191
https://github.com/vadmium
vadmiumhttps://github.com/vadmium
on May 18, 2015https://github.com/python/cpython/issues/59317#issuecomment-1093583249
bpo-24223https://bugs.python.org/issue?@action=redirect&bpo=24223
https://github.com/vadmium
vadmiumhttps://github.com/vadmium
on Apr 4, 2016https://github.com/python/cpython/issues/59317#issuecomment-1093583253
bpo-24223https://bugs.python.org/issue?@action=redirect&bpo=24223
serhiy-storchakahttps://github.com/serhiy-storchaka
on Sep 24, 2024https://github.com/python/cpython/issues/59317#event-14381423964
[3.12] gh-59317: Improve parsing optional positional arguments in arg…https://github.com/python/cpython/commit/996e4094017f22660ad74f94d092f8ba2cc1675e
gh-59317https://github.com/python/cpython/issues/59317
996e409https://github.com/python/cpython/commit/996e4094017f22660ad74f94d092f8ba2cc1675e
serhiy-storchakahttps://github.com/serhiy-storchaka
on Oct 7, 2024https://github.com/python/cpython/issues/59317#event-14547019413
[3.13] gh-59317: Improve parsing optional positional arguments in arg…https://github.com/python/cpython/commit/16127de2eb1a3dae56326560952c9b49f547cb3e
gh-59317https://github.com/python/cpython/issues/59317
16127dehttps://github.com/python/cpython/commit/16127de2eb1a3dae56326560952c9b49f547cb3e
brinkflewhttps://github.com/brinkflew
on Oct 29, 2024https://github.com/python/cpython/issues/59317#event-14987386326
[FIX] odev: python/cpython#59317https://github.com/odoo-odev/odev/commit/aa366fe3448bd97fc6fc85448354e2c6ded29210
python/cpython#59317https://github.com/python/cpython/issues/59317
aa366fehttps://github.com/odoo-odev/odev/commit/aa366fe3448bd97fc6fc85448354e2c6ded29210
[FIX] odev: parsing of unknown arguments in python 3.12.7+https://github.com/odoo-odev/odev/commit/942ff2a85037fc70a4b3e0c63f0aada33a6c0143
942ff2ahttps://github.com/odoo-odev/odev/commit/942ff2a85037fc70a4b3e0c63f0aada33a6c0143
[FIX] odev: parsing of unknown arguments in python 3.12.7+https://github.com/odoo-odev/odev/commit/f8516ad84f59583059f598a779ffbc52019eae44
f8516adhttps://github.com/odoo-odev/odev/commit/f8516ad84f59583059f598a779ffbc52019eae44
[FIX] odev: parsing of unknown arguments in python 3.12.7+https://github.com/odoo-odev/odev/commit/07ecc2b1905786fe4ff7e6e124b80481fb7383c0
07ecc2bhttps://github.com/odoo-odev/odev/commit/07ecc2b1905786fe4ff7e6e124b80481fb7383c0
[FIX] odev: parsing of unknown arguments in python 3.12.7+https://github.com/odoo-odev/odev/commit/3d031e76e007555a7ac8f62b49c78c23117dcd04
3d031e7https://github.com/odoo-odev/odev/commit/3d031e76e007555a7ac8f62b49c78c23117dcd04
[FIX] odev: parsing of unknown arguments in python 3.12.7+https://github.com/odoo-odev/odev/commit/a64023c58e0b3e320bd791fc615d239b482f18c5
a64023chttps://github.com/odoo-odev/odev/commit/a64023c58e0b3e320bd791fc615d239b482f18c5
[FIX] odev: parsing of unknown arguments in python 3.12.7+https://github.com/odoo-odev/odev/commit/e11ba62b340746c67231360fbac88165b43ad634
e11ba62https://github.com/odoo-odev/odev/commit/e11ba62b340746c67231360fbac88165b43ad634
[FIX] odev: parsing of unknown arguments in python 3.12.7+https://github.com/odoo-odev/odev/commit/87c7769c4693706bd5326dc973c1d6f90a8566f6
87c7769https://github.com/odoo-odev/odev/commit/87c7769c4693706bd5326dc973c1d6f90a8566f6
[FIX] odev: parsing of unknown arguments in python 3.12.7+https://github.com/odoo-odev/odev/commit/07f053347a66e1f4db1d516e147f0c7e70aa08fd
07f0533https://github.com/odoo-odev/odev/commit/07f053347a66e1f4db1d516e147f0c7e70aa08fd
[FIX] odev: parsing of unknown arguments in python 3.12.7+https://github.com/odoo-odev/odev/commit/87163214bd75b91d057436d8ec1bbcbff341c5c3
8716321https://github.com/odoo-odev/odev/commit/87163214bd75b91d057436d8ec1bbcbff341c5c3
[FIX] odev: parsing of unknown arguments in python 3.12.7+https://github.com/odoo-odev/odev/commit/87ee66e04f835c48d00f35242ddabdc92c9d703e
87ee66ehttps://github.com/odoo-odev/odev/commit/87ee66e04f835c48d00f35242ddabdc92c9d703e
[FIX] odev: parsing of unknown arguments in python 3.12.7+https://github.com/odoo-odev/odev/commit/32a7b65cf8bff758781173d75692b3a3b26f0d1f
32a7b65https://github.com/odoo-odev/odev/commit/32a7b65cf8bff758781173d75692b3a3b26f0d1f
Garmelonhttps://github.com/Garmelon
on Aug 4, 2026https://github.com/python/cpython/issues/59317#event-28973612393
fix: getting cache in older python versionshttps://github.com/leanprover/downstream-lean4/commit/5fd904ae1077e42dea829fd4bb83aebe0a0ed3a3
5fd904ahttps://github.com/leanprover/downstream-lean4/commit/5fd904ae1077e42dea829fd4bb83aebe0a0ed3a3
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/cpython/issues/59317
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/cpython/issues/59317
stdlibStandard Library Python modules in the Lib/ directoryhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
Argparse issueshttps://github.com/orgs/python/projects/5
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.