| 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:5e9bf83a-d294-2794-388b-353893652521 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9710:6A941:C1A264:FB8204:6AFFF0D6 |
| html-safe-nonce | e726fe58548e2fe74b328f444a5b4fcafd8b8fa9c49deb803931712dc039c6b1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzEwOjZBOTQxOkMxQTI2NDpGQjgyMDQ6NkFGRkYwRDYiLCJ2aXNpdG9yX2lkIjoiNDgwODM1NTIwOTgxNjMwNTg3OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8afdecef955db94b0206379157b7aa1959cc2bca3b310e4d9ef96f5cc35b232b |
| hovercard-subject-tag | pull_request:117753283 |
| 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/417/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/1cfc34275a7f35268d292ef33b99c1022dff6aa9d95d432fbf8b838e9d82d1e1/python/typing/pull/417 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1cfc34275a7f35268d292ef33b99c1022dff6aa9d95d432fbf8b838e9d82d1e1/python/typing/pull/417 |
| og:image:alt | Fixes #11
This is a runtime implementation of protocols as per draft PEP 544. (The mypy counterpart is python/mypy#3132)
The implementation is straightforward (mostly I just made current version to... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ilevkivskyi |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0a0d8686a27478df474dd7415776a7a080cde8838b3cd92ea7601187572e5729 |
| turbo-cache-control | no-cache |
| go-import | github.com/python/typing git https://github.com/python/typing.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 24604008 |
| octolytics-dimension-repository_nwo | python/typing |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24604008 |
| octolytics-dimension-repository_network_root_nwo | python/typing |
| 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 | 16a11879678aaf97e2a42c33ee70830aa084fa37 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/python/typing/pull/417#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftyping%2Fpull%2F417 |
| 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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftyping%2Fpull%2F417 |
| 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 |
| Reload | https://github.com/python/typing/pull/417 |
| Reload | https://github.com/python/typing/pull/417 |
| Reload | https://github.com/python/typing/pull/417 |
| python | https://github.com/python |
| typing | https://github.com/python/typing |
| Code | https://github.com/python/typing |
| Issues206 (206) | https://github.com/python/typing/issues |
| Pull requests27 (27) | https://github.com/python/typing/pulls |
| Discussions | https://github.com/python/typing/discussions |
| Actions | https://github.com/python/typing/actions |
| Security and quality | https://github.com/python/typing/security |
| Insights | https://github.com/python/typing/insights |
| https://github.com/python/typing |
| ilevkivskyi | https://github.com/ilevkivskyi |
| python:master | https://github.com/python/typing/tree/master |
| ilevkivskyi:protocols | https://github.com/ilevkivskyi/typehinting/tree/protocols |
| Conversation | https://github.com/python/typing/pull/417 |
| Commits19 (19) | https://github.com/python/typing/pull/417/commits |
| Checks | https://github.com/python/typing/pull/417/checks |
| Files changed | https://github.com/python/typing/pull/417/files |
| Protocols | https://github.com/python/typing/pull/417#top |
| ilevkivskyi | https://github.com/ilevkivskyi |
| python:master | https://github.com/python/typing/tree/master |
| ilevkivskyi:protocols | https://github.com/ilevkivskyi/typehinting/tree/protocols |
|
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Apr 26, 2017 | https://github.com/python/typing/pull/417#issue-224522034 |
| #11 | https://github.com/python/typing/issues/11 |
| PEP 544 | https://www.python.org/dev/peps/pep-0544/ |
| python/mypy#3132 | https://github.com/python/mypy/pull/3132 |
| @JukkaL | https://github.com/JukkaL |
| @ambv | https://github.com/ambv |
| @gvanrossum | https://github.com/gvanrossum |
| Please reload this page | https://github.com/python/typing/pull/417 |
| ilevkivskyi | https://github.com/ilevkivskyi |
| April 20, 2017 00:40 | https://github.com/python/typing/pull/417#commits-pushed-de21b02 |
|
| https://github.com/ilevkivskyi |
| Initial ideas for runtime implementation of protocols | https://github.com/python/typing/pull/417/commits/de21b02b541a1e07ee1f9e9d1fa3824eaaf134f5 |
| de21b02 | https://github.com/python/typing/pull/417/commits/de21b02b541a1e07ee1f9e9d1fa3824eaaf134f5 |
|
| https://github.com/ilevkivskyi |
| Uniform class and instance checks (same as collections.abc) | https://github.com/python/typing/pull/417/commits/6a31a93b96007d1a60b34df469d93d3d4f62fddf |
| 6a31a93 | https://github.com/python/typing/pull/417/commits/6a31a93b96007d1a60b34df469d93d3d4f62fddf |
|
| https://github.com/ilevkivskyi |
| Fix lint | https://github.com/python/typing/pull/417/commits/f1072994dad1cd1183aa43dca9e0600a46f011b1 |
| f107299 | https://github.com/python/typing/pull/417/commits/f1072994dad1cd1183aa43dca9e0600a46f011b1 |
|
| https://github.com/ilevkivskyi |
| Simplify code using absence of non-protocol bases + some support for … | https://github.com/python/typing/pull/417/commits/8e07b885f0159e513e01afdee8b3ea06bdc0fa6e |
| 8e07b88 | https://github.com/python/typing/pull/417/commits/8e07b885f0159e513e01afdee8b3ea06bdc0fa6e |
|
| https://github.com/ilevkivskyi |
| Better support for isinstance(); add some tests | https://github.com/python/typing/pull/417/commits/e3db3de4f8f95ccf9bc3e3450e443657592cbce3 |
| e3db3de | https://github.com/python/typing/pull/417/commits/e3db3de4f8f95ccf9bc3e3450e443657592cbce3 |
|
| https://github.com/ilevkivskyi |
| Minor fixes | https://github.com/python/typing/pull/417/commits/e580511940d83a258c02d5c3011230b8fcb3e0bd |
| e580511 | https://github.com/python/typing/pull/417/commits/e580511940d83a258c02d5c3011230b8fcb3e0bd |
|
| https://github.com/ilevkivskyi |
| Add more tests; improve docstrings | https://github.com/python/typing/pull/417/commits/d99d9ef8537d8564b4585c8dff12cdaaac478b1c |
| d99d9ef | https://github.com/python/typing/pull/417/commits/d99d9ef8537d8564b4585c8dff12cdaaac478b1c |
|
| https://github.com/ilevkivskyi |
| Add support for extending collections protocols (+ tests) | https://github.com/python/typing/pull/417/commits/831e1a7f65bf7a08eb6a0b6e299545bbc50fcb27 |
| 831e1a7 | https://github.com/python/typing/pull/417/commits/831e1a7f65bf7a08eb6a0b6e299545bbc50fcb27 |
|
| https://github.com/ilevkivskyi |
| Fix behaviour in different veriosns | https://github.com/python/typing/pull/417/commits/a932e9faa38f429afbfd0acf84145b7c4b35d2df |
| a932e9f | https://github.com/python/typing/pull/417/commits/a932e9faa38f429afbfd0acf84145b7c4b35d2df |
|
| https://github.com/ilevkivskyi |
| More compatibility fixes | https://github.com/python/typing/pull/417/commits/3e34f7adb77c93fac1b2b1c0888fed93ac63bec2 |
| 3e34f7a | https://github.com/python/typing/pull/417/commits/3e34f7adb77c93fac1b2b1c0888fed93ac63bec2 |
|
| https://github.com/ilevkivskyi |
| Fix typos and lint | https://github.com/python/typing/pull/417/commits/8483810ce54fdce9e318db5700c19860819d2a40 |
| 8483810 | https://github.com/python/typing/pull/417/commits/8483810ce54fdce9e318db5700c19860819d2a40 |
|
| https://github.com/ilevkivskyi |
| Even more compatibility fixes | https://github.com/python/typing/pull/417/commits/9e7b6740616afe44a9a9b872fe130373f9fee6a8 |
| 9e7b674 | https://github.com/python/typing/pull/417/commits/9e7b6740616afe44a9a9b872fe130373f9fee6a8 |
| Reorganize code more logically (hopefully this will also reduce diff) | https://github.com/python/typing/pull/417/commits/8ee5b712abf655d851d7c8282bef505434eb522e |
| 8ee5b71 | https://github.com/python/typing/pull/417/commits/8ee5b712abf655d851d7c8282bef505434eb522e |
|
| https://github.com/ilevkivskyi |
| Add tests for PY36 and @abstracmethod | https://github.com/python/typing/pull/417/commits/4a0d335ca2611564f6925bd263f16143462147cd |
| 4a0d335 | https://github.com/python/typing/pull/417/commits/4a0d335ca2611564f6925bd263f16143462147cd |
|
| https://github.com/ilevkivskyi |
| Backport protocols to Python 2 | https://github.com/python/typing/pull/417/commits/8fc9a5e9d16b850a45e6ff9b80b7ac449019ee3e |
| 8fc9a5e | https://github.com/python/typing/pull/417/commits/8fc9a5e9d16b850a45e6ff9b80b7ac449019ee3e |
|
| https://github.com/ilevkivskyi |
| Corner case for PEP 526 subprotocols | https://github.com/python/typing/pull/417/commits/b6e526e23b2d78298e4995bdb4183cab92b6c89c |
| b6e526e | https://github.com/python/typing/pull/417/commits/b6e526e23b2d78298e4995bdb4183cab92b6c89c |
| https://github.com/the-knights-who-say-ni |
| the-knights-who-say-ni | https://github.com/the-knights-who-say-ni |
|
CLA signed
| https://github.com/python/typing/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22 |
| Apr 26, 2017 | https://github.com/python/typing/pull/417#event-1058922929 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
|
Apr 26, 2017
| https://github.com/python/typing/pull/417#ref-pullrequest-224533254 |
|
Convert selected ABCs to Protocols
python/typeshed#1220
| https://github.com/python/typeshed/pull/1220 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
|
May 9, 2017
| https://github.com/python/typing/pull/417#ref-pullrequest-219365432 |
|
Protocols
python/mypy#3132
| https://github.com/python/mypy/pull/3132 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
| May 10, 2017 | https://github.com/python/typing/pull/417#issuecomment-300451650 |
| Please reload this page | https://github.com/python/typing/pull/417 |
| Please reload this page | https://github.com/python/typing/pull/417 |
| https://github.com/Daenyth |
| Daenyth | https://github.com/Daenyth |
| May 10, 2017 | https://github.com/python/typing/pull/417#issuecomment-300452110 |
| Please reload this page | https://github.com/python/typing/pull/417 |
|
| https://github.com/ilevkivskyi |
| Add test for named tuple with protocol | https://github.com/python/typing/pull/417/commits/d3a5491e6e7349acddba7d3e2b7f75f75a965859 |
| d3a5491 | https://github.com/python/typing/pull/417/commits/d3a5491e6e7349acddba7d3e2b7f75f75a965859 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
|
May 16, 2017
| https://github.com/python/typing/pull/417#ref-issue-228861198 |
|
NamedTupleInterface
#431
| https://github.com/python/typing/issues/431 |
| ilevkivskyi | https://github.com/ilevkivskyi |
| July 28, 2017 21:22 | https://github.com/python/typing/pull/417#commits-pushed-eecef84 |
|
| https://github.com/ilevkivskyi |
| Merge branch 'master' into protocols | https://github.com/python/typing/pull/417/commits/eecef84c3eb14d85cb8dc7c1cd5ebd140fc995b6 |
| eecef84 | https://github.com/python/typing/pull/417/commits/eecef84c3eb14d85cb8dc7c1cd5ebd140fc995b6 |
|
| https://github.com/ilevkivskyi |
| Fix broken merge | https://github.com/python/typing/pull/417/commits/904c978670102c6e116c096bc3706e290f801237 |
| 904c978 | https://github.com/python/typing/pull/417/commits/904c978670102c6e116c096bc3706e290f801237 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Jul 28, 2017 | https://github.com/python/typing/pull/417#issuecomment-318743401 |
| Please reload this page | https://github.com/python/typing/pull/417 |
| ilevkivskyi | https://github.com/ilevkivskyi |
|
Aug 19, 2017
| https://github.com/python/typing/pull/417#ref-commit-1ebd3f5 |
|
| https://github.com/ilevkivskyi |
| Adapt Protocol and runtime from PR | https://github.com/ilevkivskyi/typehinting/commit/1ebd3f5963ace7241f3c7d0794e838fcbe824955 |
| python#417 | https://github.com/python/typing/pull/417 |
| 1ebd3f5 | https://github.com/ilevkivskyi/typehinting/commit/1ebd3f5963ace7241f3c7d0794e838fcbe824955 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
|
Aug 19, 2017
| https://github.com/python/typing/pull/417#ref-pullrequest-251420999 |
|
Protocols in typing extensions
#464
| https://github.com/python/typing/pull/464 |
| https://github.com/gvanrossum |
| gvanrossum | https://github.com/gvanrossum |
| Sep 13, 2017 | https://github.com/python/typing/pull/417#issuecomment-329018537 |
| #464 | https://github.com/python/typing/pull/464 |
| Please reload this page | https://github.com/python/typing/pull/417 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Sep 13, 2017 | https://github.com/python/typing/pull/417#issuecomment-329078165 |
| #464 | https://github.com/python/typing/pull/464 |
| #464 | https://github.com/python/typing/pull/464 |
| Please reload this page | https://github.com/python/typing/pull/417 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Jun 18, 2019 | https://github.com/python/typing/pull/417#issuecomment-502898795 |
| #649 | https://github.com/python/typing/pull/649 |
| Please reload this page | https://github.com/python/typing/pull/417 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
| Jun 18, 2019 | https://github.com/python/typing/pull/417#event-2419235844 |
| https://github.com/ilevkivskyi |
| ilevkivskyi | https://github.com/ilevkivskyi |
| June 18, 2019 00:27 | https://github.com/python/typing/pull/417#event-2419235957 |
| https://github.co/hiddenchars |
| https://github.com/python/typing/pull/{{ revealButtonHref }} |
| 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%2Fpull%2F417 |
| Please reload this page | https://github.com/python/typing/pull/417 |
|
CLA signed
| https://github.com/python/typing/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22 |
|
Protocols (a.k.a. structural subtyping)
| https://github.com/python/typing/issues/11 |
| Please reload this page | https://github.com/python/typing/pull/417 |
|
| https://github.com/ilevkivskyi |
|
| https://github.com/Daenyth |
|
| https://github.com/gvanrossum |
|
| https://github.com/the-knights-who-say-ni |
|
| 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 |