@@ -12,7 +12,7 @@ msgid ""
12
12
msgstr ""
13
13
"Project-Id-Version : Python 3.10\n "
14
14
"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 "
16
16
"PO-Revision-Date : 2022-11-05 17:23+0000\n "
17
17
"Last-Translator : Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n "
18
18
"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -3102,6 +3102,10 @@ msgid ""
3102
3102
"platforms that have a 64 bit data type. Any performance differences in "
3103
3103
"comparison with the older FNV algorithm are trivial."
3104
3104
msgstr ""
3105
+ ":pep:`456` 在早先对 Python 的哈希算法所做安全修复上更进一步以解决特定的 DOS 攻击问题,以字典查找为基础的对外公开的 API "
3106
+ "可能面临此种攻击。(请参阅 :issue:`14621` 了解此轮改进的缘起。) 该 PEP 统一了 CPython "
3107
+ "的哈希代码以使打包者能更容易地用不同哈希算法进行替换,并在具有 64 位数据类型的平台上将 Python 的默认实现切换为 SipHash 实现。 "
3108
+ "与旧版 FNV 算法相比只有很小的性能差异。"
3105
3109
3106
3110
#: ../../whatsnew/3.4.rst:1852
3107
3111
msgid ""
@@ -3121,20 +3125,24 @@ msgid ""
3121
3125
" signatures for builtins and standard library extension modules implemented "
3122
3126
"in C."
3123
3127
msgstr ""
3128
+ "现在 \" Argument Clinic\" (:pep:`436`) 是 CPython 构建过程的一部分并可被用于简化为内置对象和以 C "
3129
+ "实现的标准库扩展模块定义和维护准确签名的过程。"
3124
3130
3125
3131
#: ../../whatsnew/3.4.rst:1867
3126
3132
msgid ""
3127
3133
"Some standard library extension modules have been converted to use Argument "
3128
3134
"Clinic in Python 3.4, and :mod:`pydoc` and :mod:`inspect` have been updated "
3129
3135
"accordingly."
3130
3136
msgstr ""
3137
+ "在 Python 3.4 中有一些标准库模块已被转换为使用 Argument Clinic,而 :mod:`pydoc` 和 "
3138
+ ":mod:`inspect` 也进行了相应的更新。"
3131
3139
3132
3140
#: ../../whatsnew/3.4.rst:1871
3133
3141
msgid ""
3134
3142
"It is expected that signature metadata for programmatic introspection will "
3135
3143
"be added to additional callables implemented in C as part of Python 3.4 "
3136
3144
"maintenance releases."
3137
- msgstr ""
3145
+ msgstr "预期针对程序化内省的签名元数据将被添加到更多的以 C 实现的可调用对象中作为 Python 3.4 维护发布版的组成部分。 "
3138
3146
3139
3147
#: ../../whatsnew/3.4.rst:1876
3140
3148
msgid ""
@@ -3143,6 +3151,8 @@ msgid ""
3143
3151
"core development team in this case, as Argument Clinic will not be made "
3144
3152
"available as a public API for third party use in Python 3.4."
3145
3153
msgstr ""
3154
+ "Argument Clinic PEP 尚未完整更新到与具体实现的状态相一致。 这种情况被发布版管理者和核心开发团队认为是可接受的,因为 "
3155
+ "Argument Clinic 在 Python 3.4 中将不会作为公有 API 提供给第三方。"
3146
3156
3147
3157
#: ../../whatsnew/3.4.rst:1883
3148
3158
msgid ":pep:`436` -- The Argument Clinic DSL"
@@ -3162,6 +3172,8 @@ msgid ""
3162
3172
"allowing retrieval of function pointers from named type slots when using the"
3163
3173
" limited API. (Contributed by Martin von Löwis in :issue:`17162`.)"
3164
3174
msgstr ""
3175
+ "新的 :c:func:`PyType_GetSlot` 函数已被添加到稳定 ABI,以允许在使用受限 API 时从指定的类型槽位提取函数指针。 (由 "
3176
+ "Martin von Löwis 在 :issue:`17162` 中贡献。)"
3165
3177
3166
3178
#: ../../whatsnew/3.4.rst:1894
3167
3179
msgid ""
@@ -3177,26 +3189,34 @@ msgid ""
3177
3189
"marked as accepting ``const char *`` rather than ``char *``. (Contributed "
3178
3190
"by Serhiy Storchaka in :issue:`1772673`.)"
3179
3191
msgstr ""
3192
+ "大多数不修改字符串参数的 Python C API 现在已被正确地标记为接受 ``const char *`` 而不是 ``char *``。 (由 "
3193
+ "Serhiy Storchaka 在 :issue:`1772673` 中贡献。)"
3180
3194
3181
3195
#: ../../whatsnew/3.4.rst:1903
3182
3196
msgid ""
3183
3197
"A new shell version of ``python-config`` can be used even when a python "
3184
3198
"interpreter is not available (for example, in cross compilation scenarios)."
3185
3199
msgstr ""
3200
+ "一个新的 ``python-config`` 的 shell 版本即使在 python 解释器不可用时仍可被使用(例如,在交叉编译的场景中)。"
3186
3201
3187
3202
#: ../../whatsnew/3.4.rst:1906
3188
3203
msgid ""
3189
3204
":c:func:`PyUnicode_FromFormat` now supports width and precision "
3190
3205
"specifications for ``%s``, ``%A``, ``%U``, ``%V``, ``%S``, and ``%R``. "
3191
3206
"(Contributed by Ysj Ray and Victor Stinner in :issue:`7330`.)"
3192
3207
msgstr ""
3208
+ "现在 :c:func:`PyUnicode_FromFormat` 支持为 ``%s``, ``%A``, ``%U``, ``%V``, ``%S``"
3209
+ " 和 ``%R`` 使用宽度和精度说明符。 (由 Ysj Ray 和 Victor Stinner 在 :issue:`7330` 中贡献。)"
3193
3210
3194
3211
#: ../../whatsnew/3.4.rst:1910
3195
3212
msgid ""
3196
3213
"New function :c:func:`PyStructSequence_InitType2` supplements the existing "
3197
3214
":c:func:`PyStructSequence_InitType` function. The difference is that it "
3198
3215
"returns ``0`` on success and ``-1`` on failure."
3199
3216
msgstr ""
3217
+ "新的函数 :c:func:`PyStructSequence_InitType2` 为现有的 "
3218
+ ":c:func:`PyStructSequence_InitType` 函数提供了补充。 其不同之处在于它会在成功时返回 ``0`` 而在失败时返回 "
3219
+ "``-1``。"
3200
3220
3201
3221
#: ../../whatsnew/3.4.rst:1914
3202
3222
msgid ""
@@ -3205,6 +3225,8 @@ msgid ""
3205
3225
" object allocator have been silenced. (Contributed by Dhiru Kholia in "
3206
3226
":issue:`18596`.)"
3207
3227
msgstr ""
3228
+ "现在 CPython 源代码可以使用最近版本的 GCC 和 clang 的地址确定性检查特性进行编译:小对象分配器中的假警报已被消除。 (由 Dhiru"
3229
+ " Kholia 在 :issue:`18596` 中贡献。)"
3208
3230
3209
3231
#: ../../whatsnew/3.4.rst:1919
3210
3232
msgid ""
@@ -3214,13 +3236,19 @@ msgid ""
3214
3236
"<https://en.wikipedia.org/wiki/Data_Execution_Prevention>`_. (Contributed "
3215
3237
"by Christian Heimes in :issue:`16632`.)"
3216
3238
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` 中贡献。)"
3217
3243
3218
3244
#: ../../whatsnew/3.4.rst:1924
3219
3245
msgid ""
3220
3246
"New function :c:func:`PyObject_LengthHint` is the C API equivalent of "
3221
3247
":func:`operator.length_hint`. (Contributed by Armin Ronacher in "
3222
3248
":issue:`16148`.)"
3223
3249
msgstr ""
3250
+ "新的函数 :c:func:`PyObject_LengthHint` 是 :func:`operator.length_hint` 的 C API "
3251
+ "等价形式。 (由 Armin Ronacher 在 :issue:`16148` 中贡献。)"
3224
3252
3225
3253
#: ../../whatsnew/3.4.rst:1932
3226
3254
msgid "Other Improvements"
@@ -3263,6 +3291,9 @@ msgid ""
3263
3291
"script at the windows command prompt by just typing its name without the "
3264
3292
"``.py`` extension. (Contributed by Paul Moore in :issue:`18569`.)"
3265
3293
msgstr ""
3294
+ "现在 CPython Windows 安装程序会在注册扩展名时将 ``.py`` 添加到 :envvar:`PATHEXT` 变量,以允许用户在 "
3295
+ "windows 命令提示符下直接键入不带 ``.py`` 扩展名的 python 脚本名称来运行它。 (由 Paul Moore 在 "
3296
+ ":issue:`18569` 中贡献。)"
3266
3297
3267
3298
#: ../../whatsnew/3.4.rst:1962
3268
3299
msgid ""
0 commit comments