FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

bpo-44806: Fix __init__ in subclasses of protocols by serhiy-storchaka · Pull Request #27545 · python/cpython · GitHub

Repository navigation

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

Merged
ambv merged 1 commit into
python:mainfrom
serhiy-storchaka:protocol-subclass-init
Aug 2, 2021
Merged

ambv merged 1 commit into
python:mainfrom
serhiy-storchaka:protocol-subclass-init

Conversation

serhiy-storchaka commented Aug 2, 2021 •
edited by gvanrossum
Loading

Copy link
Copy Markdown
Member

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.

Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown

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

bedevere-bot removed the needs backport to 3.10 only security fixes label Aug 2, 2021
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request 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 <storchaka@gmail.com>

Copy link
Copy Markdown

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request 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 <storchaka@gmail.com>
ambv pushed a commit that referenced this pull request 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 <storchaka@gmail.com>
miss-islington added a commit that referenced this pull request 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 <storchaka@gmail.com>
serhiy-storchaka deleted the protocol-subclass-init branch August 3, 2021 12:51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL