FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.11] gh-99248: [Enum] fix negative number infinite loop (GH-99256) by miss-islington · Pull Request #99259 · python/cpython · GitHub

Repository navigation

[3.11] gh-99248: [Enum] fix negative number infinite loop (GH-99256) - #99259

Merged
miss-islington merged 1 commit into
python:3.11from
miss-islington:backport-0b4ffb0-3.11
Nov 8, 2022
Merged

miss-islington merged 1 commit into
python:3.11from
miss-islington:backport-0b4ffb0-3.11

Conversation

miss-islington commented Nov 8, 2022 •
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Contributor

[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 commit 0b4ffb0)

Co-authored-by: Ethan Furman ethan@stoneleaf.us

)

[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 commit 0b4ffb0)

Co-authored-by: Ethan Furman <ethan@stoneleaf.us>

Copy link
Copy Markdown
Contributor Author

Sorry, I can't merge this PR. Reason: 6 of 9 required status checks are expected..

miss-islington merged commit 4f31171 into python:3.11 Nov 8, 2022
miss-islington deleted the backport-0b4ffb0-3.11 branch November 8, 2022 20:33
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL