Title: bpo-26510: Allow argparse add_subparsers to take `required` kwarg. by asottile · Pull Request #3027 · python/cpython · GitHub
Open Graph Title: bpo-26510: Allow argparse add_subparsers to take `required` kwarg. by asottile · Pull Request #3027 · python/cpython
X Title: bpo-26510: Allow argparse add_subparsers to take `required` kwarg. by asottile · Pull Request #3027 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: I added both a test to demonstrate the current behaviour / workaround as well as the new behaviour. I'm torn between setting the default required=True (which was the python2 behaviour) and sett...
X Description: I added both a test to demonstrate the current behaviour / workaround as well as the new behaviour. I'm torn between setting the default required=True (which was the python2 behaviour) and ...
Opengraph URL: https://github.com/python/cpython/pull/3027
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:687c6615-be7e-f099-b60d-75d79372004d |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 9724:620C2:B810E8:F2DFFA:6A518EE7 |
| html-safe-nonce | 671108c41d13d32b9137510ea5eefa53922fa26efd0dc0141f2b40e19016318f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzI0OjYyMEMyOkI4MTBFODpGMkRGRkE6NkE1MThFRTciLCJ2aXNpdG9yX2lkIjoiMTkxNzc5MjEyMTk3MjAzNjg4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 831169ac5516ed904035054d3c1378f4105fa7f6d84ec2b5368dd5271c449841 |
| hovercard-subject-tag | pull_request:134722393 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/3027/checks |
| twitter:image | https://opengraph.githubassets.com/775e95a15d808149892293dc1a86c8a4fcac884a83e28b3f053903e982c6b897/python/cpython/pull/3027 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/775e95a15d808149892293dc1a86c8a4fcac884a83e28b3f053903e982c6b897/python/cpython/pull/3027 |
| og:image:alt | I added both a test to demonstrate the current behaviour / workaround as well as the new behaviour. I'm torn between setting the default required=True (which was the python2 behaviour) and sett... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | asottile |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width