@@ -18,7 +18,7 @@ msgid ""
1818msgstr ""
1919"Project-Id-Version : Python 3.9\n "
2020"Report-Msgid-Bugs-To : \n "
21- "POT-Creation-Date : 2024-02-23 21:32 +0000\n "
21+ "POT-Creation-Date : 2024-02-25 04:14 +0000\n "
2222"PO-Revision-Date : 2017-02-16 23:44+0000\n "
2323"
Last-Translator :
Freesand Leo <[email protected] >, 2024\n "
2424"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -1592,6 +1592,10 @@ msgid ""
15921592"and ``False`` for all other policies. (Contributed by Milan Oberkirch in "
15931593":issue:`20098`.)"
15941594msgstr ""
1595+ "新增的策略选项 :attr:`Policy.mangle_from_ <email.policy.Policy.mangle_from_>` "
1596+ "可控制生成器是否要为电子邮件消息体中以controls whether or not lines that start with ``\" From "
1597+ "\" `` 打头的行添加 ``\" >\" `` 字符前缀。 默认 :attr:`~email.policy.compat32` 为 ``True`` "
1598+ "而所有其他策略均为 ``False``。 (由 Milan Oberkirch 在 :issue:`20098` 中贡献。)"
15951599
15961600#: ../../whatsnew/3.5.rst:1104
15971601msgid ""
@@ -1600,6 +1604,10 @@ msgid ""
16001604" to a canonical value for the :mailheader:`Content-Disposition` header. "
16011605"(Contributed by Abhilash Raj in :issue:`21083`.)"
16021606msgstr ""
1607+ "新增的 :meth:`Message.get_content_disposition() "
1608+ "<email.message.Message.get_content_disposition>` 方法可提供对 "
1609+ ":mailheader:`Content-Disposition` 标头规范值的便捷访问。 (由 Abhilash Raj 在 "
1610+ ":issue:`21083` 中贡献。)"
16031611
16041612#: ../../whatsnew/3.5.rst:1110
16051613msgid ""
@@ -1610,13 +1618,20 @@ msgid ""
16101618":rfc:`6531` ``SMTPUTF8`` extension. (Contributed by R. David Murray in "
16111619":issue:`24211`.)"
16121620msgstr ""
1621+ "新增的策略选项 :attr:`EmailPolicy.utf8 <email.policy.EmailPolicy.utf8>` 可被设为 "
1622+ "``True`` 以使用 UTF-8 字符集而不是使用已编码的字来编码电子邮件标头。 这将允许根据 :rfc:`6532` 来格式化 "
1623+ "``Messages`` 并配合支持 :rfc:`6531` ``SMTPUTF8`` 扩展的 SMTP 服务器使用。 (由 R. David "
1624+ "Murray 在 :issue:`24211` 中贡献。)"
16131625
16141626#: ../../whatsnew/3.5.rst:1117
16151627msgid ""
16161628"The :class:`mime.text.MIMEText <email.mime.text.MIMEText>` constructor now "
16171629"accepts a :class:`charset.Charset <email.charset.Charset>` instance. "
16181630"(Contributed by Claude Paroz and Berker Peksag in :issue:`16324`.)"
16191631msgstr ""
1632+ "现在 :class:`mime.text.MIMEText <email.mime.text.MIMEText>` 构造器可接受一个 "
1633+ ":class:`charset.Charset <email.charset.Charset>` 实例。 (由 Claude Paroz 和 "
1634+ "Berker Peksag 在 :issue:`16324` 中贡献。)"
16201635
16211636#: ../../whatsnew/3.5.rst:1123
16221637msgid "enum"
@@ -1627,6 +1642,7 @@ msgid ""
16271642"The :class:`~enum.Enum` callable has a new parameter *start* to specify the "
16281643"initial number of enum values if only *names* are provided::"
16291644msgstr ""
1645+ ":class:`~enum.Enum` 可调用对象新增了一个形参 *start* 用于在只提供了 *names* 的情况下指定枚举值的初始数量::"
16301646
16311647#: ../../whatsnew/3.5.rst:1134
16321648msgid "(Contributed by Ethan Furman in :issue:`21706`.)"
@@ -1644,6 +1660,10 @@ msgid ""
16441660"descriptors in addition to file-like objects. (Contributed by Wei Wu in "
16451661":issue:`23566`.)"
16461662msgstr ""
1663+ "现在 :func:`~faulthandler.enable`, :func:`~faulthandler.register`, "
1664+ ":func:`~faulthandler.dump_traceback` 和 "
1665+ ":func:`~faulthandler.dump_traceback_later` 函数除了接受文件型对象以外也接受文件描述符。 (由 Wei Wu "
1666+ "在 :issue:`23566` 中贡献。)"
16471667
16481668#: ../../whatsnew/3.5.rst:1148
16491669msgid "functools"
@@ -1655,6 +1675,8 @@ msgid ""
16551675"making it significantly faster. (Contributed by Matt Joiner, Alexey "
16561676"Kachayev, and Serhiy Storchaka in :issue:`14373`.)"
16571677msgstr ""
1678+ "现在大部分 :func:`~functools.lru_cache` 机制已使用 C 实现,使其速度显著提升。 (由 Matt Joiner, "
1679+ "Alexey Kachayev 和 Serhiy Storchaka 在 :issue:`14373` 中贡献。)"
16581680
16591681#: ../../whatsnew/3.5.rst:1158
16601682msgid "glob"
@@ -1666,6 +1688,8 @@ msgid ""
16661688"recursive search in subdirectories, using the ``\" **\" `` pattern. "
16671689"(Contributed by Serhiy Storchaka in :issue:`13968`.)"
16681690msgstr ""
1691+ "现在 :func:`~glob.iglob` 和 :func:`~glob.glob` 函数支持通过使用 ``\" **\" `` 模式在子目录中递归搜索。"
1692+ " (由 Serhiy Storchaka 在 :issue:`13968` 中贡献。)"
16691693
16701694#: ../../whatsnew/3.5.rst:1166
16711695msgid "gzip"
@@ -1677,6 +1701,8 @@ msgid ""
16771701"``\" x\" `` to request exclusive creation. (Contributed by Tim Heaney in "
16781702":issue:`19222`.)"
16791703msgstr ""
1704+ "现在 :class:`~gzip.GzipFile` 构造器的 *mode* 参数可接受 ``\" x\" `` 来请求独占式的创建。 (由 Tim "
1705+ "Heaney 在 :issue:`19222` 中贡献。)"
16801706
16811707#: ../../whatsnew/3.5.rst:1174
16821708msgid "heapq"
@@ -1689,6 +1715,8 @@ msgid ""
16891715"optional *reverse* keyword argument can be used to reverse element "
16901716"comparison::"
16911717msgstr ""
1718+ "现在 :func:`~heapq.merge` 中的元素比较可通过在新增的可选关键字参数 *key* 中传入一个 :term:`key "
1719+ "function` 来进行定制,并且新增了可选关键字参数 *reverse* 用于反向的元素比较::"
16921720
16931721#: ../../whatsnew/3.5.rst:1189
16941722msgid "(Contributed by Raymond Hettinger in :issue:`13742`.)"
0 commit comments