feat(hashlib): add usedforsecurity kwarg to hash functions#3474
Conversation
youknowone
left a comment
There was a problem hiding this comment.
The changed code looks perfect. But we are commiting CPython-originated files separatedly with its source version name. Could you split and message the commits like this PR?
|
Do I need to split this PR into 2 PRs ? or I can just split this PR into 2 commits? |
|
single PR with 2 commits will be the best |
|
@TeamTamoad if you are interested in further contribution, |
OK I'll work on that. Can I just copy |
|
|
|
Done #3489 |
This PR is related to #3467
I add "usedforsecurity" as a optional keyword argument to hash functions in hashlib.
I also copy test_hashlib.py from CPython v3.9.9 and mark some tests expectedFailure