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.)
-
Accepting objects with false values (like
0and[]) except empty strings, byte-like objects andNonein the URL parsing functions has been deprecated since Python 3.16. (Contributed by Jacob Walls in gh-63293.)
Deprecations defined by PEP 829:
importlines inname.pthfiles are silently ignored.
(Contributed by Barry Warsaw in gh-148641.)