Skip to content

bpo-41517: do not allow Enums to be extended #22271

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

Merged
merged 2 commits into from
Sep 16, 2020

Conversation

ethanfurman
Copy link
Member

@ethanfurman ethanfurman commented Sep 16, 2020

fix bug that let Enums be extended via multiple inheritance

https://bugs.python.org/issue41517

fix bug that let Enums be extended via multiple inheritance
@miss-islington
Copy link
Contributor

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

@bedevere-bot
Copy link

@ethanfurman: Please replace # with GH- in the commit message next time. Thanks!

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 16, 2020
fix bug that let Enums be extended via multiple inheritance
(cherry picked from commit 3064dbf)

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

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

@bedevere-bot bedevere-bot removed the needs backport to 3.9 only security fixes label Sep 16, 2020
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 16, 2020
fix bug that let Enums be extended via multiple inheritance
(cherry picked from commit 3064dbf)

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

GH-22279 is a backport of this pull request to the 3.8 branch.

miss-islington added a commit that referenced this pull request Sep 16, 2020
fix bug that let Enums be extended via multiple inheritance
(cherry picked from commit 3064dbf)

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
miss-islington added a commit that referenced this pull request Sep 16, 2020
fix bug that let Enums be extended via multiple inheritance
(cherry picked from commit 3064dbf)

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
xzy3 pushed a commit to xzy3/cpython that referenced this pull request Oct 18, 2020
fix bug that let Enums be extended via multiple inheritance
@ethanfurman ethanfurman deleted the enum-mi_bug branch April 15, 2021 14:22
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.

4 participants