Title: [3.12] gh-121018: Ensure ArgumentParser.parse_args with exit_on_error=False raises instead of exiting when given unrecognized arguments (GH-121019) by miss-islington · Pull Request #121031 · python/cpython · GitHub
Open Graph Title: [3.12] gh-121018: Ensure ArgumentParser.parse_args with exit_on_error=False raises instead of exiting when given unrecognized arguments (GH-121019) by miss-islington · Pull Request #121031 · python/cpython
X Title: [3.12] gh-121018: Ensure ArgumentParser.parse_args with exit_on_error=False raises instead of exiting when given unrecognized arguments (GH-121019) by miss-islington · Pull Request #121031 · python/cpython
Description: (cherry picked from commit 0654336) Co-authored-by: blhsing blhsing@gmail.com Issue: argparse.ArgumentParser.parses_args does not honor exit_on_error=False when given unrecognized arguments #121018
Open Graph Description: (cherry picked from commit 0654336) Co-authored-by: blhsing blhsing@gmail.com Issue: argparse.ArgumentParser.parses_args does not honor exit_on_error=False when given unrecognized arguments #121018
X Description: (cherry picked from commit 0654336) Co-authored-by: blhsing blhsing@gmail.com Issue: argparse.ArgumentParser.parses_args does not honor exit_on_error=False when given unrecognized arguments #121018
Mail addresses
blhsing@gmail.com
Opengraph URL: https://github.com/python/cpython/pull/121031
X: @github
Domain: github.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:bcea865c-130a-7e9b-682b-1970b427a945 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B18E:1672C1:2ECFE7C:3D85F76:696B7E92 |
| html-safe-nonce | 2a3e39ee54aa9d64271394b7132df69ff6b206095e2fa554ba65428aa311c331 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMThFOjE2NzJDMToyRUNGRTdDOjNEODVGNzY6Njk2QjdFOTIiLCJ2aXNpdG9yX2lkIjoiMjU4MzE4NDQ0Njc0MjgyMjU0NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3c30c4342d0d960ac3bc8ab20becd941dd113783f0f7ba14349530888c3e1c9f |
| hovercard-subject-tag | pull_request:1939369929 |
| 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/_view_fragments/voltron/pull_requests/show/python/cpython/121031/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/7f492258e85f652acb27af1d366ce8a2042b7580401acc57cf3bc8ba5c3960f7/python/cpython/pull/121031 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7f492258e85f652acb27af1d366ce8a2042b7580401acc57cf3bc8ba5c3960f7/python/cpython/pull/121031 |
| og:image:alt | (cherry picked from commit 0654336) Co-authored-by: blhsing blhsing@gmail.com Issue: argparse.ArgumentParser.parses_args does not honor exit_on_error=False when given unrecognized arguments #121018 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | miss-islington |
| 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