Skip to content

Commit 793b54e

Browse files
[po] auto sync
1 parent 5cb35a1 commit 793b54e

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

.stat.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "82.96%", "updated_at": "2025-04-09T15:19:05Z"}
1+
{"translation": "82.97%", "updated_at": "2025-04-10T07:18:43Z"}

whatsnew/3.4.po

+18
Original file line numberDiff line numberDiff line change
@@ -3099,6 +3099,10 @@ msgid ""
30993099
"platforms that have a 64 bit data type. Any performance differences in "
31003100
"comparison with the older FNV algorithm are trivial."
31013101
msgstr ""
3102+
":pep:`456` 在早先对 Python 的哈希算法所做安全修复上更进一步以解决特定的 DOS 攻击问题,以字典查找为基础的对外公开的 API "
3103+
"可能面临此种攻击。(请参阅 :issue:`14621` 了解此轮改进的缘起。) 该 PEP 统一了 CPython "
3104+
"的哈希代码以使打包者能更容易地用不同哈希算法进行替换,并在具有 64 位数据类型的平台上将 Python 的默认实现切换为 SipHash 实现。 "
3105+
"与旧版 FNV 算法相比只有很小的性能差异。"
31023106

31033107
#: ../../whatsnew/3.4.rst:1852
31043108
msgid ""
@@ -3207,6 +3211,9 @@ msgid ""
32073211
":c:func:`PyStructSequence_InitType` function. The difference is that it "
32083212
"returns ``0`` on success and ``-1`` on failure."
32093213
msgstr ""
3214+
"新的函数 :c:func:`PyStructSequence_InitType2` 为现有的 "
3215+
":c:func:`PyStructSequence_InitType` 函数提供了补充。 其不同之处在于它会在成功时返回 ``0`` 而在失败时返回 "
3216+
"``-1``。"
32103217

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

32193228
#: ../../whatsnew/3.4.rst:1919
32203229
msgid ""
@@ -3224,13 +3233,19 @@ msgid ""
32243233
"<https://en.wikipedia.org/wiki/Data_Execution_Prevention>`_. (Contributed "
32253234
"by Christian Heimes in :issue:`16632`.)"
32263235
msgstr ""
3236+
"Windows 构建版现在会使用 `寻址空间布局随机化 "
3237+
"<https://en.wikipedia.org/wiki/Address_space_layout_randomization>`_ 和 "
3238+
"`数据执行保护 <https://en.wikipedia.org/wiki/Data_Execution_Prevention>`_。 (由 "
3239+
"Christian Heimes 在 :issue:`16632` 中贡献。)"
32273240

32283241
#: ../../whatsnew/3.4.rst:1924
32293242
msgid ""
32303243
"New function :c:func:`PyObject_LengthHint` is the C API equivalent of "
32313244
":func:`operator.length_hint`. (Contributed by Armin Ronacher in "
32323245
":issue:`16148`.)"
32333246
msgstr ""
3247+
"新的函数 :c:func:`PyObject_LengthHint` 是 :func:`operator.length_hint` 的 C API "
3248+
"等价形式。 (由 Armin Ronacher 在 :issue:`16148` 中贡献。)"
32343249

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

32773295
#: ../../whatsnew/3.4.rst:1962
32783296
msgid ""

0 commit comments

Comments
 (0)