@@ -263,6 +263,9 @@ msgid ""
263263"process did not consume input quickly. The stdin write is now performed in a"
264264" background thread, allowing the timeout to be properly enforced."
265265msgstr ""
266+ ":gh:`87512`: 修正在 Windows 上当写入大量输入内容时 :func:`subprocess.Popen.communicate` "
267+ "的超时处理问题。 在之前版本中,在写入 stdin 时会忽略超时设置,导致在子进程未快速消费输入内容时此方法无限阻塞。 现在 stdin "
268+ "写入将在后台线程中执行,以允许正确地应用超时设置。"
266269
267270#: ../NEWS:85
268271msgid ""
@@ -271,6 +274,8 @@ msgid ""
271274":exc:`~subprocess.TimeoutExpired` exception before the process has died, it "
272275"should no longer hang."
273276msgstr ""
277+ ":gh:`141473`: 当 :meth:`subprocess.Popen.communicate` 附带 *input* 和 *timeout* "
278+ "被调用并且是在进程死亡之前 :exc:`~subprocess.TimeoutExpired` 异常引发之后再次被调用时,它将不再会被挂起。"
274279
275280#: ../NEWS:90
276281msgid ""
@@ -1084,6 +1089,9 @@ msgid ""
10841089"platforms. Those are now properly cast to a byte shaped view instead of "
10851090"truncating the input. Windows platforms did not have this bug."
10861091msgstr ""
1092+ ":gh:`134453`: 修正 POSIX 平台上 :func:`subprocess.Popen.communicate` 对于非字节形状 "
1093+ ":class:`memoryview` 实例的 ``input=`` 处理。 现在它们会被正确转换为字节形状视图而不是截断输入。 Windows "
1094+ "平台不存在此程序缺陷。platforms did not have this bug."
10871095
10881096#: ../NEWS:452
10891097msgid ""
@@ -1219,6 +1227,10 @@ msgid ""
12191227"<https://en.wikipedia.org/wiki/XML_external_entity_attack>`_. Patch by "
12201228"Sebastian Pipping."
12211229msgstr ""
1230+ ":gh:`141994`: :mod:`xml.sax.handler`: 在 "
1231+ ":data:`xml.sax.handler.feature_external_ges` 的文档中警告 `外部实体攻击 "
1232+ "<https://en.wikipedia.org/wiki/XML_external_entity_attack>`_ 风险。 由 Sebastian"
1233+ " Pipping 编写补丁。"
12221234
12231235#: ../NEWS:505
12241236msgid ""
@@ -1647,6 +1659,8 @@ msgid ""
16471659"unreachable objects that are created during running of finalizers. If those"
16481660" weakrefs were are not cleared, they could reveal unreachable objects."
16491661msgstr ""
1662+ ":gh:`91636`: 在执行垃圾回收期间,将清理指向在终结器运行中被创建的不可达对象的弱引用。 "
1663+ "如果这些弱引用未被清理,它们可以揭示相应的不可达对象。"
16501664
16511665#: ../NEWS:691
16521666msgid ""
0 commit comments