Title: argparse does not accept options taking arguments beginning with dash (regression from optparse) · Issue #53580 · python/cpython · GitHub
Open Graph Title: argparse does not accept options taking arguments beginning with dash (regression from optparse) · Issue #53580 · python/cpython
X Title: argparse does not accept options taking arguments beginning with dash (regression from optparse) · Issue #53580 · python/cpython
Description: BPO 9334 Nosy @rhettinger, @cben, @ericvsmith, @orivej, @merwok, @bitdancer, @andersk, @vadmium, @spaceone, @vporton, @maggyero, @tirkarthi, @gaborbernat Files final.patch: patch for issue 9334python-argparse-error.patchargparse_opt.py N...
Open Graph Description: BPO 9334 Nosy @rhettinger, @cben, @ericvsmith, @orivej, @merwok, @bitdancer, @andersk, @vadmium, @spaceone, @vporton, @maggyero, @tirkarthi, @gaborbernat Files final.patch: patch for issue 9334pyth...
X Description: BPO 9334 Nosy @rhettinger, @cben, @ericvsmith, @orivej, @merwok, @bitdancer, @andersk, @vadmium, @spaceone, @vporton, @maggyero, @tirkarthi, @gaborbernat Files final.patch: patch for issue 9334pyth...
Opengraph URL: https://github.com/python/cpython/issues/53580
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"argparse does not accept options taking arguments beginning with dash (regression from optparse)","articleBody":"BPO | [9334](https://bugs.python.org/issue9334)\n--- | :---\nNosy | @rhettinger, @cben, @ericvsmith, @orivej, @merwok, @bitdancer, @andersk, @vadmium, @spaceone, @vporton, @maggyero, @tirkarthi, @gaborbernat\nFiles | \u003cli\u003e[final.patch](https://bugs.python.org/file29548/final.patch \"Uploaded as text/plain at 2013-03-22.17:16:16 by paul.j3\"): patch for issue 9334\u003c/li\u003e\u003cli\u003e[python-argparse-error.patch](https://bugs.python.org/file47302/python-argparse-error.patch \"Uploaded as text/plain at 2017-11-29.00:06:10 by evaned\")\u003c/li\u003e\u003cli\u003e[argparse_opt.py](https://bugs.python.org/file47404/argparse_opt.py \"Uploaded as text/plain at 2018-01-24.00:35:35 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 = None\nclosed_at = \u003cDate 2021-12-26.23:41:14.505\u003e\ncreated_at = \u003cDate 2010-07-22.22:15:36.970\u003e\nlabels = ['3.7', 'type-feature', 'library']\ntitle = 'argparse does not accept options taking arguments beginning with dash (regression from optparse)'\nupdated_at = \u003cDate 2022-01-12.23:59:10.962\u003e\nuser = 'https://github.com/andersk'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2022-01-12.23:59:10.962\u003e\nactor = 'andersk'\nassignee = 'none'\nclosed = True\nclosed_date = \u003cDate 2021-12-26.23:41:14.505\u003e\ncloser = 'rhettinger'\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2010-07-22.22:15:36.970\u003e\ncreator = 'andersk'\ndependencies = []\nfiles = ['29548', '47302', '47404']\nhgrepos = []\nissue_num = 9334\nkeywords = ['patch']\nmessage_count = 71.0\nmessages = ['111221', '111224', '111227', '111228', '111230', '111279', '111367', '111669', '111670', '111673', '111691', '128014', '128025', '128047', '128055', '128062', '128071', '128072', '128076', '128078', '128090', '128091', '128094', '128104', '128134', '128179', '128266', '128728', '132220', '132260', '150310', '150320', '169712', '169978', '184174', '184177', '184178', '184180', '184211', '184425', '184987', '239435', '251815', '251862', '263211', '263216', '276486', '276503', '276524', '276634', '307193', '307209', '307210', '307213', '307786', '309685', '309691', '309693', '310540', '322678', '331729', '331732', '331736', '404229', '409125', '409221', '409222', '409223', '409225', '409227', '410445']\nnosy_count = 31.0\nnosy_names = ['rhettinger', 'cben', 'amcnabb', 'bethard', 'eric.smith', 'orivej', 'eric.araujo', 'r.david.murray', 'memeplex', 'gfxmonk', 'evaned', 'andersk', 'abacabadabacaba', 'gdb', 'nelhage', 'drm', 'davidben', 'martin.panter', 'paul.j3', 'skilletaudio', 'Christophe.Guillon', 'danielsh', 'spaceone', 'Clint Olsen', 'porton', 'Socob', 'maggyero', 'karzes', 'xtreak', 'fennec15', 'gaborjbernat']\npr_nums = []\npriority = 'normal'\nresolution = 'wont fix'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'enhancement'\nurl = 'https://bugs.python.org/issue9334'\nversions = ['Python 3.7']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/andersk","@type":"Person","name":"andersk"},"datePublished":"2010-07-22T22:15:37.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":87},"url":"https://github.com/53580/cpython/issues/53580"}
| 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:eb23b85c-486b-1f66-fc06-b902cf2fe923 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B098:2F9B2B:5CE3CD:7E0D56:696BA876 |
| html-safe-nonce | 48b3800546edaa909519abc05d8bfdea0dd0bd9d97b2957e3d5deac94b9014cf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDk4OjJGOUIyQjo1Q0UzQ0Q6N0UwRDU2OjY5NkJBODc2IiwidmlzaXRvcl9pZCI6IjU5ODUyNTU0MDk0MzYwNDMzODIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5b3a4d23875ee8e2f5b81c18be85fd3cf691c0e6f9340d124a5053b342559171 |
| hovercard-subject-tag | issue:1198857969 |
| 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/53580/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c418a1778ba1e1af21a872cddb833d85fdbc65f849092f5bf68d33783592f634/python/cpython/issues/53580 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c418a1778ba1e1af21a872cddb833d85fdbc65f849092f5bf68d33783592f634/python/cpython/issues/53580 |
| og:image:alt | BPO 9334 Nosy @rhettinger, @cben, @ericvsmith, @orivej, @merwok, @bitdancer, @andersk, @vadmium, @spaceone, @vporton, @maggyero, @tirkarthi, @gaborbernat Files final.patch: patch for issue 9334pyth... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | andersk |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width