From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 2 Oct 2025 21:11:58 +0000 (+0200) Subject: [3.14] gh-139495: Fix `hashlib.file_digest()` versionchanged description of `Blocking... X-Git-Tag: v3.14.0~26 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=22c63945c194ead0dc587572ab7e8395a2cb3a03;p=thirdparty%2FPython%2Fcpython.git [3.14] gh-139495: Fix `hashlib.file_digest()` versionchanged description of `BlockingIOError` (GH-139496) (#139522) Co-authored-by: Alex Willmer --- diff --git a/Doc/library/hashlib.rst b/Doc/library/hashlib.rst index 4818a4944a51..855a6efc9f78 100644 --- a/Doc/library/hashlib.rst +++ b/Doc/library/hashlib.rst @@ -303,7 +303,7 @@ a file or file-like object. .. versionadded:: 3.11 .. versionchanged:: 3.14 - Now raises a :exc:`BlockingIOError` if the file is opened in blocking + Now raises a :exc:`BlockingIOError` if the file is opened in non-blocking mode. Previously, spurious null bytes were added to the digest.