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
Domain: github.com
{"@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-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e7646d5d-e453-8fed-2b63-871a4e81bea6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BD9E:3E1398:D80DC8:12207D4:6B005448 |
| html-safe-nonce | c0c437b72125c8e4b3a402fc64a5ba48f5c91e43cf73aaa1049f05c134db1dcd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDlFOjNFMTM5ODpEODBEQzg6MTIyMDdENDo2QjAwNTQ0OCIsInZpc2l0b3JfaWQiOiIyMDA4MDkyMDgzOTMxMzM3ODAwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d45bc8be78eaa810dab4ab5fb64b3dc346427787a12c2a54c93262fec63d4e95 |
| hovercard-subject-tag | issue:1198884126 |
| 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/59317/issue_layout |
| twitter:image | https://opengraph.githubassets.com/82def6a5ba4ded9bfab84b566b228089232b0478ab2ab0eebaa377d56d9b12a7/python/cpython/issues/59317 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/82def6a5ba4ded9bfab84b566b228089232b0478ab2ab0eebaa377d56d9b12a7/python/cpython/issues/59317 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | waltermundt |
| hostname | github.com |
| expected-hostname | github.com |
| None | f420f4996e6b1ff1ccd6d7683f8134f4b5f0f8a50124c210dbfe7490e5644abb |
| 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 | 26e00df917aba0f128135dc073ea0c5e33a70d40 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width