Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-99248: [Enum] fix negative number infinite loop#99256

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ethanfurman merged 2 commits intopython:mainfromethanfurman:enum-negative_verify
Nov 8, 2022

Conversation

ethanfurman
Copy link
Member

@ethanfurmanethanfurman commentedNov 8, 2022
edited by bedevere-bot
Loading

  • _iter_bits_lsb() now raises a ValueError if a negative number is passed in

  • verify() now skips checking negative numbers for named flags

- _iter_bits_lsb() now raises a ValueError if a negative number  is passed in- verify() now skips checking negative numbers for named flags
@ethanfurmanethanfurman added type-bugAn unexpected behavior, bug, or error stdlibPython modules in the Lib dir 3.11only security fixes 3.12only security fixes needs backport to 3.11only security fixes labelsNov 8, 2022
@ethanfurmanethanfurman self-assigned thisNov 8, 2022
@ethanfurmanethanfurman merged commit0b4ffb0 intopython:mainNov 8, 2022
@miss-islington
Copy link
Contributor

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestNov 8, 2022
)[Enum] fix negative number infinite loop- _iter_bits_lsb() now raises a ValueError if a negative number  is passed in- verify() now skips checking negative numbers for named flags(cherry picked from commit0b4ffb0)Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
@bedevere-bot
Copy link

GH-99259 is a backport of this pull request to the3.11 branch.

@bedevere-botbedevere-bot removed the needs backport to 3.11only security fixes labelNov 8, 2022
miss-islington added a commit that referenced this pull requestNov 8, 2022
[Enum] fix negative number infinite loop- _iter_bits_lsb() now raises a ValueError if a negative number  is passed in- verify() now skips checking negative numbers for named flags(cherry picked from commit0b4ffb0)Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
@ethanfurmanethanfurman deleted the enum-negative_verify branchNovember 8, 2022 20:44
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees

@ethanfurmanethanfurman

Labels
3.11only security fixes3.12only security fixesstdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@ethanfurman@miss-islington@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp