[issue35784] document that hashlib.new takes kwargs

2019-09-11 Thread Christian Heimes
Christian Heimes added the comment: Thanks for the bug report. While you are technically correct, I would like to hold off on this change for a bit more. I plan to replace our internal vendored copies of sha3 and blake2 with OpenSSL code. OpenSSL 1.1.1 has some of the new required APIs.

[issue35784] document that hashlib.new takes kwargs

2019-09-10 Thread Tahia K
Tahia K added the comment: Hello, I just submitted a small PR for this doc change, including the example provided by Jörn (thanks Jörn). -- nosy: +ta1hia ___ Python tracker

[issue35784] document that hashlib.new takes kwargs

2019-09-10 Thread Tahia K
Change by Tahia K : -- keywords: +patch pull_requests: +15531 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15890 ___ Python tracker ___

[issue35784] document that hashlib.new takes kwargs

2019-01-19 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +christian.heimes, gregory.p.smith versions: +Python 3.7, Python 3.8 ___ Python tracker ___

[issue35784] document that hashlib.new takes kwargs

2019-01-19 Thread Jörn Heissler
New submission from Jörn Heissler : This code works: hashlib.new('blake2b', b'foo', digest_size=7) https://github.com/python/cpython/blob/master/Lib/hashlib.py#L7 documents the function as: new(name, data=b'', **kwargs) But the **kwargs argument is missing in