Python 3.18 で削除予定¶
ファイルディスクリプタが必要なところでは、真偽値を受け付けなくなります。 (Serhiy Storchaka が 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.)
PEP 829 で定義された非推奨事項:
name.pthファイルのimport行は、警告なしで無視されます。
(Barry Warsaw が gh-148641 で貢献しました。)