Skip to content

bpo-42727: [Enum] use super() and include **kwds#23927

Merged
ethanfurman merged 1 commit into
python:masterfrom
ethanfurman:enum-kwds
Dec 25, 2020
Merged

bpo-42727: [Enum] use super() and include **kwds#23927
ethanfurman merged 1 commit into
python:masterfrom
ethanfurman:enum-kwds

Conversation

@ethanfurman

@ethanfurman ethanfurman commented Dec 24, 2020

Copy link
Copy Markdown
Member

for multiple inheritance support:

  • use super().__new__
  • pass **kwds to super().__new__

https://bugs.python.org/issue42727

@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @ethanfurman for the PR 🌮🎉.. I'm working now to backport this PR to: 3.9.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 25, 2020
for multiple inheritance support:

use super().new
pass **kwds to super().new
(cherry picked from commit 786d97a)

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
@bedevere-bot

Copy link
Copy Markdown

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

miss-islington added a commit that referenced this pull request Dec 25, 2020
for multiple inheritance support:

use super().new
pass **kwds to super().new
(cherry picked from commit 786d97a)

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
for multiple inheritance support:

use super().new
pass **kwds to super().new
@ethanfurman
ethanfurman deleted the enum-kwds branch April 15, 2021 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants