diff options
author | Bénédikt Tran <10796600+picnixz@users.noreply.github.com> | 2025-06-21 11:43:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-21 09:43:30 +0000 |
commit | 7c4361564c3881946a5eca677607b4ffec0a566d (patch) | |
tree | d0f0078114b1bf642d744b9283de8b36fac4ff2c /Lib/idlelib/BrowserControl.py | |
parent | 13cac833471885564cbfde72a4cbac64ade3137a (diff) | |
download | cpython-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