| 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:52f11da4-bf14-86ea-7add-6516159664dc |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CBAA:341673:89C5D8:B90095:6969BF05 |
| html-safe-nonce | 7facd82283464636941717554f390ea91d5a03d3c9763853ef4b0f2aded3a1d5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQkFBOjM0MTY3Mzo4OUM1RDg6QjkwMDk1OjY5NjlCRjA1IiwidmlzaXRvcl9pZCI6IjE5MDI0MzY1MDY4OTgzODI1OTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 4c6fddb3c813a6ebc6d7df53786c67e1605ea48a7c0423f7adaf3bd00f43b233 |
| hovercard-subject-tag | pull_request:1298479719 |
| 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/103160/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/c712e6b6951b3e4b3b41f1147f91f11bfc8e6d8b980b497c90aed1774a65f3d2/python/cpython/pull/103160 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c712e6b6951b3e4b3b41f1147f91f11bfc8e6d8b980b497c90aed1774a65f3d2/python/cpython/pull/103160 |
| og:image:alt | This PR proposes caching the results of _get_protocol_attrs() and _callable_members_only(), so that they only need to be computed once for each protocol class. This hugely speeds up calling isinsta... |
| 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-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 | 83c08c21cdda978090dc44364b71aa5bc6dcea79 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/103160#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F103160 |
| 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%2Fcpython%2Fpull%2F103160 |
|
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%2Fcpython |
| Reload | https://github.com/python/cpython/pull/103160 |
| Reload | https://github.com/python/cpython/pull/103160 |
| Reload | https://github.com/python/cpython/pull/103160 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/103160 |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
33.9k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
71.1k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Code
| https://github.com/python/cpython |
|
Issues
5k+
| https://github.com/python/cpython/issues |
|
Pull requests
2.1k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
31
| https://github.com/python/cpython/projects |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/python/cpython/security |
| Please reload this page | https://github.com/python/cpython/pull/103160 |
|
Insights
| https://github.com/python/cpython/pulse |
|
Code
| https://github.com/python/cpython |
|
Issues
| https://github.com/python/cpython/issues |
|
Pull requests
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%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%2Fcpython%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://github.com/python/cpython/pull/103160#issue-comment-box |
| AlexWaygood | https://github.com/AlexWaygood |
| python:main | https://github.com/python/cpython/tree/main |
| AlexWaygood:protocol-attrs-cache-1 | https://github.com/AlexWaygood/cpython/tree/protocol-attrs-cache-1 |
|
gh-74690: typing: Call _get_protocol_attrs and _callable_members_only at protocol class creation time, not during isinstance() checks
| https://github.com/python/cpython/pull/103160#top |
| AlexWaygood | https://github.com/AlexWaygood |
| python:main | https://github.com/python/cpython/tree/main |
| AlexWaygood:protocol-attrs-cache-1 | https://github.com/AlexWaygood/cpython/tree/protocol-attrs-cache-1 |
|
Conversation
17
| https://github.com/python/cpython/pull/103160 |
|
Commits
9
| https://github.com/python/cpython/pull/103160/commits |
|
Checks
0
| https://github.com/python/cpython/pull/103160/checks |
|
Files changed
1
| https://github.com/python/cpython/pull/103160/files |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| Apr 1, 2023 | https://github.com/python/cpython/pull/103160#issue-1650191407 |
| Please reload this page | https://github.com/python/cpython/pull/103160 |
| Performance of typing._ProtocolMeta._get_protocol_attrs and isinstance #74690 | https://github.com/python/cpython/issues/74690 |
| Please reload this page | https://github.com/python/cpython/pull/103160 |
|
| https://github.com/AlexWaygood |
| pythongh-74690 | https://github.com/python/cpython/issues/74690 |
| : typing: Cache results of | https://github.com/python/cpython/pull/103160/commits/f15c64abf5fb66d16cf4723abac07f474f752f05 |
| _get_protocol_attrs | https://github.com/python/cpython/pull/103160/commits/f15c64abf5fb66d16cf4723abac07f474f752f05 |
| and `_… | https://github.com/python/cpython/pull/103160/commits/f15c64abf5fb66d16cf4723abac07f474f752f05 |
| f15c64a | https://github.com/python/cpython/pull/103160/commits/f15c64abf5fb66d16cf4723abac07f474f752f05 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
|
type-feature
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-feature |
|
performance
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Aperformance |
|
DO-NOT-MERGE
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3ADO-NOT-MERGE |
|
stdlib
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astdlib |
|
topic-typing
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-typing |
|
3.12
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A3.12 |
| Apr 1, 2023 | https://github.com/python/cpython/pull/103160#event-8902763871 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| carljm | https://github.com/carljm |
| hauntsaninja | https://github.com/hauntsaninja |
| April 1, 2023 00:04 | https://github.com/python/cpython/pull/103160#event-8902763939 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| Fidget-Spinner | https://github.com/Fidget-Spinner |
| JelleZijlstra | https://github.com/JelleZijlstra |
| gvanrossum | https://github.com/gvanrossum |
| code owners | https://github.com/python/cpython/blob/d97aef8ebfbbb275384b17f06945e583fb3189ea/.github/CODEOWNERS#L141 |
| April 1, 2023 00:04 | https://github.com/python/cpython/pull/103160#event-8902764009 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
Apr 1, 2023
| https://github.com/python/cpython/pull/103160#ref-issue-1198974045 |
|
Performance of typing._ProtocolMeta._get_protocol_attrs and isinstance
#74690
| https://github.com/python/cpython/issues/74690 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Apr 1, 2023 | https://github.com/python/cpython/pull/103160#event-8902764923 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| gvanrossum | https://github.com/gvanrossum |
| April 1, 2023 00:04 | https://github.com/python/cpython/pull/103160#event-8902767102 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| Apr 1, 2023 | https://github.com/python/cpython/pull/103160#issuecomment-1492745307 |
| @gvanrossum | https://github.com/gvanrossum |
| Please reload this page | https://github.com/python/cpython/pull/103160 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| Apr 1, 2023 | https://github.com/python/cpython/pull/103160#issuecomment-1492756025 |
| @posita | https://github.com/posita |
| Please reload this page | https://github.com/python/cpython/pull/103160 |
| AlexWaygood | https://github.com/AlexWaygood |
| April 1, 2023 11:17 | https://github.com/python/cpython/pull/103160#commits-pushed-f3ec3db |
|
| https://github.com/AlexWaygood |
| Simplify and inline | https://github.com/python/cpython/pull/103160/commits/f3ec3db9a43244602c6da89553fcba7051a48717 |
| f3ec3db | https://github.com/python/cpython/pull/103160/commits/f3ec3db9a43244602c6da89553fcba7051a48717 |
|
| https://github.com/AlexWaygood |
| Use a metaclass instance method, not a classmethod on the class | https://github.com/python/cpython/pull/103160/commits/8e3c6f71c986e0daf588faa437b39e7bf768e5ac |
| 8e3c6f7 | https://github.com/python/cpython/pull/103160/commits/8e3c6f71c986e0daf588faa437b39e7bf768e5ac |
| https://github.com/carljm |
| carljm | https://github.com/carljm |
| Apr 1, 2023 | https://github.com/python/cpython/pull/103160#issuecomment-1492991323 |
| Please reload this page | https://github.com/python/cpython/pull/103160 |
| https://github.com/JelleZijlstra |
| JelleZijlstra | https://github.com/JelleZijlstra |
| Apr 1, 2023 | https://github.com/python/cpython/pull/103160#issuecomment-1492995191 |
| Please reload this page | https://github.com/python/cpython/pull/103160 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| Apr 1, 2023 | https://github.com/python/cpython/pull/103160#issuecomment-1493001781 |
| Please reload this page | https://github.com/python/cpython/pull/103160 |
| Please reload this page | https://github.com/python/cpython/pull/103160 |
| https://github.com/carljm |
| carljm | https://github.com/carljm |
| Apr 1, 2023 | https://github.com/python/cpython/pull/103160#issuecomment-1493003109 |
| @JelleZijlstra | https://github.com/JelleZijlstra |
| Please reload this page | https://github.com/python/cpython/pull/103160 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| Apr 1, 2023 | https://github.com/python/cpython/pull/103160#issuecomment-1493003901 |
| Please reload this page | https://github.com/python/cpython/pull/103160 |
| @JelleZijlstra | https://github.com/JelleZijlstra |
| Please reload this page | https://github.com/python/cpython/pull/103160 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| Apr 1, 2023 | https://github.com/python/cpython/pull/103160#issuecomment-1493014220 |
| Please reload this page | https://github.com/python/cpython/pull/103160 |
| Please reload this page | https://github.com/python/cpython/pull/103160 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| Apr 1, 2023 | https://github.com/python/cpython/pull/103160#issuecomment-1493015528 |
| Please reload this page | https://github.com/python/cpython/pull/103160 |
|
| https://github.com/AlexWaygood |
| Move to class-creation time | https://github.com/python/cpython/pull/103160/commits/a34f7005abc35f7da745e45aed3043d9c273837a |
| a34f700 | https://github.com/python/cpython/pull/103160/commits/a34f7005abc35f7da745e45aed3043d9c273837a |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| Apr 1, 2023 | https://github.com/python/cpython/pull/103160#event-8904440947 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| Apr 1, 2023 | https://github.com/python/cpython/pull/103160#event-8904450079 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| Apr 1, 2023 | https://github.com/python/cpython/pull/103160#issuecomment-1493039039 |
| Please reload this page | https://github.com/python/cpython/pull/103160 |
| Please reload this page | https://github.com/python/cpython/pull/103160 |
|
| https://github.com/AlexWaygood |
| Use __init__, not __new__ | https://github.com/python/cpython/pull/103160/commits/4d050749087ea86a7cacc9ce96b867057e655788 |
| 4d05074 | https://github.com/python/cpython/pull/103160/commits/4d050749087ea86a7cacc9ce96b867057e655788 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
|
Apr 1, 2023
| https://github.com/python/cpython/pull/103160#pullrequestreview-1367897844 |
|
View reviewed changes
| https://github.com/python/cpython/pull/103160/files/4d050749087ea86a7cacc9ce96b867057e655788 |
| Lib/typing.py | https://github.com/python/cpython/pull/103160/files/4d050749087ea86a7cacc9ce96b867057e655788#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887 |
| AlexWaygood | https://github.com/AlexWaygood |
| Apr 1, 2023 | https://github.com/python/cpython/pull/103160#discussion_r1155142512 |
| Please reload this page | https://github.com/python/cpython/pull/103160 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/103160 |
| AlexWaygood | https://github.com/AlexWaygood |
| Apr 1, 2023 | https://github.com/python/cpython/pull/103160#discussion_r1155145364 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://github.com/antonagestam/phantom-types/blob/68ee857af4452a90a48669a8dbc7d1d7110b31d0/src/phantom/sized.py#L71-L82 | https://github.com/antonagestam/phantom-types/blob/68ee857af4452a90a48669a8dbc7d1d7110b31d0/src/phantom/sized.py#L71-L82 |
| https://github.com/protolambda/remerkleable/blob/91ed092d08ef0ba5ab076f0a34b0b371623db728/remerkleable/core.py#L18-L22 | https://github.com/protolambda/remerkleable/blob/91ed092d08ef0ba5ab076f0a34b0b371623db728/remerkleable/core.py#L18-L22 |
| https://github.com/InterStella0/stella_bot/blob/bf5f5632bcd88670df90be67b888c282c6e83d99/utils/useful.py#L337-L343 | https://github.com/InterStella0/stella_bot/blob/bf5f5632bcd88670df90be67b888c282c6e83d99/utils/useful.py#L337-L343 |
| Please reload this page | https://github.com/python/cpython/pull/103160 |
|
| https://github.com/AlexWaygood |
| Add missing super().__init__() call, to be safe | https://github.com/python/cpython/pull/103160/commits/d3f9ebee0fb88db3d87bac71180fa00ab853f2c4 |
| d3f9ebe | https://github.com/python/cpython/pull/103160/commits/d3f9ebee0fb88db3d87bac71180fa00ab853f2c4 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
|
Apr 2, 2023
| https://github.com/python/cpython/pull/103160#ref-pullrequest-1640588419 |
|
gh-102433: Use inspect.getattr_static in typing._ProtocolMeta.__instancecheck__
#103034
| https://github.com/python/cpython/pull/103034 |
|
| https://github.com/AlexWaygood |
| Merge branch 'main' into protocol-attrs-cache-1 | https://github.com/python/cpython/pull/103160/commits/e8a63045eb5d108483e71ba8714797e8f7e835cd |
| e8a6304 | https://github.com/python/cpython/pull/103160/commits/e8a63045eb5d108483e71ba8714797e8f7e835cd |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
|
skip news
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22 |
| Apr 2, 2023 | https://github.com/python/cpython/pull/103160#event-8906429508 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| Apr 2, 2023 | https://github.com/python/cpython/pull/103160#issuecomment-1493334084 |
| Please reload this page | https://github.com/python/cpython/pull/103160 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| Apr 2, 2023 | https://github.com/python/cpython/pull/103160#issuecomment-1493337995 |
| Please reload this page | https://github.com/python/cpython/pull/103160 |
| https://github.com/JelleZijlstra |
| JelleZijlstra | https://github.com/JelleZijlstra |
|
Apr 2, 2023
| https://github.com/python/cpython/pull/103160#ref-issue-1650438432 |
|
Typing: undocumented behaviour change for protocols decorated with @final and @runtime_checkable in 3.11
#103171
| https://github.com/python/cpython/issues/103171 |
| https://github.com/carljm |
| carljm | https://github.com/carljm |
|
Apr 4, 2023
| https://github.com/python/cpython/pull/103160#pullrequestreview-1371935661 |
|
View reviewed changes
| https://github.com/python/cpython/pull/103160/files/e8a63045eb5d108483e71ba8714797e8f7e835cd |
| carljm | https://github.com/carljm |
| https://github.com/python/cpython/pull/103160#pullrequestreview-1371935661 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/103160 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Apr 4, 2023 | https://github.com/python/cpython/pull/103160#event-8929689244 |
|
| https://github.com/AlexWaygood |
| Merge branch 'main' into protocol-attrs-cache-1 | https://github.com/python/cpython/pull/103160/commits/4816afa2865fe43eb9658882e0b4f2ae3b3f4c20 |
| 4816afa | https://github.com/python/cpython/pull/103160/commits/4816afa2865fe43eb9658882e0b4f2ae3b3f4c20 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
|
Apr 5, 2023
| https://github.com/python/cpython/pull/103160#pullrequestreview-1372533482 |
|
View reviewed changes
| https://github.com/python/cpython/pull/103160/files/4816afa2865fe43eb9658882e0b4f2ae3b3f4c20 |
| Lib/typing.py | https://github.com/python/cpython/pull/103160/files/4816afa2865fe43eb9658882e0b4f2ae3b3f4c20#diff-ddb987fca5f5df0c9a2f5521ed687919d70bb3d64eaeb8021f98833a2a716887 |
| Please reload this page | https://github.com/python/cpython/pull/103160 |
|
| https://github.com/AlexWaygood |
| Update Lib/typing.py | https://github.com/python/cpython/pull/103160/commits/08af61593d85db78efa1abef197f8d8e510a7913 |
| 08af615 | https://github.com/python/cpython/pull/103160/commits/08af61593d85db78efa1abef197f8d8e510a7913 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
|
DO-NOT-MERGE
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3ADO-NOT-MERGE |
| Apr 5, 2023 | https://github.com/python/cpython/pull/103160#event-8933980608 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| Apr 5, 2023 | https://github.com/python/cpython/pull/103160#issuecomment-1497320404 |
| #103160 | https://github.com/python/cpython/pull/103160 |
| Please reload this page | https://github.com/python/cpython/pull/103160 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| 3246688 | https://github.com/python/cpython/commit/3246688918a428738b61c4adb5fbc6525eae96f9 |
| Apr 5, 2023 | https://github.com/python/cpython/pull/103160#event-8933992422 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
| Apr 5, 2023 | https://github.com/python/cpython/pull/103160#event-8933992892 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| April 5, 2023 11:19 | https://github.com/python/cpython/pull/103160#event-8933993079 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
|
Apr 7, 2023
| https://github.com/python/cpython/pull/103160#ref-pullrequest-1658857896 |
|
gh-74690: Document changes made to runtime-checkable protocols in 3.12
#103348
| https://github.com/python/cpython/pull/103348 |
| gaogaotiantian | https://github.com/gaogaotiantian |
|
Apr 8, 2023
| https://github.com/python/cpython/pull/103160#ref-commit-9b978ee |
|
| https://github.com/AlexWaygood |
|
| https://github.com/gaogaotiantian |
| pythongh-74690 | https://github.com/python/cpython/issues/74690 |
| : typing: Call | https://github.com/gaogaotiantian/cpython/commit/9b978ee0dfe9c367d0a5960bd95d01427086f0dd |
| _get_protocol_attrs | https://github.com/gaogaotiantian/cpython/commit/9b978ee0dfe9c367d0a5960bd95d01427086f0dd |
| and `_callable_mem… | https://github.com/gaogaotiantian/cpython/commit/9b978ee0dfe9c367d0a5960bd95d01427086f0dd |
| 9b978ee | https://github.com/gaogaotiantian/cpython/commit/9b978ee0dfe9c367d0a5960bd95d01427086f0dd |
| python#103160 | https://github.com/python/cpython/pull/103160 |
| warsaw | https://github.com/warsaw |
|
Apr 11, 2023
| https://github.com/python/cpython/pull/103160#ref-commit-f2f5e5d |
|
| https://github.com/AlexWaygood |
|
| https://github.com/warsaw |
| pythongh-74690 | https://github.com/python/cpython/issues/74690 |
| : typing: Call | https://github.com/warsaw/cpython/commit/f2f5e5d9c7c57d7382bd287122bfac05e12c9c03 |
| _get_protocol_attrs | https://github.com/warsaw/cpython/commit/f2f5e5d9c7c57d7382bd287122bfac05e12c9c03 |
| and `_callable_mem… | https://github.com/warsaw/cpython/commit/f2f5e5d9c7c57d7382bd287122bfac05e12c9c03 |
| f2f5e5d | https://github.com/warsaw/cpython/commit/f2f5e5d9c7c57d7382bd287122bfac05e12c9c03 |
| python#103160 | https://github.com/python/cpython/pull/103160 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
|
Apr 12, 2023
| https://github.com/python/cpython/pull/103160#ref-pullrequest-1664378642 |
|
Backport performance improvements to runtime-checkable protocols
python/typing_extensions#137
| https://github.com/python/typing_extensions/pull/137 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
|
May 18, 2023
| https://github.com/python/cpython/pull/103160#ref-pullrequest-1716201399 |
|
gh-74690: Don't set special protocol attributes on non-protocol subclasses of protocols
#104622
| https://github.com/python/cpython/pull/104622 |
| https://github.com/JelleZijlstra |
| JelleZijlstra | https://github.com/JelleZijlstra |
|
May 24, 2023
| https://github.com/python/cpython/pull/103160#ref-issue-1724357892 |
|
Add typing.get_protocol_members and typing.is_protocol
#104873
| https://github.com/python/cpython/issues/104873 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
|
May 24, 2023
| https://github.com/python/cpython/pull/103160#ref-issue-1723200108 |
|
[Bug] typing_extensions.Protocol unsupported under typing_extensions ≥ 4.6.0
beartype/beartype#241
| https://github.com/beartype/beartype/issues/241 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
|
Nov 16, 2023
| https://github.com/python/cpython/pull/103160#ref-issue-1959629323 |
|
datetime.__sub__ overload order
python/typeshed#10924
| https://github.com/python/typeshed/issues/10924 |
| https://github.com/posita |
| posita | https://github.com/posita |
|
Aug 9, 2024
| https://github.com/python/cpython/pull/103160#ref-issue-2410113881 |
|
Is the protocol caching still needed?
beartype/numerary#20
| https://github.com/beartype/numerary/issues/20 |
| 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%2Fcpython%2Fpull%2F103160 |
|
| https://github.com/carljm |
|
carljm
| https://github.com/carljm |
|
| https://github.com/python/cpython/pull/103160/files/e8a63045eb5d108483e71ba8714797e8f7e835cd |
|
| https://github.com/hauntsaninja |
|
hauntsaninja
| https://github.com/hauntsaninja |
|
| https://github.com/Fidget-Spinner |
|
Fidget-Spinner
| https://github.com/Fidget-Spinner |
|
| https://github.com/JelleZijlstra |
|
JelleZijlstra
| https://github.com/JelleZijlstra |
|
3.12
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A3.12 |
|
performance
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Aperformance |
|
skip news
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22 |
|
stdlib
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astdlib |
|
topic-typing
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-typing |
|
type-feature
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-feature |
| Please reload this page | https://github.com/python/cpython/pull/103160 |
|
| https://github.com/AlexWaygood |
|
| https://github.com/carljm |
|
| https://github.com/JelleZijlstra |
|
| https://github.com/bedevere-bot |
|
| 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 |