]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-89313: Add hashlib.file_digest to whatsnew 3.11 (GH-95965)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 13 Aug 2022 19:55:15 +0000 (12:55 -0700)
committerGitHub <noreply@github.com>
Sat, 13 Aug 2022 19:55:15 +0000 (12:55 -0700)
Automerge-Triggered-By: GH:pablogsal
(cherry picked from commit 0b329f4f03b3e2d603cf81c39e7c9d83da123717)

Co-authored-by: Christian Heimes <christian@python.org>
Doc/whatsnew/3.11.rst

index 6c8f7913a346dc577f62e8f5eb7fd0e0bab8cef9..99cf77dadb5695cc575d748a0073094d42439dc7 100644 (file)
@@ -592,6 +592,10 @@ hashlib
   OpenSSL support.
   (Contributed by Christian Heimes in :issue:`47098`.)
 
+* Add :func:`hashlib.file_digest`, a helper function for efficient hashing
+  of files or file-like objects.
+  (Contributed by Christian Heimes in :gh:`89313`.)
+
 IDLE and idlelib
 ----------------