[issue33729] Hashlib/blake2* missing 'data' keyword argument

Karthikeyan Singaravelan report at bugs.python.org
Thu Jul 19 06:16:32 EDT 2018


Karthikeyan Singaravelan <tir.karthi at gmail.com> added the comment:

This was introduced as part of https://hg.python.org/cpython/rev/4969f6d343b1 . In addition to the signature there is also a line at https://docs.python.org/dev/library/hashlib.html#simple-hashing which could be removed 

> As a shortcut, you can pass the first chunk of data to update directly to the constructor as the first argument (or as data keyword argument)


Thanks

----------
nosy: +xtreak

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33729>
_______________________________________


More information about the Python-bugs-list mailing list