Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3ccf2b0

Browse files
[po] auto sync
1 parent3389819 commit3ccf2b0

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

‎.stat.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation":"99.58%","updated_at":"2025-10-21T01:41:44Z"}
1+
{"translation":"99.59%","updated_at":"2025-10-21T02:42:40Z"}

‎whatsnew/3.14.po‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1236,6 +1236,8 @@ msgid ""
12361236
"a flat listing of all tasks, their names, their coroutine stacks, and which "
12371237
"tasks are awaiting them."
12381238
msgstr""
1239+
"``ps`` 子命令会检查给定的进程 ID (PID) 并显示有关当前运行的 asyncio 任务的信息。 "
1240+
"它将输出一个任务表格:以扁平列表显示所有任务、任务名称、任务协程栈以及有哪些任务正在等待它们。"
12391241

12401242
#:../../whatsnew/3.14.rst:704
12411243
msgid""
@@ -1246,6 +1248,8 @@ msgid ""
12461248
" program is blocked, what tasks are pending, and how coroutines are chained "
12471249
"together."
12481250
msgstr""
1251+
"``pstree`` 子命令获取同样的信息,但改用可视化的 async 调用树形式渲染,以层级格式显示协程关系。 "
1252+
"此命令特别适用于调试长时间运行的或卡住的异步程序。 它能帮助开发者快速识别程序阻塞位置、待处理的任务以及协程是如何链接起来的。"
12491253

12501254
#:../../whatsnew/3.14.rst:711
12511255
msgid"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."
14351439
msgstr""
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
14381446
msgid"(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`.)"
14691477
msgstr""
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
14721485
msgid""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp