@@ -3467,18 +3467,24 @@ msgid ""
34673467"multiplication. (Contributed by Benjamin Peterson in :issue:`21176`. See "
34683468"also :pep:`465` for details.)"
34693469msgstr ""
3470+ "新增 :c:func:`PyNumber_MatrixMultiply` 和 "
3471+ ":c:func:`PyNumber_InPlaceMatrixMultiply` 函数用于执行矩阵乘法。 (由 Benjamin Peterson 在 "
3472+ ":issue:`21176` 中贡献。 另请参阅 :pep:`465` 了解详情。)"
34703473
34713474#: ../../whatsnew/3.5.rst:2213
34723475msgid ""
34733476"The :c:member:`PyTypeObject.tp_finalize` slot is now part of the stable ABI."
3474- msgstr ""
3477+ msgstr "现在 :c:member:`PyTypeObject.tp_finalize` 槽位已成为稳定 ABI 的一部分。 "
34753478
34763479#: ../../whatsnew/3.5.rst:2215
34773480msgid ""
34783481"Windows builds now require Microsoft Visual C++ 14.0, which is available as "
34793482"part of `Visual Studio 2015 <https://visualstudio.microsoft.com/en/vs/older-"
34803483"downloads/#visual-studio-2015-and-other-products>`_."
34813484msgstr ""
3485+ "Windows 构建现在需要 Microsoft Visual C++ 14.0,它是 `Visual Studio 2015 "
3486+ "<https://visualstudio.microsoft.com/en/vs/older-downloads/#visual-"
3487+ "studio-2015-and-other-products>`_ 的一部分。"
34823488
34833489#: ../../whatsnew/3.5.rst:2218
34843490msgid ""
@@ -3487,12 +3493,15 @@ msgid ""
34873493"without it, although if the tag is present and mismatched, the extension "
34883494"won't be loaded):"
34893495msgstr ""
3496+ "现在扩展模块在某些平台上的文件名将包括平台信息标签(该标签是可选的,即使没有它 CPython "
3497+ "也会导入扩展,但是如果存在不匹配的标签,扩展将不会被加载):"
34903498
34913499#: ../../whatsnew/3.5.rst:2223
34923500msgid ""
34933501"On Linux, extension module filenames end with "
34943502"``.cpython-<major><minor>m-<architecture>-<os>.pyd``:"
34953503msgstr ""
3504+ "在 Linux 上,扩展模块文件名将以 ``.cpython-<major><minor>m-<architecture>-<os>.pyd`` 结束:"
34963505
34973506#: ../../whatsnew/3.5.rst:2226 ../../whatsnew/3.5.rst:2243
34983507msgid ""
@@ -3585,6 +3594,10 @@ msgid ""
35853594":exc:`RuntimeError` in Python 3.7. See :ref:`PEP 479: Change StopIteration "
35863595"handling inside generators <whatsnew-pep-479>` for details."
35873596msgstr ""
3597+ "在生成器内部引发 :exc:`StopIteration` 异常现在将静默生成一个 "
3598+ ":exc:`PendingDeprecationWarning`,这将在 Python 3.6 中改为非静默的弃用警告并在 Python 3.7 中触发"
3599+ " :exc:`RuntimeError`。 请参阅 :ref:`PEP 479: 修改生成器内部的 StopIteration 处理方式 "
3600+ "<whatsnew-pep-479>` 了解详情。"
35883601
35893602#: ../../whatsnew/3.5.rst:2284
35903603msgid "Unsupported Operating Systems"
@@ -3621,6 +3634,9 @@ msgid ""
36213634"``True``, but this default is deprecated. Specify the *decode_data* keyword"
36223635" with an appropriate value to avoid the deprecation warning."
36233636msgstr ""
3637+ "在过去 :mod:`!smtpd` 模块总是会使用 ``utf-8`` 编解码器来解码电子邮件消息的 DATA 部分。 现在这可以通过传给 "
3638+ ":class:`!SMTPServer` 的新关键字 *decode_data* 来控制。 默认值为 ``True``,但该默认值已被弃用。 请将 "
3639+ "*decode_data* 关键字指定为适当的值以避免弃用警告。"
36243640
36253641#: ../../whatsnew/3.5.rst:2305
36263642msgid ""
@@ -3631,6 +3647,11 @@ msgid ""
36313647"instead. In addition, the undocumented *LegalChars* parameter of "
36323648":meth:`~http.cookies.Morsel.set` is deprecated, and is now ignored."
36333649msgstr ""
3650+ "直接向 :class:`http.cookies.Morsel` 对象的 :attr:`~http.cookies.Morsel.key`, "
3651+ ":attr:`~http.cookies.Morsel.value` 和 "
3652+ ":attr:`~http.cookies.Morsel.coded_value` 赋值操作已弃用。 请改用 "
3653+ ":meth:`~http.cookies.Morsel.set`。 此外,:meth:`~http.cookies.Morsel.set` 未写入文档的"
3654+ " *LegalChars* 形参也已弃用,现在将会被忽略。"
36343655
36353656#: ../../whatsnew/3.5.rst:2312
36363657msgid ""
@@ -3639,6 +3660,9 @@ msgid ""
36393660"class has been deprecated. (Contributed by Serhiy Storchaka in "
36403661":issue:`23671`.)"
36413662msgstr ""
3663+ "将格式字符串作为关键字参数 *format_string* 传给 :class:`string.Formatter` 类的 "
3664+ ":meth:`~string.Formatter.format` 方法的操作已被弃用。 (由 Serhiy Storchaka 在 "
3665+ ":issue:`23671` 贡献。)"
36423666
36433667#: ../../whatsnew/3.5.rst:2317
36443668msgid ""
0 commit comments