| 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:c95181e5-daad-77c3-d107-a9c66243782f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8CDE:557D6:5C9366:7BE0C0:6969B55D |
| html-safe-nonce | e5c936ebc3ec8baab023c94ec3c05a0f472872af86f0b7e6f4df03e514ba0f7a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Q0RFOjU1N0Q2OjVDOTM2Njo3QkUwQzA6Njk2OUI1NUQiLCJ2aXNpdG9yX2lkIjoiMTU5NDgwOTIzMzgwNDIxMTU0OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5a7439ac31ca9f7eb0d1be6a076f63f409e64c60939f0014906497866b1cd5d8 |
| hovercard-subject-tag | pull_request:1310710944 |
| 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/typing_extensions/137/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/fd7d0840740687983ceb1bf58264acf801a8883ce906dc0dc414e6ecc96fdbda/python/typing_extensions/pull/137 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fd7d0840740687983ceb1bf58264acf801a8883ce906dc0dc414e6ecc96fdbda/python/typing_extensions/pull/137 |
| og:image:alt | This PR backports the following CPython PRs (all by me), which, taken together, substantially improve the performance of isinstance() checks against runtime-checkable protocols on Python 3.12 compa... |
| 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 | b23b8fcc855cd29bb04d6c94aafa62d336bf44eefa8229444eecc968cad03aee |
| turbo-cache-control | no-preview |
| go-import | github.com/python/typing_extensions git https://github.com/python/typing_extensions.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 494077289 |
| octolytics-dimension-repository_nwo | python/typing_extensions |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 494077289 |
| octolytics-dimension-repository_network_root_nwo | python/typing_extensions |
| 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 | 0672399d88424758731ec07fe24509e23bb17fb5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/typing_extensions/pull/137#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftyping_extensions%2Fpull%2F137 |
| 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%2Ftyping_extensions%2Fpull%2F137 |
|
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%2Ftyping_extensions |
| Reload | https://github.com/python/typing_extensions/pull/137 |
| Reload | https://github.com/python/typing_extensions/pull/137 |
| Reload | https://github.com/python/typing_extensions/pull/137 |
|
python
| https://github.com/python |
| typing_extensions | https://github.com/python/typing_extensions |
| Please reload this page | https://github.com/python/typing_extensions/pull/137 |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Ftyping_extensions |
|
Fork
133
| https://github.com/login?return_to=%2Fpython%2Ftyping_extensions |
|
Star
544
| https://github.com/login?return_to=%2Fpython%2Ftyping_extensions |
|
Code
| https://github.com/python/typing_extensions |
|
Issues
18
| https://github.com/python/typing_extensions/issues |
|
Pull requests
10
| https://github.com/python/typing_extensions/pulls |
|
Actions
| https://github.com/python/typing_extensions/actions |
|
Projects
0
| https://github.com/python/typing_extensions/projects |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/python/typing_extensions/security |
| Please reload this page | https://github.com/python/typing_extensions/pull/137 |
|
Insights
| https://github.com/python/typing_extensions/pulse |
|
Code
| https://github.com/python/typing_extensions |
|
Issues
| https://github.com/python/typing_extensions/issues |
|
Pull requests
| https://github.com/python/typing_extensions/pulls |
|
Actions
| https://github.com/python/typing_extensions/actions |
|
Projects
| https://github.com/python/typing_extensions/projects |
|
Security
| https://github.com/python/typing_extensions/security |
|
Insights
| https://github.com/python/typing_extensions/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Ftyping_extensions%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%2Ftyping_extensions%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://github.com/python/typing_extensions/pull/137#issue-comment-box |
| JelleZijlstra | https://github.com/JelleZijlstra |
| python:main | https://github.com/python/typing_extensions/tree/main |
| AlexWaygood:improve-protocol-perf | https://github.com/AlexWaygood/typing_extensions/tree/improve-protocol-perf |
|
Backport performance improvements to runtime-checkable protocols
| https://github.com/python/typing_extensions/pull/137#top |
| JelleZijlstra | https://github.com/JelleZijlstra |
| python:main | https://github.com/python/typing_extensions/tree/main |
| AlexWaygood:improve-protocol-perf | https://github.com/AlexWaygood/typing_extensions/tree/improve-protocol-perf |
|
Conversation
6
| https://github.com/python/typing_extensions/pull/137 |
|
Commits
4
| https://github.com/python/typing_extensions/pull/137/commits |
|
Checks
0
| https://github.com/python/typing_extensions/pull/137/checks |
|
Files changed
| https://github.com/python/typing_extensions/pull/137/files |
| Please reload this page | https://github.com/python/typing_extensions/pull/137 |
| https://github.co/hiddenchars |
| https://github.com/python/typing_extensions/pull/{{ revealButtonHref }} |
|
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| Apr 12, 2023 | https://github.com/python/typing_extensions/pull/137#issue-1664378642 |
| Please reload this page | https://github.com/python/typing_extensions/pull/137 |
| gh-74690: typing: Don't unnecessarily call _get_protocol_attrs twice in _ProtocolMeta.__instancecheck__ cpython#103141 | https://github.com/python/cpython/pull/103141 |
| gh-74690: Micro-optimise typing._get_protocol_attrs cpython#103152 | https://github.com/python/cpython/pull/103152 |
| gh-74690: typing: Simplify and optimise _ProtocolMeta.__instancecheck__ cpython#103159 | https://github.com/python/cpython/pull/103159 |
| gh-74690: typing: Call _get_protocol_attrs and _callable_members_only at protocol class creation time, not during isinstance() checks cpython#103160 | https://github.com/python/cpython/pull/103160 |
| gh-74690: Further optimise typing._ProtocolMeta.__instancecheck__ cpython#103280 | https://github.com/python/cpython/pull/103280 |
| python/cpython#103034 | https://github.com/python/cpython/pull/103034 |
| Please reload this page | https://github.com/python/typing_extensions/pull/137 |
| AlexWaygood | https://github.com/AlexWaygood |
| April 12, 2023 12:01 | https://github.com/python/typing_extensions/pull/137#commits-pushed-6221efd |
|
| https://github.com/AlexWaygood |
| Backport several performance improvements for runtime-checkable proto… | https://github.com/python/typing_extensions/pull/137/commits/6221efda149d86328aa5066117f1d314196ca5a6 |
| 6221efd | https://github.com/python/typing_extensions/pull/137/commits/6221efda149d86328aa5066117f1d314196ca5a6 |
|
| https://github.com/AlexWaygood |
| Fix tests on Python 3.11 | https://github.com/python/typing_extensions/pull/137/commits/c6097b9c362e62d6f41665b5149cb6362e4ae359 |
| c6097b9 | https://github.com/python/typing_extensions/pull/137/commits/c6097b9c362e62d6f41665b5149cb6362e4ae359 |
|
| https://github.com/AlexWaygood |
| Docs | https://github.com/python/typing_extensions/pull/137/commits/9318af0f4cea91d2209d61b2ae9d69fda950625a |
| 9318af0 | https://github.com/python/typing_extensions/pull/137/commits/9318af0f4cea91d2209d61b2ae9d69fda950625a |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| April 12, 2023 11:34 | https://github.com/python/typing_extensions/pull/137#event-8984579636 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
|
Apr 12, 2023
| https://github.com/python/typing_extensions/pull/137#pullrequestreview-1381133847 |
|
View reviewed changes
| https://github.com/python/typing_extensions/pull/137/files/9318af0f4cea91d2209d61b2ae9d69fda950625a |
| src/typing_extensions.py | https://github.com/python/typing_extensions/pull/137/files/9318af0f4cea91d2209d61b2ae9d69fda950625a#diff-2e398129239518dc82985bc023ce5fb83df781e9f84098cfe1415bdd6d7ac59f |
| AlexWaygood | https://github.com/AlexWaygood |
| Apr 12, 2023 | https://github.com/python/typing_extensions/pull/137#discussion_r1164017024 |
| Please reload this page | https://github.com/python/typing_extensions/pull/137 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/typing_extensions/pull/137 |
| src/typing_extensions.py | https://github.com/python/typing_extensions/pull/137/files/9318af0f4cea91d2209d61b2ae9d69fda950625a#diff-2e398129239518dc82985bc023ce5fb83df781e9f84098cfe1415bdd6d7ac59f |
| AlexWaygood | https://github.com/AlexWaygood |
| Apr 12, 2023 | https://github.com/python/typing_extensions/pull/137#discussion_r1164018967 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/typing_extensions/pull/137 |
|
| https://github.com/AlexWaygood |
| Merge branch 'main' into improve-protocol-perf | https://github.com/python/typing_extensions/pull/137/commits/fa12f432acf5399d213f699a68a7a5a265eb836a |
| fa12f43 | https://github.com/python/typing_extensions/pull/137/commits/fa12f432acf5399d213f699a68a7a5a265eb836a |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
|
Apr 12, 2023
| https://github.com/python/typing_extensions/pull/137#ref-pullrequest-1664438747 |
|
Remove flake8-noqa from test-requirements.txt
#138
| https://github.com/python/typing_extensions/pull/138 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| Apr 12, 2023 | https://github.com/python/typing_extensions/pull/137#issuecomment-1505175031 |
| Please reload this page | https://github.com/python/typing_extensions/pull/137 |
| https://docs.python.org/3/library/typing.html#protocols | https://docs.python.org/3/library/typing.html#protocols |
| Please reload this page | https://github.com/python/typing_extensions/pull/137 |
| https://github.com/JelleZijlstra |
| JelleZijlstra | https://github.com/JelleZijlstra |
|
Apr 12, 2023
| https://github.com/python/typing_extensions/pull/137#pullrequestreview-1381748515 |
|
View reviewed changes
| https://github.com/python/typing_extensions/pull/137/files/fa12f432acf5399d213f699a68a7a5a265eb836a |
| https://github.com/JelleZijlstra |
| JelleZijlstra | https://github.com/JelleZijlstra |
| 6c93956 | https://github.com/python/typing_extensions/commit/6c9395698bb31650ad3d53348379f483ebef496d |
| Apr 12, 2023 | https://github.com/python/typing_extensions/pull/137#event-8987982185 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| April 12, 2023 17:07 | https://github.com/python/typing_extensions/pull/137#event-8987985532 |
| https://github.com/Tenzer |
| Tenzer | https://github.com/Tenzer |
| May 23, 2023 | https://github.com/python/typing_extensions/pull/137#issuecomment-1558823709 |
| pydash | https://github.com/dgilland/pydash |
| dgilland/pydash#197 | https://github.com/dgilland/pydash/issues/197 |
| https://github.com/dgilland/pydash/blob/051fe69c3e523f903a0a0ea6ca6a5c2d4b83a3e7/src/pydash/utilities.py#L577-L638 | https://github.com/dgilland/pydash/blob/051fe69c3e523f903a0a0ea6ca6a5c2d4b83a3e7/src/pydash/utilities.py#L577-L638 |
| Please reload this page | https://github.com/python/typing_extensions/pull/137 |
| https://github.com/Tenzer |
| Tenzer | https://github.com/Tenzer |
|
May 23, 2023
| https://github.com/python/typing_extensions/pull/137#ref-issue-1721045666 |
|
Incompatible with typing-extensions 4.6
dgilland/pydash#197
| https://github.com/dgilland/pydash/issues/197 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
|
May 23, 2023
| https://github.com/python/typing_extensions/pull/137#ref-issue-1721551533 |
|
Cannot parameterise typing_extensions.Protocol with a ParamSpec or TypeVarTuple on py310+
#181
| https://github.com/python/typing_extensions/issues/181 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| May 23, 2023 | https://github.com/python/typing_extensions/pull/137#issuecomment-1558836720 |
| @Tenzer | https://github.com/Tenzer |
| #181 | https://github.com/python/typing_extensions/issues/181 |
| Please reload this page | https://github.com/python/typing_extensions/pull/137 |
| https://github.com/Tenzer |
| Tenzer | https://github.com/Tenzer |
| May 23, 2023 | https://github.com/python/typing_extensions/pull/137#issuecomment-1558837592 |
| Please reload this page | https://github.com/python/typing_extensions/pull/137 |
| 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%2Ftyping_extensions%2Fpull%2F137 |
|
| https://github.com/JelleZijlstra |
|
JelleZijlstra
| https://github.com/JelleZijlstra |
|
| https://github.com/python/typing_extensions/pull/137/files/fa12f432acf5399d213f699a68a7a5a265eb836a |
| Please reload this page | https://github.com/python/typing_extensions/pull/137 |
|
| https://github.com/AlexWaygood |
|
| https://github.com/Tenzer |
|
| https://github.com/JelleZijlstra |
|
| 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 |