Title: argparse assertion failure with brackets in metavars · Issue #56083 · python/cpython · GitHub
Open Graph Title: argparse assertion failure with brackets in metavars · Issue #56083 · python/cpython
X Title: argparse assertion failure with brackets in metavars · Issue #56083 · python/cpython
Description: BPO 11874 Nosy @ncoghlan, @merwok, @IIIIllllIIIIllllIIIIllllIIIIllllIIIIll, @wimglenn, @vajrasky, @wm75, @spaceone, @miss-islington PRs #1826#7527#7528#7530#7553 Files issue_11874.diffunit_test_for_inner_bracket_metavar.txt: Unit testuni...
Open Graph Description: BPO 11874 Nosy @ncoghlan, @merwok, @IIIIllllIIIIllllIIIIllllIIIIllllIIIIll, @wimglenn, @vajrasky, @wm75, @spaceone, @miss-islington PRs #1826#7527#7528#7530#7553 Files issue_11874.diffunit_test_for...
X Description: BPO 11874 Nosy @ncoghlan, @merwok, @IIIIllllIIIIllllIIIIllllIIIIllllIIIIll, @wimglenn, @vajrasky, @wm75, @spaceone, @miss-islington PRs #1826#7527#7528#7530#7553 Files issue_11874.diffunit_test_for...
Opengraph URL: https://github.com/python/cpython/issues/56083
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"argparse assertion failure with brackets in metavars","articleBody":"BPO | [11874](https://bugs.python.org/issue11874)\n--- | :---\nNosy | @ncoghlan, @merwok, @IIIIllllIIIIllllIIIIllllIIIIllllIIIIll, @wimglenn, @vajrasky, @wm75, @spaceone, @miss-islington\nPRs | \u003cli\u003epython/cpython#1826\u003c/li\u003e\u003cli\u003epython/cpython#7527\u003c/li\u003e\u003cli\u003epython/cpython#7528\u003c/li\u003e\u003cli\u003epython/cpython#7530\u003c/li\u003e\u003cli\u003epython/cpython#7553\u003c/li\u003e\nFiles | \u003cli\u003e[issue_11874.diff](https://bugs.python.org/file21832/issue_11874.diff \"Uploaded as text/plain at 2011-04-29.09:06:42 by ysj.ray\")\u003c/li\u003e\u003cli\u003e[unit_test_for_inner_bracket_metavar.txt](https://bugs.python.org/file30911/unit_test_for_inner_bracket_metavar.txt \"Uploaded as text/plain at 2013-07-14.03:44:13 by @vajrasky\"): Unit test\u003c/li\u003e\u003cli\u003e[unit_test_argparse.txt](https://bugs.python.org/file30913/unit_test_argparse.txt \"Uploaded as text/plain at 2013-07-14.09:42:30 by @vajrasky\"): Revamped unit test\u003c/li\u003e\u003cli\u003e[fix_and_unit_test_for_argparse_inner_bracket_bug.txt](https://bugs.python.org/file30915/fix_and_unit_test_for_argparse_inner_bracket_bug.txt \"Uploaded as text/plain at 2013-07-14.10:58:14 by @vajrasky\"): Fix and unit test for the argparse inner bracket metavar bug\u003c/li\u003e\u003cli\u003e[format_usage.patch](https://bugs.python.org/file35028/format_usage.patch \"Uploaded as text/plain at 2014-04-24.22:12:11 by paul.j3\")\u003c/li\u003e\n\n\u003csup\u003e*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup\u003e\n\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\n\nGitHub fields:\n```python\nassignee = 'https://github.com/ncoghlan'\nclosed_at = \u003cDate 2018-06-09.10:53:29.284\u003e\ncreated_at = \u003cDate 2011-04-19.08:20:50.571\u003e\nlabels = ['3.7', 'type-bug', 'library']\ntitle = 'argparse assertion failure with brackets in metavars'\nupdated_at = \u003cDate 2018-06-09.10:53:29.283\u003e\nuser = 'https://bugs.python.org/htnieman'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2018-06-09.10:53:29.283\u003e\nactor = 'ncoghlan'\nassignee = 'ncoghlan'\nclosed = True\nclosed_date = \u003cDate 2018-06-09.10:53:29.284\u003e\ncloser = 'ncoghlan'\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2011-04-19.08:20:50.571\u003e\ncreator = 'htnieman'\ndependencies = []\nfiles = ['21832', '30911', '30913', '30915', '35028']\nhgrepos = []\nissue_num = 11874\nkeywords = ['patch']\nmessage_count = 23.0\nmessages = ['134021', '134558', '134741', '149547', '193021', '193022', '193042', '193046', '193068', '193072', '193112', '193187', '216812', '230187', '230198', '262105', '294575', '295214', '319041', '319050', '319054', '319124', '319127']\nnosy_count = 15.0\nnosy_names = ['ncoghlan', 'bethard', 'eric.araujo', 'ysj.ray', 'xuanji', 'htnieman', 'manveru', 'paul.j3', 'wim.glenn', 'vajrasky', 'wolma', 'mZarjk', 'spaceone', 'mattpr', 'miss-islington']\npr_nums = ['1826', '7527', '7528', '7530', '7553']\npriority = 'high'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue11874'\nversions = ['Python 2.7', 'Python 3.4', 'Python 3.5', 'Python 3.6', 'Python 3.7']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/htnieman","@type":"Person","name":"htnieman"},"datePublished":"2011-04-19T08:20:51.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":23},"url":"https://github.com/56083/cpython/issues/56083"}
| 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:0436f973-93d1-fda2-12f8-8739a4c4493f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D9EC:36DBB6:5558F6:78186A:696A2440 |
| html-safe-nonce | 81d38f47ebb955be1ed3105097bec58dac59c44872360ecd9fbaaa6881d56e41 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOUVDOjM2REJCNjo1NTU4RjY6NzgxODZBOjY5NkEyNDQwIiwidmlzaXRvcl9pZCI6Ijc1MDk4OTc2ODM0NDc0NTY4MzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 05001b1f9fbf806a0a175354955edcffdaddf9557db4e724f26fd80992f848b4 |
| hovercard-subject-tag | issue:1198868454 |
| 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/56083/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e32c774b4d42dfbc0f5bd52e758bbf97000a465d143bb5ad35e7c53fa92b9553/python/cpython/issues/56083 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e32c774b4d42dfbc0f5bd52e758bbf97000a465d143bb5ad35e7c53fa92b9553/python/cpython/issues/56083 |
| og:image:alt | BPO 11874 Nosy @ncoghlan, @merwok, @IIIIllllIIIIllllIIIIllllIIIIllllIIIIll, @wimglenn, @vajrasky, @wm75, @spaceone, @miss-islington PRs #1826#7527#7528#7530#7553 Files issue_11874.diffunit_test_for... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | htnieman |
| hostname | github.com |
| expected-hostname | github.com |
| None | a1022f03e4f0d91ea173e4e5dac892c982e0588c62f1ce56121d755a320a3569 |
| 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 | f472b8e6c7b3fdd5d0354972a3f4c516289bf0be |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width