Skip to content

Commit 6a811c0

Browse files
[po] auto sync
1 parent 733c1d4 commit 6a811c0

File tree

2 files changed

+34
-3
lines changed

2 files changed

+34
-3
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "81.88%", "updated_at": "2025-03-14T20:29:58Z"}
1+
{"translation": "81.89%", "updated_at": "2025-04-25T19:27:25Z"}

whatsnew/3.4.po

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.10\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2025-02-03 19:22+0000\n"
15+
"POT-Creation-Date: 2025-04-25 16:05+0000\n"
1616
"PO-Revision-Date: 2022-11-05 17:23+0000\n"
1717
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
1818
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -3102,6 +3102,10 @@ msgid ""
31023102
"platforms that have a 64 bit data type. Any performance differences in "
31033103
"comparison with the older FNV algorithm are trivial."
31043104
msgstr ""
3105+
":pep:`456` 在早先对 Python 的哈希算法所做安全修复上更进一步以解决特定的 DOS 攻击问题,以字典查找为基础的对外公开的 API "
3106+
"可能面临此种攻击。(请参阅 :issue:`14621` 了解此轮改进的缘起。) 该 PEP 统一了 CPython "
3107+
"的哈希代码以使打包者能更容易地用不同哈希算法进行替换,并在具有 64 位数据类型的平台上将 Python 的默认实现切换为 SipHash 实现。 "
3108+
"与旧版 FNV 算法相比只有很小的性能差异。"
31053109

31063110
#: ../../whatsnew/3.4.rst:1852
31073111
msgid ""
@@ -3121,20 +3125,24 @@ msgid ""
31213125
" signatures for builtins and standard library extension modules implemented "
31223126
"in C."
31233127
msgstr ""
3128+
"现在 \"Argument Clinic\" (:pep:`436`) 是 CPython 构建过程的一部分并可被用于简化为内置对象和以 C "
3129+
"实现的标准库扩展模块定义和维护准确签名的过程。"
31243130

31253131
#: ../../whatsnew/3.4.rst:1867
31263132
msgid ""
31273133
"Some standard library extension modules have been converted to use Argument "
31283134
"Clinic in Python 3.4, and :mod:`pydoc` and :mod:`inspect` have been updated "
31293135
"accordingly."
31303136
msgstr ""
3137+
"在 Python 3.4 中有一些标准库模块已被转换为使用 Argument Clinic,而 :mod:`pydoc` 和 "
3138+
":mod:`inspect` 也进行了相应的更新。"
31313139

31323140
#: ../../whatsnew/3.4.rst:1871
31333141
msgid ""
31343142
"It is expected that signature metadata for programmatic introspection will "
31353143
"be added to additional callables implemented in C as part of Python 3.4 "
31363144
"maintenance releases."
3137-
msgstr ""
3145+
msgstr "预期针对程序化内省的签名元数据将被添加到更多的以 C 实现的可调用对象中作为 Python 3.4 维护发布版的组成部分。"
31383146

31393147
#: ../../whatsnew/3.4.rst:1876
31403148
msgid ""
@@ -3143,6 +3151,8 @@ msgid ""
31433151
"core development team in this case, as Argument Clinic will not be made "
31443152
"available as a public API for third party use in Python 3.4."
31453153
msgstr ""
3154+
"Argument Clinic PEP 尚未完整更新到与具体实现的状态相一致。 这种情况被发布版管理者和核心开发团队认为是可接受的,因为 "
3155+
"Argument Clinic 在 Python 3.4 中将不会作为公有 API 提供给第三方。"
31463156

31473157
#: ../../whatsnew/3.4.rst:1883
31483158
msgid ":pep:`436` -- The Argument Clinic DSL"
@@ -3162,6 +3172,8 @@ msgid ""
31623172
"allowing retrieval of function pointers from named type slots when using the"
31633173
" limited API. (Contributed by Martin von Löwis in :issue:`17162`.)"
31643174
msgstr ""
3175+
"新的 :c:func:`PyType_GetSlot` 函数已被添加到稳定 ABI,以允许在使用受限 API 时从指定的类型槽位提取函数指针。 (由 "
3176+
"Martin von Löwis 在 :issue:`17162` 中贡献。)"
31653177

31663178
#: ../../whatsnew/3.4.rst:1894
31673179
msgid ""
@@ -3177,26 +3189,34 @@ msgid ""
31773189
"marked as accepting ``const char *`` rather than ``char *``. (Contributed "
31783190
"by Serhiy Storchaka in :issue:`1772673`.)"
31793191
msgstr ""
3192+
"大多数不修改字符串参数的 Python C API 现在已被正确地标记为接受 ``const char *`` 而不是 ``char *``。 (由 "
3193+
"Serhiy Storchaka 在 :issue:`1772673` 中贡献。)"
31803194

31813195
#: ../../whatsnew/3.4.rst:1903
31823196
msgid ""
31833197
"A new shell version of ``python-config`` can be used even when a python "
31843198
"interpreter is not available (for example, in cross compilation scenarios)."
31853199
msgstr ""
3200+
"一个新的 ``python-config`` 的 shell 版本即使在 python 解释器不可用时仍可被使用(例如,在交叉编译的场景中)。"
31863201

31873202
#: ../../whatsnew/3.4.rst:1906
31883203
msgid ""
31893204
":c:func:`PyUnicode_FromFormat` now supports width and precision "
31903205
"specifications for ``%s``, ``%A``, ``%U``, ``%V``, ``%S``, and ``%R``. "
31913206
"(Contributed by Ysj Ray and Victor Stinner in :issue:`7330`.)"
31923207
msgstr ""
3208+
"现在 :c:func:`PyUnicode_FromFormat` 支持为 ``%s``, ``%A``, ``%U``, ``%V``, ``%S``"
3209+
" 和 ``%R`` 使用宽度和精度说明符。 (由 Ysj Ray 和 Victor Stinner 在 :issue:`7330` 中贡献。)"
31933210

31943211
#: ../../whatsnew/3.4.rst:1910
31953212
msgid ""
31963213
"New function :c:func:`PyStructSequence_InitType2` supplements the existing "
31973214
":c:func:`PyStructSequence_InitType` function. The difference is that it "
31983215
"returns ``0`` on success and ``-1`` on failure."
31993216
msgstr ""
3217+
"新的函数 :c:func:`PyStructSequence_InitType2` 为现有的 "
3218+
":c:func:`PyStructSequence_InitType` 函数提供了补充。 其不同之处在于它会在成功时返回 ``0`` 而在失败时返回 "
3219+
"``-1``。"
32003220

32013221
#: ../../whatsnew/3.4.rst:1914
32023222
msgid ""
@@ -3205,6 +3225,8 @@ msgid ""
32053225
" object allocator have been silenced. (Contributed by Dhiru Kholia in "
32063226
":issue:`18596`.)"
32073227
msgstr ""
3228+
"现在 CPython 源代码可以使用最近版本的 GCC 和 clang 的地址确定性检查特性进行编译:小对象分配器中的假警报已被消除。 (由 Dhiru"
3229+
" Kholia 在 :issue:`18596` 中贡献。)"
32083230

32093231
#: ../../whatsnew/3.4.rst:1919
32103232
msgid ""
@@ -3214,13 +3236,19 @@ msgid ""
32143236
"<https://en.wikipedia.org/wiki/Data_Execution_Prevention>`_. (Contributed "
32153237
"by Christian Heimes in :issue:`16632`.)"
32163238
msgstr ""
3239+
"Windows 构建版现在会使用 `寻址空间布局随机化 "
3240+
"<https://en.wikipedia.org/wiki/Address_space_layout_randomization>`_ 和 "
3241+
"`数据执行保护 <https://en.wikipedia.org/wiki/Data_Execution_Prevention>`_。 (由 "
3242+
"Christian Heimes 在 :issue:`16632` 中贡献。)"
32173243

32183244
#: ../../whatsnew/3.4.rst:1924
32193245
msgid ""
32203246
"New function :c:func:`PyObject_LengthHint` is the C API equivalent of "
32213247
":func:`operator.length_hint`. (Contributed by Armin Ronacher in "
32223248
":issue:`16148`.)"
32233249
msgstr ""
3250+
"新的函数 :c:func:`PyObject_LengthHint` 是 :func:`operator.length_hint` 的 C API "
3251+
"等价形式。 (由 Armin Ronacher 在 :issue:`16148` 中贡献。)"
32243252

32253253
#: ../../whatsnew/3.4.rst:1932
32263254
msgid "Other Improvements"
@@ -3263,6 +3291,9 @@ msgid ""
32633291
"script at the windows command prompt by just typing its name without the "
32643292
"``.py`` extension. (Contributed by Paul Moore in :issue:`18569`.)"
32653293
msgstr ""
3294+
"现在 CPython Windows 安装程序会在注册扩展名时将 ``.py`` 添加到 :envvar:`PATHEXT` 变量,以允许用户在 "
3295+
"windows 命令提示符下直接键入不带 ``.py`` 扩展名的 python 脚本名称来运行它。 (由 Paul Moore 在 "
3296+
":issue:`18569` 中贡献。)"
32663297

32673298
#: ../../whatsnew/3.4.rst:1962
32683299
msgid ""

0 commit comments

Comments
 (0)