Content-Length: 304905 | pFad | https://github.com/python/cpython/pull/99259

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

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

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

[3.11] gh-99248: [Enum] fix negative number infinite loop (GH-99256)#99259
miss-islington merged 1 commit intopython:3.11from
miss-islington:backport-0b4ffb0-3.11

Conversation

@miss-islington
Copy link
Copy Markdown
Contributor

@miss-islington miss-islington commented Nov 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 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>
@miss-islington
Copy link
Copy Markdown
Contributor Author

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

@miss-islington miss-islington merged commit 4f31171 into python:3.11 Nov 8, 2022
@miss-islington miss-islington deleted the backport-0b4ffb0-3.11 branch November 8, 2022 20:33
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









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/python/cpython/pull/99259

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy