Title: GH-121970: Rewrite the C-API annotations extension by AA-Turner · Pull Request #121985 · python/cpython · GitHub
Open Graph Title: GH-121970: Rewrite the C-API annotations extension by AA-Turner · Pull Request #121985 · python/cpython
X Title: GH-121970: Rewrite the C-API annotations extension by AA-Turner · Pull Request #121985 · python/cpython
Description: I've tested the output before and after this commit, entirely equal save for a new link target in c-api/module.html#c.Py_mod_create.create_module and c-api/module.html#c.Py_mod_exec.exec_module (because we switch from patching in :noindex: to using the C Domain's supported :no-index-entry:). This introduces some new dataclasses, removes the state stored in closures and the Annotated class instance, and does some small cleanups. Notably, stable_abi.dat is changed to storing the role name rather than the object type, which simplifies things a little. A 📚 Documentation preview 📚: https://cpython-previews--121985.org.readthedocs.build/en/121985/c-api/index.html Issue: gh-121970
Open Graph Description: I've tested the output before and after this commit, entirely equal save for a new link target in c-api/module.html#c.Py_mod_create.create_module and c-api/module.html#c.Py_mod_exec.exec_module...
X Description: I've tested the output before and after this commit, entirely equal save for a new link target in c-api/module.html#c.Py_mod_create.create_module and c-api/module.html#c.Py_mod_exec.exec_mo...
Opengraph URL: https://github.com/python/cpython/pull/121985
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:c383b12d-3d9b-4dd8-849c-b85f6f3efff0 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C8A2:14EC01:B967F5:1034C55:696A28D0 |
| html-safe-nonce | f98a4bfa8a27f1360ffea8f6a9d17113ec4204733d5517e0edcf512b2d067c1f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOEEyOjE0RUMwMTpCOTY3RjU6MTAzNEM1NTo2OTZBMjhEMCIsInZpc2l0b3JfaWQiOiI1MzMzMDAyNjIzMzkwNDYwMTEyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5332919e2659d34ec841e7e348fd6ef5f9fba7533c6995559497ba8be7dacd3b |
| hovercard-subject-tag | pull_request:1976816320 |
| 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/121985/files |
| twitter:image | https://avatars.githubusercontent.com/u/9087854?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/9087854?s=400&v=4 |
| og:image:alt | I've tested the output before and after this commit, entirely equal save for a new link target in c-api/module.html#c.Py_mod_create.create_module and c-api/module.html#c.Py_mod_exec.exec_module... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | a1022f03e4f0d91ea173e4e5dac892c982e0588c62f1ce56121d755a320a3569 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f472b8e6c7b3fdd5d0354972a3f4c516289bf0be |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width