@@ -1750,6 +1750,10 @@ msgid ""
1750
1750
"raised, the client socket is now closed automatically, and will reconnect on"
1751
1751
" the next request::"
1752
1752
msgstr ""
1753
+ "现在 :meth:`HTTPConnection.getresponse() "
1754
+ "<http.client.HTTPConnection.getresponse>` 在远程服务器连接被意外关闭时会引发 "
1755
+ ":exc:`~http.client.RemoteDisconnected` 异常。 此外,如果引发了 :exc:`ConnectionError` "
1756
+ "(``RemoteDisconnected`` 是其子类),客户端套接字现在会自动关闭,并将在下次请求时重新连接::"
1753
1757
1754
1758
#: ../../whatsnew/3.5.rst:1219
1755
1759
msgid "(Contributed by Martin Panter in :issue:`3566`.)"
@@ -1767,6 +1771,9 @@ msgid ""
1767
1771
"as well as changes made in future 3.5.x releases. This file is also "
1768
1772
"available from the IDLE :menuselection:`Help --> About IDLE` dialog."
1769
1773
msgstr ""
1774
+ "由于 idlelib 实现了 IDLE 命令行界面和编辑器且不应被其他程序导入,它将随每个发布版获得不断改进。 请参阅 "
1775
+ ":file:`Lib/idlelib/NEWS.txt` 查看 3.4.0 以来的累积改变列表,以及未来 3.5.x 发布版将进行的改变。 "
1776
+ "此文件也可通过 IDLE :menuselection:`Help --> About IDLE` 对话框查看。"
1770
1777
1771
1778
#: ../../whatsnew/3.5.rst:1233
1772
1779
msgid "imaplib"
@@ -1779,6 +1786,9 @@ msgid ""
1779
1786
"command will be called automatically at the end of the block. (Contributed "
1780
1787
"by Tarek Ziadé and Serhiy Storchaka in :issue:`4972`.)"
1781
1788
msgstr ""
1789
+ "现在 :class:`~imaplib.IMAP4` 类已支持 :term:`context manager` 协议。 当用于 "
1790
+ ":keyword:`with` 语句时,IMAP4 ``LOGOUT`` 命令将在代码块的末尾被自动调用。 (由 Tarek Ziadé 和 "
1791
+ "Serhiy Storchaka 在 :issue:`4972` 中贡献。)"
1782
1792
1783
1793
#: ../../whatsnew/3.5.rst:1240
1784
1794
msgid ""
0 commit comments