Remoção pendente no Python 3.18¶
Não aceita mais um valor booleano quando um descritor de arquivo é esperado. (Contribuição de Serhiy Storchaka em 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.)
Descontinuações definidas por PEP 829:
Linhas de
importem arquivosname.pthsão silenciosamente ignoradas.
(Contribuição de Barry Warsaw em gh-148641.)