##// END OF EJS Templates
rust: bump rust-cpython version to 0.7.2...
rust: bump rust-cpython version to 0.7.2 This version supports Python 3.12 while 0.7.1 did not.

File last commit:

r52756:f4733654 default
r52762:37a07941 stable
Show More
hashutil.py
8 lines | 175 B | text/x-python | PythonLexer
import hashlib
try:
from ..thirdparty import sha1dc # pytype: disable=import-error
sha1 = sha1dc.sha1
except (ImportError, AttributeError):
sha1 = hashlib.sha1