[New-bugs-announce] [issue46575] One-off errors in hashlib.scrypt error messages
Ron Kaminsky
report at bugs.python.org
Sat Jan 29 15:26:03 EST 2022
New submission from Ron Kaminsky <RonKaminsky+bugs at yandex.com>:
There are one-off errors in upper bounds given in the error messages for hashlib.scrypt(...). MAX_INT *is* accepted (and at least for maxmem, works).
See https://github.com/python/cpython/blob/8fb36494501aad5b0c1d34311c9743c60bb9926c/Modules/_hashopenssl.c#L1375
and https://github.com/python/cpython/blob/8fb36494501aad5b0c1d34311c9743c60bb9926c/Modules/_hashopenssl.c#L1382
With thanks to everyone involved for all the fine work on Python!
----------
messages: 412103
nosy: ron_kaminsky
priority: normal
severity: normal
status: open
title: One-off errors in hashlib.scrypt error messages
type: behavior
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46575>
_______________________________________
More information about the New-bugs-announce
mailing list