You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In addition, the .name attribute on the streaming hashes all return Python strings with an extra null terminator, which I believe is a bug stemming from using sizeof("XXH32"), etc.
I can write a PR for the latter bug later this week, along with a PR for type stubs that I'm working on.
The text was updated successfully, but these errors were encountered:
For parity with hashlib in Python 3.8/9,
xxh32
/xxh64
/etc need to accept a keyword argumentstring
, and a boolean keyword argumentusedforsecurity
.https://github.com/python/typeshed/blob/04c74640f049a658f0099f4785452f5f46ec518b/stdlib/3/hashlib.pyi#L7
In addition, the
.name
attribute on the streaming hashes all return Python strings with an extra null terminator, which I believe is a bug stemming from usingsizeof("XXH32")
, etc.I can write a PR for the latter bug later this week, along with a PR for type stubs that I'm working on.
The text was updated successfully, but these errors were encountered: