Title: Improve error messages for argparse choices using enum · Issue #86667 · python/cpython · GitHub
Open Graph Title: Improve error messages for argparse choices using enum · Issue #86667 · python/cpython
X Title: Improve error messages for argparse choices using enum · Issue #86667 · python/cpython
Description: BPO 42501 Nosy @rhettinger, @miss-islington, @tirkarthi, @shangxiao PRs #23563#23573 Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state. Show more details GitHub fields: ...
Open Graph Description: BPO 42501 Nosy @rhettinger, @miss-islington, @tirkarthi, @shangxiao PRs #23563#23573 Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current ...
X Description: BPO 42501 Nosy @rhettinger, @miss-islington, @tirkarthi, @shangxiao PRs #23563#23573 Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current ...
Opengraph URL: https://github.com/python/cpython/issues/86667
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Improve error messages for argparse choices using enum","articleBody":"BPO | [42501](https://bugs.python.org/issue42501)\n--- | :---\nNosy | @rhettinger, @miss-islington, @tirkarthi, @shangxiao\nPRs | \u003cli\u003epython/cpython#23563\u003c/li\u003e\u003cli\u003epython/cpython#23573\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/rhettinger'\nclosed_at = \u003cDate 2020-11-30.21:22:19.709\u003e\ncreated_at = \u003cDate 2020-11-29.10:20:31.016\u003e\nlabels = ['type-bug', '3.10', 'docs']\ntitle = 'Improve error messages for argparse choices using enum'\nupdated_at = \u003cDate 2020-11-30.21:22:19.708\u003e\nuser = 'https://github.com/shangxiao'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2020-11-30.21:22:19.708\u003e\nactor = 'rhettinger'\nassignee = 'rhettinger'\nclosed = True\nclosed_date = \u003cDate 2020-11-30.21:22:19.709\u003e\ncloser = 'rhettinger'\ncomponents = ['Documentation']\ncreation = \u003cDate 2020-11-29.10:20:31.016\u003e\ncreator = 'shangxiao'\ndependencies = []\nfiles = []\nhgrepos = []\nissue_num = 42501\nkeywords = ['patch']\nmessage_count = 8.0\nmessages = ['382051', '382054', '382058', '382063', '382094', '382096', '382168', '382193']\nnosy_count = 5.0\nnosy_names = ['rhettinger', 'paul.j3', 'miss-islington', 'xtreak', 'shangxiao']\npr_nums = ['23563', '23573']\npriority = 'normal'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue42501'\nversions = ['Python 3.10']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/shangxiao","@type":"Person","name":"shangxiao"},"datePublished":"2020-11-29T10:20:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/86667/cpython/issues/86667"}
| 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:1ba9d71d-1515-4be5-ef7a-39ad46cee7d9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B410:103D35:861697:BD66AA:696F8B0A |
| html-safe-nonce | 8ccb3bb493dda9af0c5038bc163abacff0f03b7c65242b214159dea446a58279 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDEwOjEwM0QzNTo4NjE2OTc6QkQ2NkFBOjY5NkY4QjBBIiwidmlzaXRvcl9pZCI6IjI0OTQzMzA2MzE0NzQ4NzUxNDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4ec474ce83db78fab75c3fd772992fa4f2f1930f8fd7c46950e68c854c323eed |
| hovercard-subject-tag | issue:1199048277 |
| 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/86667/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3f1275bf8aab19a510d55c25fa083f4c2cb08f088746b289ec87505f37993143/python/cpython/issues/86667 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3f1275bf8aab19a510d55c25fa083f4c2cb08f088746b289ec87505f37993143/python/cpython/issues/86667 |
| og:image:alt | BPO 42501 Nosy @rhettinger, @miss-islington, @tirkarthi, @shangxiao PRs #23563#23573 Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | shangxiao |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0ca8d8c65612640b9a1a588b3eed68222ca723ed2d028b18fe81b28936d535eb |
| 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 | 95f60616ce2765d1114fe6da4af405a58c6d26d2 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width