Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 626314b

Browse files
[po] auto sync
1 parent 7f4b577 commit 626314b

2 files changed

Lines changed: 22 additions & 1 deletion

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "91.10%", "updated_at": "2023-09-24T07:56:53Z"}
1+
{"translation": "91.11%", "updated_at": "2023-09-24T22:56:22Z"}

whatsnew/3.12.po

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -579,6 +579,12 @@ msgid ""
579579
"Contributed by Pablo Galindo and Christian Heimes with contributions from "
580580
"Gregory P. Smith [Google] and Mark Shannon in :gh:`96123`.)"
581581
msgstr ""
582+
"通过新的环境变量 :envvar:`PYTHONPERFSUPPORT` 和命令行选项 :option:`-X perf <-X>` 以及新的 "
583+
":func:`sys.activate_stack_trampoline`, "
584+
":func:`sys.deactivate_stack_trampoline` 和 "
585+
":func:`sys.is_stack_trampoline_active` 函数添加了对 :ref:`perf 性能分析器的支持 "
586+
"<perf_profiling>`。 (由 Pablo Galindo 设计。 由 Pablo Galindo 和 Christian Heimes 在"
587+
" :gh:`96123` 中贡献并包含来自 Gregory P. Smith [Google] 和 Mark Shannon 的帮助。)"
582588

583589
#: ../../whatsnew/3.12.rst:474
584590
msgid ""
@@ -589,6 +595,10 @@ msgid ""
589595
" for details. In Python 3.14, the default will switch to ``'data'``. "
590596
"(Contributed by Petr Viktorin in :pep:`706`.)"
591597
msgstr ""
598+
":mod:`tarfile` 中的提取方法和 :func:`shutil.unpack_archive` 有一个新的 *filter* "
599+
"参数,它允许限制可能令人惊讶或危险的 tar 功能,例如在目标目录之外创建文件。 相关细节请参阅 :ref:`tarfile 提取过滤器 "
600+
"<tarfile-extraction-filter>`。 在 Python 3.14 中。默认值将切换为 ``'data'``。 (由 Petr "
601+
"Viktorin 在 :pep:`706` 中贡献。)"
592602

593603
#: ../../whatsnew/3.12.rst:482
594604
msgid ""
@@ -646,6 +656,11 @@ msgid ""
646656
":exc:`SyntaxError` will eventually be raised, instead of "
647657
":exc:`SyntaxWarning`. (Contributed by Victor Stinner in :gh:`98401`.)"
648658
msgstr ""
659+
"不是有效转义序列的反斜杠加字符组合现在会生成 :exc:`SyntaxWarning`,而不是 :exc:`DeprecationWarning`。 "
660+
"例如,``re.compile(\"\\d+\\.\\d+\")`` 现在会发出 :exc:`SyntaxWarning` (``\"\\d\"`` "
661+
"是一个无效的转义序列,请使用原始字符串来表示正则表达式: ``re.compile(r\"\\d+\\.\\d+\")``)。 在未来的 Python "
662+
"版本中,最终将引发 :exc:`SyntaxError`,而不是 :exc:`SyntaxWarning`。 (由 Victor Stinner 在 "
663+
":gh:`98401` 中贡献。)"
649664

650665
#: ../../whatsnew/3.12.rst:512
651666
msgid ""
@@ -706,6 +721,8 @@ msgid ""
706721
"exception as a :pep:`678` note. (Contributed by Irit Katriel in "
707722
":gh:`77757`.)"
708723
msgstr ""
724+
"在类或类型对象的 ``__set_name__`` 方法中引发的异常不再由 :exc:`RuntimeError` 来包装。 上下文信息将作为 "
725+
":pep:`678` 注释添加到异常中。 (由 Irit Katriel 在 :gh:`77757` 中贡献。)"
709726

710727
#: ../../whatsnew/3.12.rst:540
711728
msgid ""
@@ -765,6 +782,10 @@ msgid ""
765782
"(Contributed by Jacob Bower & Itamar Oren in :gh:`102853`, :gh:`104140`, and"
766783
" :gh:`104138`)"
767784
msgstr ""
785+
"添加了 :func:`asyncio.eager_task_factory` 和 "
786+
":func:`asyncio.create_eager_task_factory` 函数以允许在主动型任务执行中选择事件循环,使某些用例的速度提升了 2"
787+
" 至 5 倍。 (由 Jacob Bower 和 Itamar Oren 在 :gh:`102853`, :gh:`104140` 和 "
788+
":gh:`104138` 中贡献。)"
768789

769790
#: ../../whatsnew/3.12.rst:574
770791
msgid ""

0 commit comments

Comments
 (0)