Title: GH-130750: Restore quoting of choices in argparse error messages to match documentation and improve clarity by savannahostrowski · Pull Request #144983 · python/cpython · GitHub
Open Graph Title: GH-130750: Restore quoting of choices in argparse error messages to match documentation and improve clarity by savannahostrowski · Pull Request #144983 · python/cpython
X Title: GH-130750: Restore quoting of choices in argparse error messages to match documentation and improve clarity by savannahostrowski · Pull Request #144983 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: In 66b3922 (gh-117766), argparse was changed to use str() instead of repr() when displaying choices in error messages. This was done to improve StrEnum display, but had the side effect of removing ...
X Description: In 66b3922 (gh-117766), argparse was changed to use str() instead of repr() when displaying choices in error messages. This was done to improve StrEnum display, but had the side effect of removing ...
Opengraph URL: https://github.com/python/cpython/pull/144983
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:d212c5b6-c2ba-27fa-7d0f-5f68967157a9 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9D7A:11597D:4962B8:638051:6A4F32DF |
| html-safe-nonce | b5b77f703b8d905506bb3eeb171b9db13341d97b44de9905a61037b321fecf07 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDdBOjExNTk3RDo0OTYyQjg6NjM4MDUxOjZBNEYzMkRGIiwidmlzaXRvcl9pZCI6IjE4NTg3NDQwNDUxMjkzODA1NzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c70fd3fc2244ede9cb9bc76f41a2cbbb9ab85733b654b90e40781af8ed8acc9d |
| hovercard-subject-tag | pull_request:3301368354 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/python/cpython/pull/144983/commits |
| twitter:image | https://opengraph.githubassets.com/327cfa3695c056163b9346e116d9378cfb20f8de0ccf25fa630f44e532a8305a/python/cpython/pull/144983 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/327cfa3695c056163b9346e116d9378cfb20f8de0ccf25fa630f44e532a8305a/python/cpython/pull/144983 |
| og:image:alt | In 66b3922 (gh-117766), argparse was changed to use str() instead of repr() when displaying choices in error messages. This was done to improve StrEnum display, but had the side effect of removing ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | savannahostrowski |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-cache |
| 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 | 2b8f23afb982271f1b22258a94aede67a6b77760 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width