计划在 Python 3.16 中移除
*************************

* 导入系统：

  * 当设置 "__spec__.loader" 失败时在模块上设置 "__loader__" 的做法已
    被弃用。 在 Python 3.16 中，"__loader__" 将不会再被设置或是被导入
    系统或标准库纳入考虑。

* "array":

  * "'u'" 格式代码 ("wchar_t") 自 Python 3.3 起已在文档中弃用并自
    Python 3.13 起在运行时弃用。 对于 Unicode 字符请改用 "'w'" 格式代
    码 ("Py_UCS4")。

* "asyncio":

  * "asyncio.iscoroutinefunction()" 已被弃用并将在 Python 3.16 中移除
    ，请改用 "inspect.iscoroutinefunction()"。 （由 Jiahao Li 和 Kumar
    Aditya 在 gh-122875 中贡献。）

* "builtins":

  * 对布尔类型 "~True" 或 "~False" 执行按位取反的操作自 Python 3.12 起
    已被弃用，因为它会产生奇怪和不直观的结果 ("-2" and "-1")。 请改用
    "not x" 来对布尔值执行逻辑否操作。 对于需要对下层整数执行按位取反
    操作的少数场合，请显式地将其转换为 "int" ("~int(x)")。

* "shutil":

  * "ExecError" 异常自 Python 3.14 起已被弃用。 它自 Python 3.4 起就未
    被 "shutil" 中的任何函数所使用，现在是 "RuntimeError" 的一个别名。

* "symtable":

  * "Class.get_methods" 方法自 Python 3.14 起被弃用。

* "sys":

  * "_enablelegacywindowsfsencoding()" 函数自 Python 3.13 起被弃用。
    请改用 "PYTHONLEGACYWINDOWSFSENCODING" 环境变量。

* "tarfile":

  * 未写入文档也未被使用的 "TarFile.tarfile" 属性自 Python 3.13 起被弃
    用。
