Python 3.16 中待移除的項目
**************************

* 引入系統 (import system)：

  * 在模組上設定 "__loader__" 而沒有設定 "__spec__.loader" 的做法將於
    Python 3.16 被棄用。在 Python 3.16 中，引入系統或標準函式庫將不再
    設定或考慮 "__loader__"。

* "array"：

  * 自 Python 3.3 起，"'u'" 格式碼 ("wchar_t") 在文件中已被棄用，自
    Python 3.13 起在 runtime 已被棄用。請使用 "'w'" 格式碼 ("Py_UCS4")
    來取代 Unicode 字元。

* "asyncio"：

  * "asyncio.iscoroutinefunction()" 已被棄用並將在 Python 3.16 中移除
    ，請改用 "inspect.iscoroutinefunction()"。（由 Jiahao Li 和 Kumar
    Aditya 於 gh-122875 貢獻。）

* "builtins"：

  * 自 Python 3.12 起，布林型別的位元反轉 "~True" 或 "~False" 已被棄用
    ，因為它會產生不預期且不直觀的結果（"-2" 和 "-1"）。使用 "not x"
    代替布林值的邏輯否定。在極少數情況下，你需要對底層的整數進行位元反
    轉，請明確轉換為 "~int(x)" ("~int(x)")。

* "shutil"：

  * 自 Python 3.14 起，"ExecError" 例外已被棄用。自 Python 3.4 以來，
    它尚未被 "shutil" 中的任何函式使用，現在是 "RuntimeError" 的別名。

* "symtable"：

  * 自 Python 3.14 起，"Class.get_methods" 方法已被棄用。

* "sys"：

  * 自 Python 3.13 起，"_enablelegacywindowsfsencoding()" 函式已被棄用
    。請改用 "PYTHONLEGACYWINDOWSFSENCODING" 環境變數。

* "tarfile"：

  * 自 Python 3.13 起，未以文件記錄和未被使用的 "TarFile.tarfile" 屬性
    已被棄用。
