@@ -13,7 +13,7 @@ msgid ""
1313msgstr ""
1414"Project-Id-Version :Python 3.11\n "
1515"Report-Msgid-Bugs-To :\n "
16- "POT-Creation-Date :2025-01-31 15:27 +0000\n "
16+ "POT-Creation-Date :2025-04-18 15:31 +0000\n "
1717"PO-Revision-Date :2023-05-24 02:23+0000\n "
1818"Last-Translator :Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n "
1919"Language-Team :Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -3140,13 +3140,19 @@ msgid ""
31403140"platforms that have a 64 bit data type. Any performance differences in "
31413141"comparison with the older FNV algorithm are trivial."
31423142msgstr ""
3143+ ":pep:`456` 在早先对 Python 的哈希算法所做安全修复上更进一步以解决特定的 DOS 攻击问题,以字典查找为基础的对外公开的 API "
3144+ "可能面临此种攻击。(请参阅 :issue:`14621` 了解此轮改进的缘起。) 该 PEP 统一了 CPython "
3145+ "的哈希代码以使打包者能更容易地用不同哈希算法进行替换,并在具有 64 位数据类型的平台上将 Python 的默认实现切换为 SipHash 实现。 "
3146+ "与旧版 FNV 算法相比只有很小的性能差异。"
31433147
31443148#: ../../whatsnew/3.4.rst:1852
31453149msgid ""
31463150"The PEP adds additional fields to the :data:`sys.hash_info` named tuple to "
31473151"describe the hash algorithm in use by the currently executing binary. "
31483152"Otherwise, the PEP does not alter any existing CPython APIs."
31493153msgstr ""
3154+ "该 PEP 向 :data:`sys.hash_info` 具名元组添加了额外字段来描述当前正在执行的二进制文件所使用的哈希算法。 除此之外,该 PEP"
3155+ " 没有改变任何现有的 CPython API。"
31503156
31513157#: ../../whatsnew/3.4.rst:1860
31523158msgid "PEP 436: Argument Clinic"
@@ -3159,20 +3165,24 @@ msgid ""
31593165" signatures for builtins and standard library extension modules implemented "
31603166"in C."
31613167msgstr ""
3168+ "现在\" Argument Clinic\" (:pep:`436`) 是 CPython 构建过程的一部分并可被用于简化为内置对象和以 C "
3169+ "实现的标准库扩展模块定义和维护准确签名的过程。"
31623170
31633171#: ../../whatsnew/3.4.rst:1867
31643172msgid ""
31653173"Some standard library extension modules have been converted to use Argument "
31663174"Clinic in Python 3.4, and :mod:`pydoc` and :mod:`inspect` have been updated "
31673175"accordingly."
31683176msgstr ""
3177+ "在 Python 3.4 中有一些标准库模块已被转换为使用 Argument Clinic,而 :mod:`pydoc` 和 "
3178+ ":mod:`inspect` 也进行了相应的更新。"
31693179
31703180#: ../../whatsnew/3.4.rst:1871
31713181msgid ""
31723182"It is expected that signature metadata for programmatic introspection will "
31733183"be added to additional callables implemented in C as part of Python 3.4 "
31743184"maintenance releases."
3175- msgstr ""
3185+ msgstr "预期针对程序化内省的签名元数据将被添加到更多的以 C 实现的可调用对象中作为 Python 3.4 维护发布版的组成部分。 "
31763186
31773187#: ../../whatsnew/3.4.rst:1876
31783188msgid ""
@@ -3181,6 +3191,8 @@ msgid ""
31813191"core development team in this case, as Argument Clinic will not be made "
31823192"available as a public API for third party use in Python 3.4."
31833193msgstr ""
3194+ "Argument Clinic PEP 尚未完整更新到与具体实现的状态相一致。 这种情况被发布版管理者和核心开发团队认为是可接受的,因为 "
3195+ "Argument Clinic 在 Python 3.4 中将不会作为公有 API 提供给第三方。"
31843196
31853197#: ../../whatsnew/3.4.rst:1883
31863198msgid ":pep:`436` -- The Argument Clinic DSL"
@@ -3200,6 +3212,8 @@ msgid ""
32003212"allowing retrieval of function pointers from named type slots when using the"
32013213" limited API. (Contributed by Martin von Löwis in :issue:`17162`.)"
32023214msgstr ""
3215+ "新的 :c:func:`PyType_GetSlot` 函数已被添加到稳定 ABI,以允许在使用受限 API 时从指定的类型槽位提取函数指针。 (由 "
3216+ "Martin von Löwis 在 :issue:`17162` 中贡献。)"
32033217
32043218#: ../../whatsnew/3.4.rst:1894
32053219msgid ""
@@ -3215,26 +3229,34 @@ msgid ""
32153229"marked as accepting ``const char *`` rather than ``char *``. (Contributed "
32163230"by Serhiy Storchaka in :issue:`1772673`.)"
32173231msgstr ""
3232+ "大多数不修改字符串参数的 Python C API 现在已被正确地标记为接受 ``const char *`` 而不是 ``char *``。 (由 "
3233+ "Serhiy Storchaka 在 :issue:`1772673` 中贡献。)"
32183234
32193235#: ../../whatsnew/3.4.rst:1903
32203236msgid ""
32213237"A new shell version of ``python-config`` can be used even when a python "
32223238"interpreter is not available (for example, in cross compilation scenarios)."
32233239msgstr ""
3240+ "一个新的 ``python-config`` 的 shell 版本即使在 python 解释器不可用时仍可被使用(例如,在交叉编译的场景中)。"
32243241
32253242#: ../../whatsnew/3.4.rst:1906
32263243msgid ""
32273244":c:func:`PyUnicode_FromFormat` now supports width and precision "
32283245"specifications for ``%s``, ``%A``, ``%U``, ``%V``, ``%S``, and ``%R``. "
32293246"(Contributed by Ysj Ray and Victor Stinner in :issue:`7330`.)"
32303247msgstr ""
3248+ "现在 :c:func:`PyUnicode_FromFormat` 支持为 ``%s``, ``%A``, ``%U``, ``%V``, ``%S``"
3249+ " 和 ``%R`` 使用宽度和精度说明符。 (由 Ysj Ray 和 Victor Stinner 在 :issue:`7330` 中贡献。)"
32313250
32323251#: ../../whatsnew/3.4.rst:1910
32333252msgid ""
32343253"New function :c:func:`PyStructSequence_InitType2` supplements the existing "
32353254":c:func:`PyStructSequence_InitType` function. The difference is that it "
32363255"returns ``0`` on success and ``-1`` on failure."
32373256msgstr ""
3257+ "新的函数 :c:func:`PyStructSequence_InitType2` 为现有的 "
3258+ ":c:func:`PyStructSequence_InitType` 函数提供了补充。 其不同之处在于它会在成功时返回 ``0`` 而在失败时返回 "
3259+ "``-1``。"
32383260
32393261#: ../../whatsnew/3.4.rst:1914
32403262msgid ""
@@ -3243,6 +3265,8 @@ msgid ""
32433265" object allocator have been silenced. (Contributed by Dhiru Kholia in "
32443266":issue:`18596`.)"
32453267msgstr ""
3268+ "现在 CPython 源代码可以使用最近版本的 GCC 和 clang 的地址确定性检查特性进行编译:小对象分配器中的假警报已被消除。 (由 Dhiru"
3269+ " Kholia 在 :issue:`18596` 中贡献。)"
32463270
32473271#: ../../whatsnew/3.4.rst:1919
32483272msgid ""
@@ -3252,13 +3276,19 @@ msgid ""
32523276"<https://en.wikipedia.org/wiki/Data_Execution_Prevention>`_. (Contributed "
32533277"by Christian Heimes in :issue:`16632`.)"
32543278msgstr ""
3279+ "Windows 构建版现在会使用 `寻址空间布局随机化 "
3280+ "<https://en.wikipedia.org/wiki/Address_space_layout_randomization>`_ 和 "
3281+ "`数据执行保护 <https://en.wikipedia.org/wiki/Data_Execution_Prevention>`_。 (由 "
3282+ "Christian Heimes 在 :issue:`16632` 中贡献。)"
32553283
32563284#: ../../whatsnew/3.4.rst:1924
32573285msgid ""
32583286"New function :c:func:`PyObject_LengthHint` is the C API equivalent of "
32593287":func:`operator.length_hint`. (Contributed by Armin Ronacher in "
32603288":issue:`16148`.)"
32613289msgstr ""
3290+ "新的函数 :c:func:`PyObject_LengthHint` 是 :func:`operator.length_hint` 的 C API "
3291+ "等价形式。 (由 Armin Ronacher 在 :issue:`16148` 中贡献。)"
32623292
32633293#: ../../whatsnew/3.4.rst:1932
32643294msgid "Other Improvements"
@@ -3301,6 +3331,9 @@ msgid ""
33013331"script at the windows command prompt by just typing its name without the "
33023332"``.py`` extension. (Contributed by Paul Moore in :issue:`18569`.)"
33033333msgstr ""
3334+ "现在 CPython Windows 安装程序会在注册扩展名时将 ``.py`` 添加到 :envvar:`PATHEXT` 变量,以允许用户在 "
3335+ "windows 命令提示符下直接键入不带 ``.py`` 扩展名的 python 脚本名称来运行它。 (由 Paul Moore 在 "
3336+ ":issue:`18569` 中贡献。)"
33043337
33053338#: ../../whatsnew/3.4.rst:1962
33063339msgid ""