]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-82626: Schedule removal of bool used as file descriptor (#145469)
authorVictor Stinner <vstinner@python.org>
Thu, 5 Mar 2026 11:32:32 +0000 (12:32 +0100)
committerGitHub <noreply@github.com>
Thu, 5 Mar 2026 11:32:32 +0000 (12:32 +0100)
Doc/deprecations/pending-removal-in-3.18.rst

index 3e7992194784240a5f24fae7eed77d4745f466c6..eb42fe9919eaebd14970f1e34ab80d0f890d829c 100644 (file)
@@ -1,6 +1,9 @@
 Pending removal in Python 3.18
 ------------------------------
 
+* No longer accept a boolean value when a file descriptor is expected.
+  (Contributed by Serhiy Storchaka in :gh:`82626`.)
+
 * :mod:`decimal`:
 
   * The non-standard and undocumented :class:`~decimal.Decimal` format