Skip to content

bpo-41907: fix format() behavior for IntFlag #22497

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
Dec 8, 2020

Conversation

ethanfurman
Copy link
Member

@ethanfurman ethanfurman commented Oct 2, 2020

A regression was introduced with GH-14545 (Use overridden __str__ if present); the fix did not account for Flag having its own __str__.

https://bugs.python.org/issue41907

@miss-islington
Copy link
Contributor

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

@miss-islington
Copy link
Contributor

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

@bedevere-bot bedevere-bot removed the needs backport to 3.9 only security fixes label Dec 8, 2020
@bedevere-bot
Copy link

GH-23703 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 Dec 8, 2020
(cherry picked from commit 37440ee)

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 8, 2020
(cherry picked from commit 37440ee)

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

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

ethanfurman pushed a commit that referenced this pull request Dec 8, 2020
ethanfurman pushed a commit that referenced this pull request Dec 8, 2020
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
@ethanfurman ethanfurman deleted the enum-fix_format branch April 15, 2021 14:08
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