Title: argparse cannot handle empty arguments · Issue #56562 · python/cpython · GitHub
Open Graph Title: argparse cannot handle empty arguments · Issue #56562 · python/cpython
X Title: argparse cannot handle empty arguments · Issue #56562 · python/cpython
Description: BPO 12353 Nosy @bitdancer, @Bluehorn Files issue12353_test.diff: Patch w/ unit testmodify_test_empty.diff: Trivial change to the TestEmptyAndSpaceContainingArguments unit test Note: these values reflect the state of the issue at the time...
Open Graph Description: BPO 12353 Nosy @bitdancer, @Bluehorn Files issue12353_test.diff: Patch w/ unit testmodify_test_empty.diff: Trivial change to the TestEmptyAndSpaceContainingArguments unit test Note: these values re...
X Description: BPO 12353 Nosy @bitdancer, @Bluehorn Files issue12353_test.diff: Patch w/ unit testmodify_test_empty.diff: Trivial change to the TestEmptyAndSpaceContainingArguments unit test Note: these values re...
Opengraph URL: https://github.com/python/cpython/issues/56562
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"argparse cannot handle empty arguments","articleBody":"BPO | [12353](https://bugs.python.org/issue12353)\n--- | :---\nNosy | @bitdancer, @Bluehorn\nFiles | \u003cli\u003e[issue12353_test.diff](https://bugs.python.org/file22430/issue12353_test.diff \"Uploaded as text/plain at 2011-06-23.22:25:26 by @Bluehorn\"): Patch w/ unit test\u003c/li\u003e\u003cli\u003e[modify_test_empty.diff](https://bugs.python.org/file22433/modify_test_empty.diff \"Uploaded as text/plain at 2011-06-24.06:27:23 by @Bluehorn\"): Trivial change to the TestEmptyAndSpaceContainingArguments unit test\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 = None\nclosed_at = \u003cDate 2012-07-22.02:36:39.744\u003e\ncreated_at = \u003cDate 2011-06-17.15:40:06.204\u003e\nlabels = ['type-bug', 'library']\ntitle = 'argparse cannot handle empty arguments'\nupdated_at = \u003cDate 2012-07-22.02:36:39.742\u003e\nuser = 'https://bugs.python.org/bjacobs'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2012-07-22.02:36:39.742\u003e\nactor = 'r.david.murray'\nassignee = 'none'\nclosed = True\nclosed_date = \u003cDate 2012-07-22.02:36:39.744\u003e\ncloser = 'r.david.murray'\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2011-06-17.15:40:06.204\u003e\ncreator = 'bjacobs'\ndependencies = []\nfiles = ['22430', '22433']\nhgrepos = []\nissue_num = 12353\nkeywords = ['patch']\nmessage_count = 12.0\nmessages = ['138515', '138522', '138874', '138883', '138889', '138890', '138946', '138947', '143560', '166078', '166097', '166098']\nnosy_count = 6.0\nnosy_names = ['bethard', 'r.david.murray', 'zbysz', 'torsten', 'python-dev', 'bjacobs']\npr_nums = []\npriority = 'normal'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue12353'\nversions = ['Python 2.7', 'Python 3.2', 'Python 3.3']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/bjacobs","@type":"Person","name":"bjacobs"},"datePublished":"2011-06-17T15:40:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":12},"url":"https://github.com/56562/cpython/issues/56562"}
| 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:0a4b0fb0-fde2-9384-abfc-72a7b9d13e4e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B7C8:34F7A0:3A27C08:502F3E7:6A54C1AB |
| html-safe-nonce | 9c6620a7b5e5024f0f273b8e2ab2c6fee58c54ff25c2f521fc0af51cb89619c5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCN0M4OjM0RjdBMDozQTI3QzA4OjUwMkYzRTc6NkE1NEMxQUIiLCJ2aXNpdG9yX2lkIjoiMjk3MTg4NDMxNzEwMDUyMzk0NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b66d0d631111efe40bb3c38fa125817e3e9d3c2b48e7d6773f795de88e833e64 |
| hovercard-subject-tag | issue:1198870348 |
| 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/56562/issue_layout |
| twitter:image | https://opengraph.githubassets.com/927c925434b95ded11f9537acfc06d652423962d82720b6863726f6e3c9e984a/python/cpython/issues/56562 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/927c925434b95ded11f9537acfc06d652423962d82720b6863726f6e3c9e984a/python/cpython/issues/56562 |
| og:image:alt | BPO 12353 Nosy @bitdancer, @Bluehorn Files issue12353_test.diff: Patch w/ unit testmodify_test_empty.diff: Trivial change to the TestEmptyAndSpaceContainingArguments unit test Note: these values re... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bjacobs |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 69f9664dd5e7a82ba8ab1b4cb7f5a2f09333ab38 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width