| 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:fcd81e9e-ea6d-8a14-a3b5-c2dccc890dcb |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E352:301154:C8126:11B5F2:6969FA77 |
| html-safe-nonce | 0f989fa1dfde46c5235bfa3df731e0d92bb41ce53094d5a5ee28a6d6b4eb7072 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMzUyOjMwMTE1NDpDODEyNjoxMUI1RjI6Njk2OUZBNzciLCJ2aXNpdG9yX2lkIjoiNTkwMTg3MTgxNDgzOTc2MTUyNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 45b2d6476391544093c559ab485384fe4a2ed27c36764d2763354665999a3849 |
| hovercard-subject-tag | pull_request:701389252 |
| 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/27545/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/d1c7dbaf622f19ffe8393e1cf7caefd0076341a7ff944ff3b676282f45fbb2fa/python/cpython/pull/27545 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d1c7dbaf622f19ffe8393e1cf7caefd0076341a7ff944ff3b676282f45fbb2fa/python/cpython/pull/27545 |
| og:image:alt | Non-protocol subclasses of protocol ignore now the __init__ method
inherited from protocol base classes.
https://bugs.python.org/issue44806 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | serhiy-storchaka |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| 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 | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/27545#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F27545 |
| 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%2F27545 |
|
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/27545 |
| Reload | https://github.com/python/cpython/pull/27545 |
| Reload | https://github.com/python/cpython/pull/27545 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/27545 |
|
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/27545 |
|
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/27545#issue-comment-box |
| ambv | https://github.com/ambv |
| python:main | https://github.com/python/cpython/tree/main |
| serhiy-storchaka:protocol-subclass-init | https://github.com/serhiy-storchaka/cpython/tree/protocol-subclass-init |
|
bpo-44806: Fix __init__ in subclasses of protocols
| https://github.com/python/cpython/pull/27545#top |
| ambv | https://github.com/ambv |
| python:main | https://github.com/python/cpython/tree/main |
| serhiy-storchaka:protocol-subclass-init | https://github.com/serhiy-storchaka/cpython/tree/protocol-subclass-init |
|
Conversation
3
| https://github.com/python/cpython/pull/27545 |
|
Commits
1
| https://github.com/python/cpython/pull/27545/commits |
|
Checks
0
| https://github.com/python/cpython/pull/27545/checks |
|
Files changed
| https://github.com/python/cpython/pull/27545/files |
| Please reload this page | https://github.com/python/cpython/pull/27545 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| Aug 2, 2021 | https://github.com/python/cpython/pull/27545#issue-958055205 |
| Please reload this page | https://github.com/python/cpython/pull/27545 |
| https://bugs.python.org/issue44806 | https://bugs.python.org/issue44806 |
| Please reload this page | https://github.com/python/cpython/pull/27545 |
|
| https://github.com/serhiy-storchaka |
| bpo-44806: Fix __init__ in subclasses of protocols | https://github.com/python/cpython/pull/27545/commits/d2d3a318022c1e1866ba262deada90dd565a2bbe |
| d2d3a31 | https://github.com/python/cpython/pull/27545/commits/d2d3a318022c1e1866ba262deada90dd565a2bbe |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| gvanrossum | https://github.com/gvanrossum |
| code owner | https://github.com/python/cpython/blob/414dcb13aaa4fd42f264fdee47782dede5c83d6c/.github/CODEOWNERS#L131 |
| August 2, 2021 11:39 | https://github.com/python/cpython/pull/27545#event-5098520158 |
| 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 |
| Aug 2, 2021 | https://github.com/python/cpython/pull/27545#event-5098520312 |
| 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/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22 |
| Aug 2, 2021 | https://github.com/python/cpython/pull/27545#event-5098520327 |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
|
needs backport to 3.9
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.9%22 |
|
needs backport to 3.10
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.10%22 |
|
type-bug
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-bug |
| Aug 2, 2021 | https://github.com/python/cpython/pull/27545#event-5098521244 |
| https://github.com/ambv |
| ambv | https://github.com/ambv |
|
Aug 2, 2021
| https://github.com/python/cpython/pull/27545#ref-pullrequest-957953887 |
|
bpo-44806: Fix issue with typing.Protocol __init__ method generation
#27541
| https://github.com/python/cpython/pull/27541 |
| https://github.com/ambv |
| ambv | https://github.com/ambv |
| 043cd60 | https://github.com/python/cpython/commit/043cd60abed09edddc7185bcf7d039771acc734d |
| Aug 2, 2021 | https://github.com/python/cpython/pull/27545#event-5100069523 |
| https://github.com/miss-islington |
| miss-islington | https://github.com/miss-islington |
| Aug 2, 2021 | https://github.com/python/cpython/pull/27545#issuecomment-891159167 |
| @serhiy-storchaka | https://github.com/serhiy-storchaka |
| @ambv | https://github.com/ambv |
| Please reload this page | https://github.com/python/cpython/pull/27545 |
| 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 |
| Aug 2, 2021 | https://github.com/python/cpython/pull/27545#event-5100069705 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
| Aug 2, 2021 | https://github.com/python/cpython/pull/27545#issuecomment-891159282 |
| GH-27558 | https://github.com/python/cpython/pull/27558 |
| 3.10 branch | https://github.com/python/cpython/tree/3.10 |
| Please reload this page | https://github.com/python/cpython/pull/27545 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
needs backport to 3.10
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.10%22 |
| Aug 2, 2021 | https://github.com/python/cpython/pull/27545#event-5100070380 |
| miss-islington | https://github.com/miss-islington |
|
Aug 2, 2021
| https://github.com/python/cpython/pull/27545#ref-commit-f83cedb |
|
| https://github.com/serhiy-storchaka |
|
| https://github.com/miss-islington |
| bpo-44806: Fix __init__ in subclasses of protocols ( | https://github.com/miss-islington/cpython/commit/f83cedbbd8f07bac39c129f0e570aa626774ce72 |
| pythonGH-27545 | https://github.com/python/cpython/pull/27545 |
| ) | https://github.com/miss-islington/cpython/commit/f83cedbbd8f07bac39c129f0e570aa626774ce72 |
| f83cedb | https://github.com/miss-islington/cpython/commit/f83cedbbd8f07bac39c129f0e570aa626774ce72 |
| 043cd60 | https://github.com/miss-islington/cpython/commit/043cd60abed09edddc7185bcf7d039771acc734d |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
| Aug 2, 2021 | https://github.com/python/cpython/pull/27545#issuecomment-891159377 |
| GH-27559 | https://github.com/python/cpython/pull/27559 |
| 3.9 branch | https://github.com/python/cpython/tree/3.9 |
| Please reload this page | https://github.com/python/cpython/pull/27545 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
|
needs backport to 3.9
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.9%22 |
| Aug 2, 2021 | https://github.com/python/cpython/pull/27545#event-5100070852 |
| miss-islington | https://github.com/miss-islington |
|
Aug 2, 2021
| https://github.com/python/cpython/pull/27545#ref-commit-d310dc0 |
|
| https://github.com/serhiy-storchaka |
|
| https://github.com/miss-islington |
| bpo-44806: Fix __init__ in subclasses of protocols ( | https://github.com/miss-islington/cpython/commit/d310dc0fbd90a43efb3f3d867c3a38daf5c9a89d |
| pythonGH-27545 | https://github.com/python/cpython/pull/27545 |
| ) | https://github.com/miss-islington/cpython/commit/d310dc0fbd90a43efb3f3d867c3a38daf5c9a89d |
| d310dc0 | https://github.com/miss-islington/cpython/commit/d310dc0fbd90a43efb3f3d867c3a38daf5c9a89d |
| 043cd60 | https://github.com/miss-islington/cpython/commit/043cd60abed09edddc7185bcf7d039771acc734d |
| ambv | https://github.com/ambv |
|
Aug 2, 2021
| https://github.com/python/cpython/pull/27545#ref-commit-0f6a773 |
|
| https://github.com/miss-islington |
|
| https://github.com/serhiy-storchaka |
| bpo-44806 | https://bugs.python.org/issue?@action=redirect&bpo=44806 |
| : Fix __init__ in subclasses of protocols ( | https://github.com/python/cpython/commit/0f6a7739df0055b5c6abe2180f1be97ea4da87b7 |
| GH-27545 | https://github.com/python/cpython/pull/27545 |
| ) ( | https://github.com/python/cpython/commit/0f6a7739df0055b5c6abe2180f1be97ea4da87b7 |
| GH-27559 | https://github.com/python/cpython/pull/27559 |
| ) | https://github.com/python/cpython/commit/0f6a7739df0055b5c6abe2180f1be97ea4da87b7 |
| 0f6a773 | https://github.com/python/cpython/commit/0f6a7739df0055b5c6abe2180f1be97ea4da87b7 |
| 043cd60 | https://github.com/python/cpython/commit/043cd60abed09edddc7185bcf7d039771acc734d |
| miss-islington | https://github.com/miss-islington |
|
Aug 2, 2021
| https://github.com/python/cpython/pull/27545#ref-commit-2cc19a5 |
|
| https://github.com/miss-islington |
|
| https://github.com/serhiy-storchaka |
| bpo-44806 | https://bugs.python.org/issue?@action=redirect&bpo=44806 |
| : Fix __init__ in subclasses of protocols ( | https://github.com/python/cpython/commit/2cc19a5463c804b2f39b94de896d55dcb57a364c |
| GH-27545 | https://github.com/python/cpython/pull/27545 |
| ) | https://github.com/python/cpython/commit/2cc19a5463c804b2f39b94de896d55dcb57a364c |
| 2cc19a5 | https://github.com/python/cpython/commit/2cc19a5463c804b2f39b94de896d55dcb57a364c |
| 043cd60 | https://github.com/python/cpython/commit/043cd60abed09edddc7185bcf7d039771acc734d |
| https://github.com/uriyyo |
| uriyyo | https://github.com/uriyyo |
|
Aug 2, 2021
| https://github.com/python/cpython/pull/27545#ref-issue-454597531 |
|
Subclassing Protocol get different __init__
python/typing#644
| https://github.com/python/typing/issues/644 |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| August 3, 2021 12:51 | https://github.com/python/cpython/pull/27545#event-5104606872 |
| https://github.com/hauntsaninja |
| hauntsaninja | https://github.com/hauntsaninja |
|
Aug 9, 2021
| https://github.com/python/cpython/pull/27545#ref-issue-341132793 |
|
super().__init__ doesn't work in explicit protocol subclasses
python/typing#572
| https://github.com/python/typing/issues/572 |
| https://github.com/shr1k |
| shr1k | https://github.com/shr1k |
|
Sep 1, 2021
| https://github.com/python/cpython/pull/27545#ref-issue-985283317 |
|
dbt==0.20.1 commands break on python 3.9.7
dbt-labs/dbt-core#3843
| https://github.com/dbt-labs/dbt-core/issues/3843 |
| https://github.com/julianfortune |
| julianfortune | https://github.com/julianfortune |
|
Sep 1, 2021
| https://github.com/python/cpython/pull/27545#ref-issue-985678292 |
|
dataclasses that inherit from Protocol subclasses have wrong __init__
python/typing#883
| https://github.com/python/typing/issues/883 |
|
bpo-45081: Fix __init__ method generation when inheriting from Protocol
#28121
| https://github.com/python/cpython/pull/28121 |
|
[3.10] bpo-45081: Fix __init__ method generation when inheriting from Protocol (GH-28121)
#28131
| https://github.com/python/cpython/pull/28131 |
| https://github.com/s-weigand |
| s-weigand | https://github.com/s-weigand |
|
Nov 25, 2021
| https://github.com/python/cpython/pull/27545#ref-pullrequest-1063807451 |
|
🩹 Remove inheriting from 'FileLoadableProtocol'
glotaran/pyglotaran#912
| https://github.com/glotaran/pyglotaran/pull/912 |
| https://github.com/jaheba |
| jaheba | https://github.com/jaheba |
|
Jul 6, 2022
| https://github.com/python/cpython/pull/27545#ref-pullrequest-1296012053 |
|
Fix PandasDataset for Python 3.9
awslabs/gluonts#2141
| https://github.com/awslabs/gluonts/pull/2141 |
| https://github.com/JanEricNitschke |
| JanEricNitschke | https://github.com/JanEricNitschke |
|
Sep 11, 2025
| https://github.com/python/cpython/pull/27545#ref-pullrequest-3407763959 |
|
Ensure init called in protocol subclasses
python/typing_extensions#678
| https://github.com/python/typing_extensions/pull/678 |
| 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%2F27545 |
|
| https://github.com/gvanrossum |
|
gvanrossum
| https://github.com/gvanrossum |
|
type-bug
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-bug |
| Please reload this page | https://github.com/python/cpython/pull/27545 |
|
| https://github.com/serhiy-storchaka |
|
| https://github.com/miss-islington |
|
| https://github.com/bedevere-bot |
|
| https://github.com/ambv |
|
| 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 |