We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b97345 commit 34bb1b2Copy full SHA for 34bb1b2
cacheops/utils.py
@@ -150,7 +150,7 @@ def __init__(self, s=None):
150
# usedforsecurity was introduced in 3.9
151
# this is for backwards compatibility
152
pyversion = sys.version_info
153
- if pyversion.major == 3 and pyversion.minor >= 9:
+ if (pyversion.major == 3 and pyversion.minor >= 9) or pyversion.major > 3:
154
md5_kwargs["usedforsecuirty"] = False
155
156
self.md5 = hashlib.md5(**md5_kwargs)
0 commit comments