| 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:7f5ffd72-b112-ecde-022e-c0fa257c4653 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A584:15879E:335968:48BD70:696A440A |
| html-safe-nonce | a41fa3e4716a738571188456ae5bc5dbfbdf6b1856e75737c4b14309ecc7f90e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTg0OjE1ODc5RTozMzU5Njg6NDhCRDcwOjY5NkE0NDBBIiwidmlzaXRvcl9pZCI6IjY4MjYyODQxNTQzMDgxNTAyODMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a701044112e65b63945f3727687921fe6b6bcbe9907bfe8fcecc44d4c91bba50 |
| hovercard-subject-tag | pull_request:1455272433 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/107469/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/2ec7194e135f7aea6d2bb9e414d0ed7df38aa70ad34961d715b6715c15bd020b/python/cpython/pull/107469 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2ec7194e135f7aea6d2bb9e414d0ed7df38aa70ad34961d715b6715c15bd020b/python/cpython/pull/107469 |
| og:image:alt | Add and use CLIError exception for CLI usage errors
On CLI error, print to stderr instead of stdout
Put the entire CLI in main()
Rework ClinicExternalTest to call main() instead of using subprocess... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | erlend-aasland |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3f871c8e07f0ae1886fa8dac284166d28b09ad5bada6476fc10b674e489788ef |
| 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 | 63c426b30d262aba269ef14c40e3c817b384cd61 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/107469#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F107469 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F107469 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/107469 |
| Reload | https://github.com/python/cpython/pull/107469 |
| Reload | https://github.com/python/cpython/pull/107469 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/107469 |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
33.9k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
71.1k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Code
| https://github.com/python/cpython |
|
Issues
5k+
| https://github.com/python/cpython/issues |
|
Pull requests
2.1k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
31
| https://github.com/python/cpython/projects |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/python/cpython/security |
| Please reload this page | https://github.com/python/cpython/pull/107469 |
|
Insights
| https://github.com/python/cpython/pulse |
|
Code
| https://github.com/python/cpython |
|
Issues
| https://github.com/python/cpython/issues |
|
Pull requests
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://github.com/python/cpython/pull/107469#issue-comment-box |
| erlend-aasland | https://github.com/erlend-aasland |
| python:main | https://github.com/python/cpython/tree/main |
| erlend-aasland:clinic/rework-cli | https://github.com/erlend-aasland/cpython/tree/clinic/rework-cli |
|
gh-107467: Restructure Argument Clinic command-line interface
| https://github.com/python/cpython/pull/107469#top |
| erlend-aasland | https://github.com/erlend-aasland |
| python:main | https://github.com/python/cpython/tree/main |
| erlend-aasland:clinic/rework-cli | https://github.com/erlend-aasland/cpython/tree/clinic/rework-cli |
|
Conversation
9
| https://github.com/python/cpython/pull/107469 |
|
Commits
8
| https://github.com/python/cpython/pull/107469/commits |
|
Checks
0
| https://github.com/python/cpython/pull/107469/checks |
|
Files changed
| https://github.com/python/cpython/pull/107469/files |
| Please reload this page | https://github.com/python/cpython/pull/107469 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/erlend-aasland |
| erlend-aasland | https://github.com/erlend-aasland |
| Jul 30, 2023 | https://github.com/python/cpython/pull/107469#issue-1828094165 |
| Please reload this page | https://github.com/python/cpython/pull/107469 |
| Restructure Argument Clinic CLI #107467 | https://github.com/python/cpython/issues/107467 |
| Please reload this page | https://github.com/python/cpython/pull/107469 |
| erlend-aasland | https://github.com/erlend-aasland |
| July 30, 2023 23:28 | https://github.com/python/cpython/pull/107469#commits-pushed-a16fe3f |
|
| https://github.com/erlend-aasland |
| pythongh-107467 | https://github.com/python/cpython/issues/107467 |
| : Restructure Argument Clinic command-line interface | https://github.com/python/cpython/pull/107469/commits/a16fe3fa2de8b6e551cc891a7a1bad287e75107c |
| a16fe3f | https://github.com/python/cpython/pull/107469/commits/a16fe3fa2de8b6e551cc891a7a1bad287e75107c |
|
| https://github.com/erlend-aasland |
| Add NEWS | https://github.com/python/cpython/pull/107469/commits/665d44f36fdf1ce60b031c0aa54c8786e1bb710d |
| 665d44f | https://github.com/python/cpython/pull/107469/commits/665d44f36fdf1ce60b031c0aa54c8786e1bb710d |
| https://github.com/erlend-aasland |
| erlend-aasland | https://github.com/erlend-aasland |
| AlexWaygood | https://github.com/AlexWaygood |
| code owner | https://github.com/python/cpython/blob/a24e25d74bb5d30775a61853d34e0bb5a7e12c64/.github/CODEOWNERS#L179 |
| July 30, 2023 21:33 | https://github.com/python/cpython/pull/107469#event-9957487654 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Jul 30, 2023 | https://github.com/python/cpython/pull/107469#event-9957487714 |
| https://github.com/erlend-aasland |
| erlend-aasland | https://github.com/erlend-aasland |
| Jul 30, 2023 | https://github.com/python/cpython/pull/107469#event-9957488287 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
Jul 30, 2023
| https://github.com/python/cpython/pull/107469#ref-issue-1828067761 |
|
Restructure Argument Clinic CLI
#107467
| https://github.com/python/cpython/issues/107467 |
| erlend-aasland | https://github.com/erlend-aasland |
| July 31, 2023 00:05 | https://github.com/python/cpython/pull/107469#commits-pushed-0a55f22 |
|
| https://github.com/erlend-aasland |
| Style nit: add missing newline | https://github.com/python/cpython/pull/107469/commits/0a55f221083ae7f17a75e6aaf1cfe65d8351b4ff |
| 0a55f22 | https://github.com/python/cpython/pull/107469/commits/0a55f221083ae7f17a75e6aaf1cfe65d8351b4ff |
|
| https://github.com/erlend-aasland |
| Only run_clinic() can raise CLIError | https://github.com/python/cpython/pull/107469/commits/fd72387853159d514071b54034806441eae9b24a |
| fd72387 | https://github.com/python/cpython/pull/107469/commits/fd72387853159d514071b54034806441eae9b24a |
| https://github.com/erlend-aasland |
| erlend-aasland | https://github.com/erlend-aasland |
| Jul 31, 2023 | https://github.com/python/cpython/pull/107469#issuecomment-1658176059 |
| @AlexWaygood | https://github.com/AlexWaygood |
| Please reload this page | https://github.com/python/cpython/pull/107469 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| Jul 31, 2023 | https://github.com/python/cpython/pull/107469#issuecomment-1658179066 |
| @AlexWaygood | https://github.com/AlexWaygood |
| Please reload this page | https://github.com/python/cpython/pull/107469 |
|
| https://github.com/AlexWaygood |
| Don't reinvent the argparse wheel | https://github.com/python/cpython/pull/107469/commits/75e81b7f2d2f00358511430b23c39eb504331152 |
| 75e81b7 | https://github.com/python/cpython/pull/107469/commits/75e81b7f2d2f00358511430b23c39eb504331152 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| Aug 1, 2023 | https://github.com/python/cpython/pull/107469#issuecomment-1660228719 |
| erlend-aasland#48 | https://github.com/erlend-aasland/cpython/pull/48 |
| Please reload this page | https://github.com/python/cpython/pull/107469 |
|
| https://github.com/AlexWaygood |
| Harmonise expect_failure and expect_success | https://github.com/python/cpython/pull/107469/commits/81aafde8c63a4186a73be7c685d9d7f711cc8dfe |
| 81aafde | https://github.com/python/cpython/pull/107469/commits/81aafde8c63a4186a73be7c685d9d7f711cc8dfe |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
|
Aug 1, 2023
| https://github.com/python/cpython/pull/107469#pullrequestreview-1556927953 |
|
View reviewed changes
| https://github.com/python/cpython/pull/107469/files/81aafde8c63a4186a73be7c685d9d7f711cc8dfe |
| AlexWaygood | https://github.com/AlexWaygood |
| https://github.com/python/cpython/pull/107469#pullrequestreview-1556927953 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/107469 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Aug 1, 2023 | https://github.com/python/cpython/pull/107469#event-9976229693 |
| AlexWaygood | https://github.com/AlexWaygood |
| August 1, 2023 14:00 | https://github.com/python/cpython/pull/107469#commits-pushed-34e3550 |
|
| https://github.com/AlexWaygood |
| Unused imports | https://github.com/python/cpython/pull/107469/commits/34e3550f39215b625b871e0912e38d90fe8dd934 |
| 34e3550 | https://github.com/python/cpython/pull/107469/commits/34e3550f39215b625b871e0912e38d90fe8dd934 |
|
| https://github.com/AlexWaygood |
| sys.exit(0) is only called from main() | https://github.com/python/cpython/pull/107469/commits/71d1c6b8ecf44ef7f460b37eac559409db22500d |
| 71d1c6b | https://github.com/python/cpython/pull/107469/commits/71d1c6b8ecf44ef7f460b37eac559409db22500d |
| https://github.com/erlend-aasland |
| erlend-aasland | https://github.com/erlend-aasland |
|
Aug 1, 2023
| https://github.com/python/cpython/pull/107469#pullrequestreview-1557375362 |
|
View reviewed changes
| https://github.com/python/cpython/pull/107469/files/71d1c6b8ecf44ef7f460b37eac559409db22500d |
| Tools/clinic/clinic.py | https://github.com/python/cpython/pull/107469/files/71d1c6b8ecf44ef7f460b37eac559409db22500d#diff-4c6b55ec7d80a3d60f100ce230eb879d9acbe2e558e01d318960e6197d7c47b3 |
| Please reload this page | https://github.com/python/cpython/pull/107469 |
| https://github.com/erlend-aasland |
| erlend-aasland | https://github.com/erlend-aasland |
| Aug 1, 2023 | https://github.com/python/cpython/pull/107469#issuecomment-1660651283 |
| Please reload this page | https://github.com/python/cpython/pull/107469 |
| https://github.com/erlend-aasland |
| erlend-aasland | https://github.com/erlend-aasland |
| 49f238e | https://github.com/python/cpython/commit/49f238e78c36532bcbca7f9cd172703eb4df319b |
| Aug 1, 2023 | https://github.com/python/cpython/pull/107469#event-9978770248 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
| Aug 1, 2023 | https://github.com/python/cpython/pull/107469#event-9978770760 |
| https://github.com/erlend-aasland |
| erlend-aasland | https://github.com/erlend-aasland |
| August 1, 2023 16:24 | https://github.com/python/cpython/pull/107469#event-9978770846 |
| https://github.com/bedevere-bot |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F107469 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
|
Aug 3, 2023
| https://github.com/python/cpython/pull/107469#ref-pullrequest-1835715783 |
|
gh-106368: Argument clinic tests: improve error message when expect_success() fails
#107606
| https://github.com/python/cpython/pull/107606 |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F107469 |
|
| https://github.com/AlexWaygood |
|
AlexWaygood
| https://github.com/AlexWaygood |
|
| https://github.com/python/cpython/pull/107469/files/71d1c6b8ecf44ef7f460b37eac559409db22500d |
| Please reload this page | https://github.com/python/cpython/pull/107469 |
|
| https://github.com/erlend-aasland |
|
| https://github.com/AlexWaygood |
|
| https://github.com/bedevere-bot |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |