| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:4bdd1d2c-729a-018b-7cf6-ef23d9e2a798 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C3DE:3D7D23:D7BDE:12731F:6AFE33A9 |
| html-safe-nonce | ffa33366aafabfedc9627beb2715a20f397317bee2aae18538d851f1c8c93ddc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDM0RFOjNEN0QyMzpEN0JERToxMjczMUY6NkFGRTMzQTkiLCJ2aXNpdG9yX2lkIjoiMjIzNDc3ODgzNDMxNjQ0MDQ4OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | dbc16859c0b94da9c95c48cbe15cf5422d38a306ca8d768307c9dfe6d32801ee |
| hovercard-subject-tag | pull_request:1303358185 |
| 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/103280/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/0a13844745acc064d3634b92c3f2f418d7b5303b6e2ff68125d33829c68d93bf/python/cpython/pull/103280 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0a13844745acc064d3634b92c3f2f418d7b5303b6e2ff68125d33829c68d93bf/python/cpython/pull/103280 |
| og:image:alt | I probably should have spotted this when doing #103034! This provides some more speedup for isinstance() checks against runtime-checkable protocols. The improvement is small, but noticeable.
Benchm... |
| 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 | d70e31220a67f6376c108d2416fa8e7df854c1065b1672ab7a88ab6dc3a809e2 |
| 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 | ccb88d9c92abe69245b429398c8a57ae87070c7c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://togithub.com/python/cpython/pull/103280#start-of-content |
| https://togithub.com/ |
| Sign in | https://togithub.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F103280 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| 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 |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | 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/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://togithub.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F103280 |
| Sign up | https://togithub.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://togithub.com/python/cpython/pull/103280 |
| Reload | https://togithub.com/python/cpython/pull/103280 |
| Reload | https://togithub.com/python/cpython/pull/103280 |
| python | https://togithub.com/python |
| cpython | https://togithub.com/python/cpython |
| Code | https://togithub.com/python/cpython |
| Issues5k+ (5k+) | https://togithub.com/python/cpython/issues |
| Pull requests2.4k (2.4k) | https://togithub.com/python/cpython/pulls |
| Actions | https://togithub.com/python/cpython/actions |
| Projects | https://togithub.com/python/cpython/projects |
| Security and quality | https://togithub.com/python/cpython/security |
| Insights | https://togithub.com/python/cpython/insights |
| https://togithub.com/python/cpython |
| AlexWaygood | https://togithub.com/AlexWaygood |
| python:main | https://togithub.com/python/cpython/tree/main |
| AlexWaygood:more-optimisation | https://togithub.com/AlexWaygood/cpython/tree/more-optimisation |
| Conversation | https://togithub.com/python/cpython/pull/103280 |
| Commits1 (1) | https://togithub.com/python/cpython/pull/103280/commits |
| Checks | https://togithub.com/python/cpython/pull/103280/checks |
| Files changed | https://togithub.com/python/cpython/pull/103280/files |
| gh-74690: Further optimise typing._ProtocolMeta.__instancecheck__ | https://togithub.com/python/cpython/pull/103280#top |
| AlexWaygood | https://togithub.com/AlexWaygood |
| python:main | https://togithub.com/python/cpython/tree/main |
| AlexWaygood:more-optimisation | https://togithub.com/AlexWaygood/cpython/tree/more-optimisation |
|
| https://togithub.com/AlexWaygood |
| AlexWaygood | https://togithub.com/AlexWaygood |
| Apr 5, 2023 | https://togithub.com/python/cpython/pull/103280#issue-1655797096 |
| Please reload this page | https://togithub.com/python/cpython/pull/103280 |
| #103034 | https://github.com/python/cpython/pull/103034 |
| Performance of typing._ProtocolMeta._get_protocol_attrs and isinstance #74690 | https://github.com/python/cpython/issues/74690 |
| Please reload this page | https://togithub.com/python/cpython/pull/103280 |
|
| https://togithub.com/AlexWaygood |
| pythongh-74690 | https://github.com/python/cpython/issues/74690 |
| : Further optimise `typing._ProtocolMeta.__instancechec… | https://togithub.com/python/cpython/pull/103280/commits/eee4b2c91c1da374f9d5b2cb735d96f7bef4c3dc |
| eee4b2c | https://togithub.com/python/cpython/pull/103280/commits/eee4b2c91c1da374f9d5b2cb735d96f7bef4c3dc |
| https://togithub.com/AlexWaygood |
| AlexWaygood | https://togithub.com/AlexWaygood |
|
type-feature
| https://togithub.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-feature |
|
performance
| https://togithub.com/python/cpython/issues?q=state%3Aopen%20label%3Aperformance |
|
stdlib
| https://togithub.com/python/cpython/issues?q=state%3Aopen%20label%3Astdlib |
|
topic-typing
| https://togithub.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-typing |
|
3.12
| https://togithub.com/python/cpython/issues?q=state%3Aopen%20label%3A3.12 |
| Apr 5, 2023 | https://togithub.com/python/cpython/pull/103280#event-8936274410 |
| https://togithub.com/AlexWaygood |
| AlexWaygood | https://togithub.com/AlexWaygood |
| carljm | https://togithub.com/carljm |
| April 5, 2023 15:00 | https://togithub.com/python/cpython/pull/103280#event-8936274484 |
| https://togithub.com/AlexWaygood |
| AlexWaygood | https://togithub.com/AlexWaygood |
| Fidget-Spinner | https://togithub.com/Fidget-Spinner |
| JelleZijlstra | https://togithub.com/JelleZijlstra |
| gvanrossum | https://togithub.com/gvanrossum |
| code owners | https://togithub.com/python/cpython/blob/fdd0fff277a55c010a4da0a7af0e986e38560545/.github/CODEOWNERS#L141 |
| April 5, 2023 15:00 | https://togithub.com/python/cpython/pull/103280#event-8936274650 |
| https://togithub.com/bedevere-bot |
| bedevere-bot | https://togithub.com/bedevere-bot |
|
awaiting core review
| https://togithub.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Apr 5, 2023 | https://togithub.com/python/cpython/pull/103280#event-8936275183 |
| https://togithub.com/bedevere-bot |
| bedevere-bot | https://togithub.com/bedevere-bot |
|
Apr 5, 2023
| https://togithub.com/python/cpython/pull/103280#ref-issue-1198974045 |
|
Performance of typing._ProtocolMeta._get_protocol_attrs and isinstance
#74690
| https://togithub.com/python/cpython/issues/74690 |
| https://togithub.com/AlexWaygood |
| AlexWaygood | https://togithub.com/AlexWaygood |
|
skip news
| https://togithub.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22 |
| Apr 5, 2023 | https://togithub.com/python/cpython/pull/103280#event-8936282169 |
| https://togithub.com/AlexWaygood |
| AlexWaygood | https://togithub.com/AlexWaygood |
| Apr 5, 2023 | https://togithub.com/python/cpython/pull/103280#issuecomment-1497642821 |
| Please reload this page | https://togithub.com/python/cpython/pull/103280 |
| #74690 (comment) | https://github.com/python/cpython/issues/74690#issuecomment-1497351414 |
| Please reload this page | https://togithub.com/python/cpython/pull/103280 |
| https://togithub.com/carljm |
| carljm | https://togithub.com/carljm |
|
Apr 5, 2023
| https://togithub.com/python/cpython/pull/103280#pullrequestreview-1373298339 |
|
View reviewed changes
| https://togithub.com/python/cpython/pull/103280/files/eee4b2c91c1da374f9d5b2cb735d96f7bef4c3dc |
| https://togithub.com/bedevere-bot |
| bedevere-bot | https://togithub.com/bedevere-bot |
|
awaiting merge
| https://togithub.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
|
awaiting core review
| https://togithub.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Apr 5, 2023 | https://togithub.com/python/cpython/pull/103280#event-8937251900 |
| https://togithub.com/AlexWaygood |
| AlexWaygood | https://togithub.com/AlexWaygood |
| de18267 | https://togithub.com/python/cpython/commit/de182676853e8de22363e8a0641c42392c0fdaa9 |
| Apr 5, 2023 | https://github.com/python/cpython/pull/103280#event-8937273148 |
| https://togithub.com/bedevere-bot |
| bedevere-bot | https://togithub.com/bedevere-bot |
|
awaiting merge
| https://togithub.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
| Apr 5, 2023 | https://togithub.com/python/cpython/pull/103280#event-8937273606 |
| https://togithub.com/AlexWaygood |
| AlexWaygood | https://togithub.com/AlexWaygood |
| April 5, 2023 16:37 | https://togithub.com/python/cpython/pull/103280#event-8937273790 |
| https://togithub.com/bedevere-bot |
| Sign in to view | https://togithub.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F103280 |
| https://togithub.com/AlexWaygood |
| AlexWaygood | https://togithub.com/AlexWaygood |
|
Apr 7, 2023
| https://togithub.com/python/cpython/pull/103280#ref-pullrequest-1658857896 |
|
gh-74690: Document changes made to runtime-checkable protocols in 3.12
#103348
| https://togithub.com/python/cpython/pull/103348 |
| gaogaotiantian | https://togithub.com/gaogaotiantian |
|
Apr 8, 2023
| https://togithub.com/python/cpython/pull/103280#ref-commit-d515fb0 |
|
| https://togithub.com/AlexWaygood |
|
| https://togithub.com/gaogaotiantian |
| pythongh-74690 | https://github.com/python/cpython/issues/74690 |
| : Further optimise `typing._ProtocolMeta.__instancechec… | https://togithub.com/gaogaotiantian/cpython/commit/d515fb0d7088e3f2fee086732b98955a8fdb804f |
| d515fb0 | https://togithub.com/gaogaotiantian/cpython/commit/d515fb0d7088e3f2fee086732b98955a8fdb804f |
| python#103280 | https://github.com/python/cpython/pull/103280 |
| warsaw | https://togithub.com/warsaw |
|
Apr 11, 2023
| https://togithub.com/python/cpython/pull/103280#ref-commit-d9edf14 |
|
| https://togithub.com/AlexWaygood |
|
| https://togithub.com/warsaw |
| pythongh-74690 | https://github.com/python/cpython/issues/74690 |
| : Further optimise `typing._ProtocolMeta.__instancechec… | https://togithub.com/warsaw/cpython/commit/d9edf14b6b513015b654f893f67dea1223fa3c90 |
| d9edf14 | https://togithub.com/warsaw/cpython/commit/d9edf14b6b513015b654f893f67dea1223fa3c90 |
| python#103280 | https://github.com/python/cpython/pull/103280 |
| https://togithub.com/AlexWaygood |
| AlexWaygood | https://togithub.com/AlexWaygood |
|
Apr 12, 2023
| https://togithub.com/python/cpython/pull/103280#ref-pullrequest-1664378642 |
|
Backport performance improvements to runtime-checkable protocols
python/typing_extensions#137
| https://togithub.com/python/typing_extensions/pull/137 |
| https://togithub.com/AlexWaygood |
| AlexWaygood | https://togithub.com/AlexWaygood |
|
May 24, 2023
| https://togithub.com/python/cpython/pull/103280#ref-issue-1723200108 |
|
[Bug] typing_extensions.Protocol unsupported under typing_extensions ≥ 4.6.0
beartype/beartype#241
| https://togithub.com/beartype/beartype/issues/241 |
| https://togithub.com/AlexWaygood |
| AlexWaygood | https://togithub.com/AlexWaygood |
|
Aug 9, 2024
| https://togithub.com/python/cpython/pull/103280#ref-issue-2410113881 |
|
Is the protocol caching still needed?
beartype/numerary#20
| https://togithub.com/beartype/numerary/issues/20 |
| https://github.co/hiddenchars |
| https://togithub.com/python/cpython/pull/{{ revealButtonHref }} |
| Sign up for free | https://togithub.com/join?source=comment-repo |
| Sign in to comment | https://togithub.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F103280 |
|
| https://togithub.com/carljm |
|
carljm
| https://togithub.com/carljm |
|
| https://togithub.com/python/cpython/pull/103280/files/eee4b2c91c1da374f9d5b2cb735d96f7bef4c3dc |
|
| https://togithub.com/gvanrossum |
|
gvanrossum
| https://togithub.com/gvanrossum |
|
| https://togithub.com/Fidget-Spinner |
|
Fidget-Spinner
| https://togithub.com/Fidget-Spinner |
|
| https://togithub.com/JelleZijlstra |
|
JelleZijlstra
| https://togithub.com/JelleZijlstra |
| Please reload this page | https://togithub.com/python/cpython/pull/103280 |
|
3.12
| https://togithub.com/python/cpython/issues?q=state%3Aopen%20label%3A3.12 |
|
performance
| https://togithub.com/python/cpython/issues?q=state%3Aopen%20label%3Aperformance |
|
skip news
| https://togithub.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22 |
|
stdlib
| https://togithub.com/python/cpython/issues?q=state%3Aopen%20label%3Astdlib |
|
topic-typing
| https://togithub.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-typing |
|
type-feature
| https://togithub.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-feature |
| Please reload this page | https://togithub.com/python/cpython/pull/103280 |
|
| https://togithub.com/AlexWaygood |
|
| https://togithub.com/bedevere-bot |
|
| https://togithub.com/carljm |
|
| 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 |