Title: gh-105144: Runtime-checkable protocols: move all 'sanity checks' to `_ProtocolMeta.__subclasscheck__` by AlexWaygood · Pull Request #105152 · python/cpython · GitHub
Open Graph Title: gh-105144: Runtime-checkable protocols: move all 'sanity checks' to `_ProtocolMeta.__subclasscheck__` by AlexWaygood · Pull Request #105152 · python/cpython
X Title: gh-105144: Runtime-checkable protocols: move all 'sanity checks' to `_ProtocolMeta.__subclasscheck__` by AlexWaygood · Pull Request #105152 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: I've taken the opportunity here to improve our test coverage of these error messages as well -- previously, we weren't actually ever testing which TypeError was being raised where. Issue:...
X Description: I've taken the opportunity here to improve our test coverage of these error messages as well -- previously, we weren't actually ever testing which TypeError was being raised where. ...
Opengraph URL: https://github.com/python/cpython/pull/105152
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/commits(.:format) |
| route-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:bb28b862-95e2-6961-4304-146318c99572 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 896E:1D5ACA:17D1050:1FD5A35:6969C077 |
| html-safe-nonce | 26b437eca12c64c05f601381ff6f90f2f06df999d48d1f0e4efcdcf710692c3d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTZFOjFENUFDQToxN0QxMDUwOjFGRDVBMzU6Njk2OUMwNzciLCJ2aXNpdG9yX2lkIjoiNjI5NDI2MDEwODYwNjY4NTMwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 21e7117eb47a6ca67a9e2cfef61ed9b94c24894649837ecdf8b1a5a5e505d3b9 |
| hovercard-subject-tag | pull_request:1372497124 |
| 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/105152/commits |
| twitter:image | https://opengraph.githubassets.com/4d0731f8d09bb49e0b4aa5bc02b76ee1dedb390b47d166eaa50c2689e3b9d029/python/cpython/pull/105152 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4d0731f8d09bb49e0b4aa5bc02b76ee1dedb390b47d166eaa50c2689e3b9d029/python/cpython/pull/105152 |
| og:image:alt | I've taken the opportunity here to improve our test coverage of these error messages as well -- previously, we weren't actually ever testing which TypeError was being raised where. Issue:... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AlexWaygood |
| hostname | github.com |
| expected-hostname | github.com |
| None | acedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056 |
| 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 | 83c08c21cdda978090dc44364b71aa5bc6dcea79 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width