Title: Add type annotations to clinic.py · Issue #104050 · python/cpython · GitHub
Open Graph Title: Add type annotations to clinic.py · Issue #104050 · python/cpython
X Title: Add type annotations to clinic.py · Issue #104050 · python/cpython
Description: Feature or enhancement Gradually add type hints to clinic.py. Pitch Adding type hints to clinic.py will make it easier to debug, fix bugs, do code review, add new features, and triage. IMO, the churn is worth the effort in the long run. ...
Open Graph Description: Feature or enhancement Gradually add type hints to clinic.py. Pitch Adding type hints to clinic.py will make it easier to debug, fix bugs, do code review, add new features, and triage. IMO, the chu...
X Description: Feature or enhancement Gradually add type hints to clinic.py. Pitch Adding type hints to clinic.py will make it easier to debug, fix bugs, do code review, add new features, and triage. IMO, the chu...
Opengraph URL: https://github.com/python/cpython/issues/104050
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add type annotations to clinic.py","articleBody":"# Feature or enhancement\r\n\r\nGradually add type hints to clinic.py.\r\n\r\n# Pitch\r\n\r\nAdding type hints to clinic.py will make it easier to debug, fix bugs, do code review, add new features, and triage. IMO, the churn is worth the effort in the long run.\r\n\r\n# Previous discussion\r\n\r\nSince adding typing to the CPython code base has been a slightly controversial topic (obviously controversial for `Lib/`), I created a [topic on Discourse](https://discuss.python.org/t/consider-adding-type-hints-to-clinic-py/26320?u=erlendaasland) and asked for feedback. So far, I have not received any discouragements :)\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-104421\n* gh-104538\n* gh-104543\n* gh-104544\n* gh-104547\n* gh-104588\n* gh-104589\n* gh-104626\n* gh-104628\n* gh-104631\n* gh-104648\n* gh-104704\n* gh-104705\n* gh-104706\n* gh-106343\n* gh-106354\n* gh-106357\n* gh-106376\n* gh-106431\n* gh-106435\n* gh-106437\n* gh-106519\n* gh-106655\n* gh-106699\n* gh-106732\n* gh-106750\n* gh-106760\n* gh-106810\n* gh-106929\n* gh-106932\n* gh-106934\n* gh-106935\n* gh-107074\n* gh-107192\n* gh-107200\n* gh-107206\n* gh-107207\n* gh-107209\n* gh-107210\n* gh-107225\n* gh-107264\n* gh-107288\n* gh-107293\n* gh-107294\n* gh-107399\n* gh-107405\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/erlend-aasland","@type":"Person","name":"erlend-aasland"},"datePublished":"2023-05-01T17:47:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/104050/cpython/issues/104050"}
| 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:86d10d6e-25a9-61ec-b237-2763507af9eb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8C8E:26AE24:664156:8A31ED:69695090 |
| html-safe-nonce | 0434da1752e7377ea4b3ed1c0a763a785f45205c8701ed6405d5386c44d49043 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzhFOjI2QUUyNDo2NjQxNTY6OEEzMUVEOjY5Njk1MDkwIiwidmlzaXRvcl9pZCI6IjMwMjIyNzc5MzcxNjgyMDgwMTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 374b622288424247662c19deb2bcaecff8fe800b1cb836b31a342b4713a40fb6 |
| hovercard-subject-tag | issue:1691115674 |
| 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/104050/issue_layout |
| twitter:image | https://opengraph.githubassets.com/69c6f60dcb9971325c384ae2b150db3045270e7878d983131887cd958c99e17e/python/cpython/issues/104050 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/69c6f60dcb9971325c384ae2b150db3045270e7878d983131887cd958c99e17e/python/cpython/issues/104050 |
| og:image:alt | Feature or enhancement Gradually add type hints to clinic.py. Pitch Adding type hints to clinic.py will make it easier to debug, fix bugs, do code review, add new features, and triage. IMO, the chu... |
| 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 | 54182691a21263b584d2e600b758e081b0ff1d10ffc0d2eefa51cf754b43b51d |
| 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 | d69ac0477df0f87da03b8b06cebd187012d7a930 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width