https://github.com/python/cpython/commit/fb114cf49742a3679d56aa4ac3f341839c641221
commit: fb114cf49742a3679d56aa4ac3f341839c641221
branch: main
author: Alex Willmer <[email protected]>
committer: gpshead <[email protected]>
date: 2025-10-02T12:50:36-07:00
summary:
gh-139495: Fix `hashlib.file_digest()` versionchanged description of
`BlockingIOError` (GH-139496)
* Fix `hashlib.file_digest()` versionchanged description of `BlockingIOError`
The sentence was missing a negation and contradicted the other two
descriptions in the same commit. I believe code behaviour is correct.
* fixup! Fix `hashlib.file_digest()` versionchanged description of
`BlockingIOError`
* Remove unncessary NEWS.d entry
files:
M Doc/library/hashlib.rst
diff --git a/Doc/library/hashlib.rst b/Doc/library/hashlib.rst
index 8bba6700930bf4..b21ecdaede622a 100644
--- a/Doc/library/hashlib.rst
+++ b/Doc/library/hashlib.rst
@@ -310,7 +310,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.
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]