-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Description
per the # TODO comment, patch is needed here too?
Lines 35 to 41 in 0a88d41
| # TODO: no longer needed when py3.9 is minimum supported version | |
| def _empty_hash(kind="md5"): | |
| func = getattr(hashlib, kind) | |
| if "usedforsecurity" in inspect.signature(func).parameters: | |
| return func(usedforsecurity=False) | |
| else: | |
| return func() |
Originally posted by @varunkasyap in #13561 (comment)
Metadata
Metadata
Assignees
Labels
No labels