@@ -2995,33 +2995,46 @@ msgid ""
29952995"and the :ref:`pre-init-safe` section in the C API documentation for more "
29962996"details."
29972997msgstr ""
2998+ "对启动顺序以及动态内存分配器管理的更改意味着早已记录在案的,对在调用大多数 C API 函数之前调用 :c:func:`Py_Initialize` "
2999+ "的要求的依赖现在变得更加强烈,未遵循此要求可能导致嵌入式应用程序中的段错误。 请参阅此文档的 :ref:`porting-to-python-37` "
3000+ "一节以及 C API 文档的 :ref:`pre-init-safe` 一节了解更多细节。"
29983001
29993002#: ../../whatsnew/3.7.rst:1719
30003003msgid ""
30013004"The new :c:func:`PyInterpreterState_GetID` returns the unique ID for a given"
30023005" interpreter. (Contributed by Eric Snow in :issue:`29102`.)"
30033006msgstr ""
3007+ "新的 :c:func:`PyInterpreterState_GetID` 会返回给定解释器的唯一 ID。 (由 Eric Snow 在 "
3008+ ":issue:`29102` 中贡献。)"
30043009
30053010#: ../../whatsnew/3.7.rst:1723
30063011msgid ""
30073012":c:func:`Py_DecodeLocale`, :c:func:`Py_EncodeLocale` now use the UTF-8 "
30083013"encoding when the :ref:`UTF-8 mode <whatsnew37-pep540>` is enabled. "
30093014"(Contributed by Victor Stinner in :issue:`29240`.)"
30103015msgstr ""
3016+ "现在当启用 :ref:`UTF-8 模式 <whatsnew37-pep540>` 时 :c:func:`Py_DecodeLocale`, "
3017+ ":c:func:`Py_EncodeLocale` 会使用 UTF-8 编码。 (由 Victor Stinner 在 :issue:`29240` "
3018+ "中贡献。)"
30113019
30123020#: ../../whatsnew/3.7.rst:1727
30133021msgid ""
30143022":c:func:`PyUnicode_DecodeLocaleAndSize` and :c:func:`PyUnicode_EncodeLocale`"
30153023" now use the current locale encoding for ``surrogateescape`` error handler. "
30163024"(Contributed by Victor Stinner in :issue:`29240`.)"
30173025msgstr ""
3026+ ":c:func:`PyUnicode_DecodeLocaleAndSize` 和 :c:func:`PyUnicode_EncodeLocale` "
3027+ "现在会为 ``surrogateescape`` 错误句柄使用当前区域编码。 (由 Victor Stinner 在 :issue:`29240` "
3028+ "中贡献。)"
30183029
30193030#: ../../whatsnew/3.7.rst:1731
30203031msgid ""
30213032"The *start* and *end* parameters of :c:func:`PyUnicode_FindChar` are now "
30223033"adjusted to behave like string slices. (Contributed by Xiang Zhang in "
30233034":issue:`28822`.)"
30243035msgstr ""
3036+ ":c:func:`PyUnicode_FindChar` 的 *start* 和 *end* 形参的行为现在调整为与字符串切片类似。 (由 Xiang "
3037+ "Zhang 在 :issue:`28822` 中贡献。)"
30253038
30263039#: ../../whatsnew/3.7.rst:1737
30273040msgid "Build Changes"
@@ -3033,6 +3046,8 @@ msgid ""
30333046":mod:`threading` module is now always available. (Contributed by Antoine "
30343047"Pitrou in :issue:`31370`.)."
30353048msgstr ""
3049+ "对于 ``--without-threads`` 构建的支持已被移除。 :mod:`threading` 模块现在将总是可用。 (由 Antoine "
3050+ "Pitrou 在 :issue:`31370` 中贡献。)"
30363051
30373052#: ../../whatsnew/3.7.rst:1743
30383053msgid ""
0 commit comments