Author: Thomas Hisch <[email protected]>
Branch: py3.6
Changeset: r92881:bcfbc11f8ebd
Date: 2017-10-30 14:07 +0000
http://bitbucket.org/pypy/pypy/changeset/bcfbc11f8ebd/
Log: Fix typo introduced previous commit
diff --git a/lib-python/3/hashlib.py b/lib-python/3/hashlib.py
--- a/lib-python/3/hashlib.py
+++ b/lib-python/3/hashlib.py
@@ -59,7 +59,7 @@
# FIXME the following algorithms were added in
# cpython3.6 but are missing in pypy
# 'blake2b', 'blake2s',
- # 'sha3_224', 'sha3_256', 'sha3_384', 'sha3_512', #
+ # 'sha3_224', 'sha3_256', 'sha3_384', 'sha3_512',
# 'shake_128', 'shake_256'
)
@@ -81,7 +81,7 @@
try:
if name in ('SHA1', 'sha1'):
import _sha1
- cache['SHA1'] = cache['sha1'] = _sha1py.sha1
+ cache['SHA1'] = cache['sha1'] = _sha1.sha1
elif name in ('MD5', 'md5'):
import _md5
cache['MD5'] = cache['md5'] = _md5.md5
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit