@@ -1965,7 +1965,7 @@ msgid ""
19651965"maintenance burden. (Contributed by Raymond Hettinger in :gh:`101588`.)"
19661966msgstr ""
19671967":mod:`itertools`: 该模块具有对 copy, deepcopy 和 pickle "
1968- "等操作的未写入文档的、低效的、历史上充满问题的且不稳定的支持。 这将在 3.14 中移除以显著减少量和维护负担 。 (由 Raymond "
1968+ "等操作的未写入文档的、低效的、历史上充满问题的且不稳定的支持。 这将在 3.14 中移除以显著减少代码量和维护负担 。 (由 Raymond "
19691969"Hettinger 在 :gh:`101588` 中贡献。)"
19701970
19711971#: ../../whatsnew/3.12.rst:1138
@@ -2952,6 +2952,8 @@ msgid ""
29522952"policy if the Clang compiler accepts the flag. (Contributed by Dong-hee Na "
29532953"in :gh:`89536`.)"
29542954msgstr ""
2955+ "现在如果 Clang 编译器接受 ThinLTO 选项则 CPython 会将其作为默认的链接时间优化策略。 (由 Dong-hee Na 在 "
2956+ ":gh:`89536` 中贡献。)"
29552957
29562958#: ../../whatsnew/3.12.rst:1569
29572959msgid ""
@@ -2961,14 +2963,18 @@ msgid ""
29612963"optimization levels (0, 1, 2) at once. (Contributed by Victor Stinner in "
29622964":gh:`99289`.)"
29632965msgstr ""
2966+ "在 Makefile 中添加了 ``COMPILEALL_OPTS`` 变量以覆盖 ``make install`` 中的 "
2967+ ":mod:`compileall` 选项 (默认值: ``-j0``)。 并将 3 条 ``compileall`` "
2968+ "命令合并为单条命令以便一次性构建所有优化级别 (0, 1, 2) 的 .pyc 文件。 (由 Victor Stinner 在 :gh:`99289` "
2969+ "中贡献。)"
29642970
29652971#: ../../whatsnew/3.12.rst:1575
29662972msgid "Add platform triplets for 64-bit LoongArch:"
2967- msgstr ""
2973+ msgstr "为 64 位 LoongArch 添加了平台三选项: "
29682974
29692975#: ../../whatsnew/3.12.rst:1577
29702976msgid "loongarch64-linux-gnusf"
2971- msgstr ""
2977+ msgstr "loongarch64-linux-gnusf "
29722978
29732979#: ../../whatsnew/3.12.rst:1578
29742980msgid "loongarch64-linux-gnuf32"
@@ -3154,12 +3160,16 @@ msgid ""
31543160"extensions classes to support object ``__dict__`` and weakrefs with less "
31553161"bookkeeping, using less memory and with faster access."
31563162msgstr ""
3163+ "新增了 :c:macro:`Py_TPFLAGS_MANAGED_DICT` 和 "
3164+ ":c:macro:`Py_TPFLAGS_MANAGED_WEAKREF` 旗标。 这将允许扩展类在支持对象 ``__dict__`` "
3165+ "和弱引用时减少记录消耗,占用更少内存并并加快访问速度。"
31573166
31583167#: ../../whatsnew/3.12.rst:1661
31593168msgid ""
31603169"API for performing calls using :ref:`the vectorcall protocol <vectorcall>` "
31613170"was added to the :ref:`Limited API <stable>`:"
31623171msgstr ""
3172+ "在 :ref:`受限 API <stable>` 中添加了使用 :ref:`vectorcall 协议 <vectorcall>` 执行调用的 API:"
31633173
31643174#: ../../whatsnew/3.12.rst:1665
31653175msgid ":c:func:`PyObject_Vectorcall`"
@@ -3171,14 +3181,16 @@ msgstr ":c:func:`PyObject_VectorcallMethod`"
31713181
31723182#: ../../whatsnew/3.12.rst:1667
31733183msgid ":c:macro:`PY_VECTORCALL_ARGUMENTS_OFFSET`"
3174- msgstr ""
3184+ msgstr ":c:macro:`PY_VECTORCALL_ARGUMENTS_OFFSET` "
31753185
31763186#: ../../whatsnew/3.12.rst:1669
31773187msgid ""
31783188"This means that both the incoming and outgoing ends of the vector call "
31793189"protocol are now available in the :ref:`Limited API <stable>`. (Contributed "
31803190"by Wenzel Jakob in :gh:`98586`.)"
31813191msgstr ""
3192+ "这意味着 vectorcall 调用协议的传入端和传出端现在都可以在 :ref:`受限 API <stable>` 中使用。 (由 Wenzel "
3193+ "Jakob 在 :gh:`98586` 中贡献。)"
31823194
31833195#: ../../whatsnew/3.12.rst:1673
31843196msgid ""
@@ -3187,13 +3199,19 @@ msgid ""
31873199" functions in all running threads in addition to the calling one. "
31883200"(Contributed by Pablo Galindo in :gh:`93503`.)"
31893201msgstr ""
3202+ "添加了两个新的公共函数 :c:func:`PyEval_SetProfileAllThreads` 和 "
3203+ ":c:func:`PyEval_SetTraceAllThreads`,允许在调用的同时在所有运行线程中设置追踪和性能分析函数。 (由 Pablo "
3204+ "Galindo 在 :gh:`93503` 贡献。)"
31903205
31913206#: ../../whatsnew/3.12.rst:1679
31923207msgid ""
31933208"Added new function :c:func:`PyFunction_SetVectorcall` to the C API which "
31943209"sets the vectorcall field of a given :c:type:`PyFunctionObject`. "
31953210"(Contributed by Andrew Frost in :gh:`92257`.)"
31963211msgstr ""
3212+ "为 C API 添加了新函数 :c:func:`PyFunction_SetVectorcall` 用于设置给定 "
3213+ ":c:type:`PyFunctionObject` 的 vectorcall 字段。 (由 Andrew Frost 在 :gh:`92257` "
3214+ "中贡献。)"
31973215
31983216#: ../../whatsnew/3.12.rst:1683
31993217msgid ""
0 commit comments