Skip to content

Conversation

@Pharkie
Copy link
Contributor

@Pharkie Pharkie commented Jan 20, 2024

hashlib has no .new method?

@Pharkie Pharkie changed the title hmac: fix for hashlib python-stdlib/hmac/hmac: Fix for hashlib. Jan 20, 2024
The built-in `hashlib` module does not have a `.new` method (although the
Python version in this repository does).
@dpgeorge
Copy link
Member

dpgeorge commented Feb 7, 2024

Thanks for the fix.

Actually the version of hashlib in this repository does provide a new() function, but the built-in library does not. So this is a good fix.

@dpgeorge dpgeorge merged commit ddb1a27 into micropython:master Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants