Skip to content

gh-93250: [Enum] Change IntEnum boundary to KEEP for backwards compatibility #93302

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 1 commit into from
May 27, 2022

Conversation

ethanfurman
Copy link
Member

No description provided.

@ethanfurman ethanfurman self-assigned this May 27, 2022
@ethanfurman ethanfurman added type-bug An unexpected behavior, bug, or error tests Tests in the Lib/test dir skip news stdlib Python modules in the Lib dir 3.11 only security fixes 3.12 only security fixes needs backport to 3.11 only security fixes labels May 27, 2022
@ethanfurman ethanfurman merged commit 70cfe56 into python:main May 27, 2022
@miss-islington
Copy link
Contributor

Thanks @ethanfurman for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 27, 2022
…compatibility (pythonGH-93302)

In previous versions of Python if an IntEnum member was combined with another integer type value using a bit-wise operation, the resulting value would still be the IntEnum type.  This change restores that behavior.
(cherry picked from commit 70cfe56)

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

GH-93304 is a backport of this pull request to the 3.11 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.11 only security fixes label May 27, 2022
ethanfurman added a commit that referenced this pull request May 27, 2022
…ibility (GH-93302) (GH-93304)

In previous versions of Python if an IntEnum member was combined with another integer type value using a bit-wise operation, the resulting value would still be the IntEnum type.  This change restores that behavior.
(cherry picked from commit 70cfe56)

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
@ethanfurman ethanfurman deleted the enum-keep branch May 27, 2022 22:49
The-Compiler added a commit to qutebrowser/qutebrowser that referenced this pull request Jun 10, 2022
The-Compiler added a commit to qutebrowser/qutebrowser that referenced this pull request Jun 17, 2022
The-Compiler added a commit to qutebrowser/qutebrowser that referenced this pull request Jun 17, 2022
The-Compiler added a commit to qutebrowser/qutebrowser that referenced this pull request Jun 20, 2022
The-Compiler added a commit to qutebrowser/qutebrowser that referenced this pull request Jun 22, 2022
The-Compiler added a commit to qutebrowser/qutebrowser that referenced this pull request Jun 22, 2022
The-Compiler added a commit to qutebrowser/qutebrowser that referenced this pull request Aug 22, 2022
The-Compiler added a commit to qutebrowser/qutebrowser that referenced this pull request Aug 23, 2022
The-Compiler added a commit to qutebrowser/qutebrowser that referenced this pull request Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.11 only security fixes 3.12 only security fixes skip news stdlib Python modules in the Lib dir tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants