https://github.com/python/cpython/commit/2acfad9d57a5f4f184410b438ca4432e47ed99dc
commit: 2acfad9d57a5f4f184410b438ca4432e47ed99dc
branch: main
author: Victor Stinner <[email protected]>
committer: vstinner <[email protected]>
date: 2026-03-05T12:32:32+01:00
summary:

gh-82626: Schedule removal of bool used as file descriptor (#145469)

files:
M Doc/deprecations/pending-removal-in-3.18.rst

diff --git a/Doc/deprecations/pending-removal-in-3.18.rst 
b/Doc/deprecations/pending-removal-in-3.18.rst
index 3e799219478424..eb42fe9919eaeb 100644
--- a/Doc/deprecations/pending-removal-in-3.18.rst
+++ b/Doc/deprecations/pending-removal-in-3.18.rst
@@ -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

_______________________________________________
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]

Reply via email to