@@ -1236,6 +1236,8 @@ msgid ""
12361236"a flat listing of all tasks, their names, their coroutine stacks, and which "
12371237"tasks are awaiting them."
12381238msgstr ""
1239+ "``ps`` 子命令会检查给定的进程 ID (PID) 并显示有关当前运行的 asyncio 任务的信息。 "
1240+ "它将输出一个任务表格:以扁平列表显示所有任务、任务名称、任务协程栈以及有哪些任务正在等待它们。"
12391241
12401242#: ../../whatsnew/3.14.rst:704
12411243msgid ""
@@ -1246,6 +1248,8 @@ msgid ""
12461248" program is blocked, what tasks are pending, and how coroutines are chained "
12471249"together."
12481250msgstr ""
1251+ "``pstree`` 子命令获取同样的信息,但改用可视化的 async 调用树形式渲染,以层级格式显示协程关系。 "
1252+ "此命令特别适用于调试长时间运行的或卡住的异步程序。 它能帮助开发者快速识别程序阻塞位置、待处理的任务以及协程是如何链接起来的。"
12491253
12501254#: ../../whatsnew/3.14.rst:711
12511255msgid "For example given this code:"
@@ -1433,6 +1437,10 @@ msgid ""
14331437"multiple threads or asynchronous tasks. The flag defaults to true for the "
14341438"free-threaded build and false for the GIL-enabled build."
14351439msgstr ""
1440+ "现在 :class:`warnings.catch_warnings` 上下文管理器将可选择使用一个上下文变量作为警告过滤器。 此特性是通过设置 "
1441+ ":data:`~sys.flags.context_aware_warnings` 旗标来启用的,使用 ``-X`` 命令行选项或环境变量均可。 当使用"
1442+ " :class:`~warnings.catch_warnings` 配合多线程或异步任务时将能给出可预测的警告控制。 "
1443+ "该旗标默认在自由线程构建版中为真值而在启用 GIL 的构建版中为假值。"
14361444
14371445#: ../../whatsnew/3.14.rst:814
14381446msgid "(Contributed by Neil Schemenauer and Kumar Aditya in :gh:`130010`.)"
@@ -1467,6 +1475,11 @@ msgid ""
14671475"s. (Contributed by Irit Katriel and Jelle Zijlstra in :gh:`122245` & "
14681476":gh:`121637`.)"
14691477msgstr ""
1478+ "现在将有更多语法错误被检测出来而不受优化和 :option:`-O` 命令行选项的影响。 这包括向 ``__debug__`` "
1479+ "写入,:keyword:`await` 的不正确使用,以及在异步函数之外的异步推导式。 例如,``python -O -c 'assert "
1480+ "(__debug__ := 1)'`` 或 ``python -O -c 'assert await 1'`` 现在将产生 "
1481+ ":exc:`SyntaxError`。 (由 Irit Katriel 和 Jelle Zijlstra 在 :gh:`122245` 和 "
1482+ ":gh:`121637` 中贡献。).)"
14701483
14711484#: ../../whatsnew/3.14.rst:835
14721485msgid ""