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

Skip to content

Commit 8025c50

Browse files
[po] auto sync
1 parent ceb2724 commit 8025c50

2 files changed

Lines changed: 17 additions & 7 deletions

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "89.38%", "updated_at": "2023-08-06T23:56:28Z"}
1+
{"translation": "89.40%", "updated_at": "2023-08-07T05:56:22Z"}

whatsnew/3.12.po

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3684,7 +3684,7 @@ msgid ""
36843684
"This also avoids situations where extensions may find themselves running in "
36853685
"a subinterpreter that they don't support (or haven't yet been loaded in). "
36863686
"See :gh:`104668` for more info."
3687-
msgstr ""
3687+
msgstr "这也避免了扩展程序在不支持(或尚未被加载)的子解释器中运行的情况。 请参阅 :gh:`104668` 了解更多信息。"
36883688

36893689
#: ../../whatsnew/3.12.rst:1919
36903690
msgid ""
@@ -3696,14 +3696,17 @@ msgid ""
36963696
"provided for efficient access to the value of :c:struct:`PyLongObject`\\s "
36973697
"which fit into a single machine word:"
36983698
msgstr ""
3699+
":c:struct:`PyLongObject` 对其内部字段进行了修改以提高性能。 虽然 :c:struct:`PyLongObject` "
3700+
"的内部字段是私有的,但某些扩展模块会使用它们。 内部字段不应再被直接访问,而应改用以 ``PyLong_...`` 打头的 API 函数。 新增了两个 "
3701+
"*暂定* API 函数用于高效访问适配至单个机器字的 :c:struct:`PyLongObject` 的值:"
36993702

37003703
#: ../../whatsnew/3.12.rst:1927
37013704
msgid ":c:func:`PyUnstable_Long_IsCompact`"
3702-
msgstr ""
3705+
msgstr ":c:func:`PyUnstable_Long_IsCompact`"
37033706

37043707
#: ../../whatsnew/3.12.rst:1928
37053708
msgid ":c:func:`PyUnstable_Long_CompactValue`"
3706-
msgstr ""
3709+
msgstr ":c:func:`PyUnstable_Long_CompactValue`"
37073710

37083711
#: ../../whatsnew/3.12.rst:1930
37093712
msgid ""
@@ -3713,6 +3716,9 @@ msgid ""
37133716
"allocator is not already thread-safe and you need guidance then please "
37143717
"create a new GitHub issue and CC ``@ericsnowcurrently``."
37153718
msgstr ""
3719+
"通过 :c:func:`PyMem_SetAllocator` 设置的自定义分配器现在必须是线程安全的,无论内存域是什么。 "
3720+
"没有自己的状态的分配器,包括“钩子”将不会受影响。 如果你的自定义分配器还不是线程安全的且你需要指导则请创建一个新的 GitHub 问题并抄送给 "
3721+
"``@ericsnowcurrently``。"
37163722

37173723
#: ../../whatsnew/3.12.rst:1940
37183724
msgid "Deprecate global configuration variable:"
@@ -3880,24 +3886,28 @@ msgid ""
38803886
"Type macros like :c:macro:`Py_T_INT`, :c:macro:`Py_T_DOUBLE`, etc. "
38813887
"(previously ``T_INT``, ``T_DOUBLE``, etc.)"
38823888
msgstr ""
3889+
"类型宏如 :c:macro:`Py_T_INT`, :c:macro:`Py_T_DOUBLE` 等(之前为 ``T_INT``, "
3890+
"``T_DOUBLE`` 等)"
38833891

38843892
#: ../../whatsnew/3.12.rst:1982
38853893
msgid ""
38863894
"The flags :c:macro:`Py_READONLY` (previously ``READONLY``) and "
38873895
":c:macro:`Py_AUDIT_READ` (previously all uppercase)"
38883896
msgstr ""
3897+
"旗标 :c:macro:`Py_READONLY` (之前为 ``READONLY``) 和 :c:macro:`Py_AUDIT_READ` "
3898+
"(之前为全大写形式)"
38893899

38903900
#: ../../whatsnew/3.12.rst:1985
38913901
msgid "Several items are not exposed from ``Python.h``:"
3892-
msgstr ""
3902+
msgstr "部分条目未从 ``Python.h`` 对外公开:"
38933903

38943904
#: ../../whatsnew/3.12.rst:1987
38953905
msgid ":c:macro:`T_OBJECT` (use :c:macro:`Py_T_OBJECT_EX`)"
3896-
msgstr ""
3906+
msgstr ":c:macro:`T_OBJECT` (使用 :c:macro:`Py_T_OBJECT_EX`)"
38973907

38983908
#: ../../whatsnew/3.12.rst:1988
38993909
msgid ":c:macro:`T_NONE` (previously undocumented, and pretty quirky)"
3900-
msgstr ""
3910+
msgstr ":c:macro:`T_NONE` (之前未写入文档,并且相当怪异)"
39013911

39023912
#: ../../whatsnew/3.12.rst:1989
39033913
msgid "The macro ``WRITE_RESTRICTED`` which does nothing."

0 commit comments

Comments
 (0)