summaryrefslogtreecommitdiffstats
path: root/Python/pymath.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-11-08 20:33:21 (GMT)
committerGitHub <noreply@github.com>2022-11-08 20:33:21 (GMT)
commit4f31171e3fcef0a81b3d9186b28cd0596aaff771 (patch)
treeef12b2db4f70ffdbb504bd765fd0fc7a5d4c1539 /Python/pymath.c
parentca944628acd83243f1511d118d39091dae82224f (diff)
downloadcpython-4f31171e3fcef0a81b3d9186b28cd0596aaff771.zip
cpython-4f31171e3fcef0a81b3d9186b28cd0596aaff771.tar.gz
cpython-4f31171e3fcef0a81b3d9186b28cd0596aaff771.tar.bz2
gh-99248: [Enum] fix negative number infinite loop (GH-99256)
[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 0b4ffb08ccdc21fc07ce90d3f78b58a25e1af653) Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
Diffstat (limited to 'Python/pymath.c')
0 files changed, 0 insertions, 0 deletions