@@ -2641,6 +2641,8 @@ msgid ""
26412641":gh:`123934`: Fix :class:`unittest.mock.MagicMock` reseting magic methods "
26422642"return values after ``.reset_mock(return_value=True)`` was called."
26432643msgstr ""
2644+ ":gh:`123934`: 修复 :class:`unittest.mock.MagicMock` reseting 在 "
2645+ "``.reset_mock(return_value=True)`` 被调用之后重置魔术方法返回值的问题。"
26442646
26452647#: ../NEWS:1259
26462648msgid ""
@@ -2709,7 +2711,7 @@ msgstr ""
27092711msgid ""
27102712":gh:`124188`: Fix reading and decoding a line from the source file witn non-"
27112713"UTF-8 encoding for syntax errors raised in the compiler."
2712- msgstr ""
2714+ msgstr ":gh:`124188`: 修复在编译器中引发语法错误时从使用非 UTF-8 编码格式的源文件中读取和解码一行内容的问题。 "
27132715
27142716#: ../NEWS:1297
27152717msgid ""
@@ -2765,6 +2767,7 @@ msgid ""
27652767":gh:`124487`: Windows builds now use Windows 8.1 as their API baseline "
27662768"(installation already required Windows 8.1)."
27672769msgstr ""
2770+ ":gh:`124487`: Windows 构建版现在使用 Windows 8.1 作为其 API 基准(安装时已要求 Windows 8.1)。"
27682771
27692772#: ../NEWS:1330
27702773msgid ""
@@ -2840,6 +2843,8 @@ msgid ""
28402843":class:`~xml.etree.ElementTree.Element` assignment no longer hide the "
28412844"internal exception if an erronous generator is passed. Patch by Bar Harel."
28422845msgstr ""
2846+ ":gh:`123213`: 当传入了错误的生成器时 :meth:`xml.etree.ElementTree.Element.extend` 和 "
2847+ ":class:`~xml.etree.ElementTree.Element` 赋值将不再隐藏内部异常。 由 Bar Harel 编写补丁。"
28432848
28442849#: ../NEWS:1386
28452850msgid ""
@@ -2874,6 +2879,8 @@ msgid ""
28742879":gh:`122695`: Fixed double-free when using :func:`gc.get_referents` with a "
28752880"freed :class:`asyncio.Future` iterator."
28762881msgstr ""
2882+ ":gh:`122695`: 修复当附带已释放的 :class:`asyncio.Future` 迭代器使用 "
2883+ ":func:`gc.get_referents` 时的双重释放问题。"
28772884
28782885#: ../NEWS:1401
28792886msgid ""
@@ -2896,6 +2903,10 @@ msgid ""
28962903":attr:`sys.last_traceback` and update ``__traceback__`` attribute of "
28972904":attr:`sys.last_value` and :attr:`sys.last_exc`."
28982905msgstr ""
2906+ ":gh:`122478`: 从附带非默认 :func:`sys.excepthook` 的 "
2907+ ":class:`code.InteractiveInterpreter` 中显示的回溯中移除内部帧。 在 "
2908+ ":attr:`sys.last_traceback` 中保存正确的回溯并更新 :attr:`sys.last_value` 和 "
2909+ ":attr:`sys.last_exc` 的 ``__traceback__`` 属性。"
28992910
29002911#: ../NEWS:1413
29012912msgid ""
0 commit comments