aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/idlelib/BrowserControl.py
diff options
context:
space:
mode:
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>2025-06-21 11:43:30 +0200
committerGitHub <noreply@github.com>2025-06-21 09:43:30 +0000
commit7c4361564c3881946a5eca677607b4ffec0a566d (patch)
treed0f0078114b1bf642d744b9283de8b36fac4ff2c /Lib/idlelib/BrowserControl.py
parent13cac833471885564cbfde72a4cbac64ade3137a (diff)
downloadcpython-7c4361564c3881946a5eca677607b4ffec0a566d.tar.gz
cpython-7c4361564c3881946a5eca677607b4ffec0a566d.zip
gh-135759: consistently reject negative sizes in SHAKE digests (#135767)
Passing a negative digest length to `_hashilb.HASHXOF.[hex]digest()` now raises a ValueError instead of a MemoryError or a SystemError. This makes the behavior consistent with that of `_sha3.shake_{128,256}.[hex]digest`.
Diffstat (limited to 'Lib/idlelib/BrowserControl.py')
0 files changed, 0 insertions, 0 deletions