10000 gh-125259: Fix error notes removal in enum initialization by mariosasko · Pull Request #125647 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-125259: Fix error notes removal in enum initialization #125647

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 4 commits into from
Oct 22, 2024

Conversation

mariosasko
Copy link
Contributor
@mariosasko mariosasko commented Oct 17, 2024

Delete the notes of errors thrown in enum class initialization instead of re-instantiating them (without notes), which might not always be possible.

@ethanfurman ethanfurman self-assigned this Oct 22, 2024
@ethanfurman ethanfurman added type-bug An unexpected behavior, bug, or error stdlib Python modules in the Lib dir 3.12 only security fixes 3.13 bugs and security fixes needs backport to 3.12 only security fixes 3.14 bugs an 8000 d security fixes needs backport to 3.13 bugs and security fixes labels Oct 22, 2024
@ethanfurman ethanfurman merged commit 34653bb into python:main Oct 22, 2024
44 checks passed
@miss-islington-app
Copy link

Thanks @mariosasko for the PR, and @ethanfurman for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖

@miss-islington-app
Copy link

Sorry, @mariosasko and @ethanfurman, I could not cleanly backport this to 3.12 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 34653bba644aa5481613f398153757d7357e39ea 3.12

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 22, 2024
…onGH-125647)

(cherry picked from commit 34653bb)

Co-authored-by: Mario Šaško <mariosasko777@gmail.com>
@bedevere-app
Copy link
bedevere-app bot commented Oct 22, 2024

GH-125858 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Oct 22, 2024
ethanfurman pushed a commit that referenced this pull request Oct 25, 2024
…125647) (GH-125858)

gh-125259: Fix error notes removal in enum initialization (GH-125647)
(cherry picked from commit 34653bb)

Co-authored-by: Mario Šaško <mariosasko777@gmail.com>
ethanfurman pushed a commit to ethanfurman/cpython that referenced this pull request Oct 25, 2024
@bedevere-app
Copy link
bedevere-app bot commented Oct 25, 2024

GH-125953 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 only security fixes label Oct 25, 2024
ethanfurman added a commit that referenced this pull request Oct 25, 2024
…125647) (GH-125953)

(cherry picked from commit 34653bb)

Co-authored-by: Mario Šaško <mariosasko777@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.12 only security fixes 3.13 bugs and security fixes 3.14 bugs and security fixes stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0