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.)
-
typing.AnyStrhas been discouraged and deprecated since Python 3.16. Use PEP 695 syntax instead.
Deprecations defined by PEP 829:
importlines inname.pthfiles are silently ignored.
(Contributed by Barry Warsaw in gh-148641.)