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

[3.10] bpo-45081: Fix __init__ method generation when inheriting from Protocol (GH-28121) by miss-islington · Pull Request #28131 · python/cpython · GitHub

Repository navigation

[3.10] bpo-45081: Fix __init__ method generation when inheriting from Protocol (GH-28121) - #28131

Merged
miss-islington merged 1 commit into
python:3.10from
miss-islington:backport-0635e20-3.10
Sep 3, 2021
Merged

miss-islington merged 1 commit into
python:3.10from
miss-islington:backport-0635e20-3.10

Conversation

miss-islington commented Sep 2, 2021 •
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Contributor

Co-authored-by: Ken Jin 28750310+Fidget-Spinner@users.noreply.github.com
(cherry picked from commit 0635e20)

Co-authored-by: Yurii Karabas 1998uriyyo@gmail.com

https://bugs.python.org/issue45081

…ol (pythonGH-28121)

Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
(cherry picked from commit 0635e20)

Co-authored-by: Yurii Karabas <1998uriyyo@gmail.com>

Copy link
Copy Markdown
Contributor Author

@uriyyo and @ambv: Status check is done, and it's a success ✅ .

ambv commented Sep 2, 2021

Copy link
Copy Markdown
Contributor

@pablogsal, this fixes a regression (that shipped with 3.9.7) where the fix in GH-27545 made dataclass-based classes use the wrong __init__ if they inherited from Protocol too.

ambv requested a review from pablogsal September 2, 2021 16:28

Copy link
Copy Markdown
Contributor Author

@uriyyo and @ambv: Status check is done, and it's a success ✅ .

ambv left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Regression fix, needs to go in for rc2.

miss-islington merged commit 79e9f5a into python:3.10 Sep 3, 2021
miss-islington deleted the backport-0635e20-3.10 branch September 3, 2021 06:27
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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL