Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-44806: Fix __init__ in subclasses of protocols #27545

Merged
merged 1 commit into from Aug 2, 2021

Conversation

@serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Aug 2, 2021

Non-protocol subclasses of protocol ignore now the init method
inherited from protocol base classes.

https://bugs.python.org/issue44806

Non-protocol subclasses of protocol ignore now the __init__ method
inherited from protocol base classes.
@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Aug 2, 2021

Thanks @serhiy-storchaka for the PR, and @ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.9.
🐍🍒🤖

Loading

@bedevere-bot
Copy link

@bedevere-bot bedevere-bot commented Aug 2, 2021

GH-27558 is a backport of this pull request to the 3.10 branch.

Loading

miss-islington added a commit to miss-islington/cpython that referenced this issue Aug 2, 2021
Non-protocol subclasses of protocol ignore now the __init__ method
inherited from protocol base classes.
(cherry picked from commit 043cd60)

Co-authored-by: Serhiy Storchaka <[email protected]>
@bedevere-bot
Copy link

@bedevere-bot bedevere-bot commented Aug 2, 2021

GH-27559 is a backport of this pull request to the 3.9 branch.

Loading

miss-islington added a commit to miss-islington/cpython that referenced this issue Aug 2, 2021
Non-protocol subclasses of protocol ignore now the __init__ method
inherited from protocol base classes.
(cherry picked from commit 043cd60)

Co-authored-by: Serhiy Storchaka <[email protected]>
ambv pushed a commit that referenced this issue Aug 2, 2021
Non-protocol subclasses of protocol ignore now the __init__ method
inherited from protocol base classes.
(cherry picked from commit 043cd60)

Co-authored-by: Serhiy Storchaka <[email protected]>
miss-islington added a commit that referenced this issue Aug 2, 2021
Non-protocol subclasses of protocol ignore now the __init__ method
inherited from protocol base classes.
(cherry picked from commit 043cd60)

Co-authored-by: Serhiy Storchaka <[email protected]>
@serhiy-storchaka serhiy-storchaka deleted the protocol-subclass-init branch Aug 3, 2021
JuniorJPDJ added a commit to JuniorJPDJ/cpython that referenced this issue Aug 12, 2021
Non-protocol subclasses of protocol ignore now the __init__ method
inherited from protocol base classes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants