This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: One-off errors in hashlib.scrypt error messages
Type: behavior Stage:
Components: Versions:
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: ron_kaminsky
Priority: normal Keywords:

Created on 2022-01-29 20:26 by ron_kaminsky, last changed 2022-04-11 14:59 by admin.

Messages (1)
msg412103 - (view) Author: Ron Kaminsky (ron_kaminsky) Date: 2022-01-29 20:26
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!
History
Date User Action Args
2022-04-11 14:59:55adminsetgithub: 90733
2022-01-29 20:26:03ron_kaminskycreate