@@ -18,7 +18,7 @@ msgid ""
18
18
msgstr ""
19
19
"Project-Id-Version : Python 3.9\n "
20
20
"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 "
22
22
"PO-Revision-Date : 2017-02-16 23:44+0000\n "
23
23
"Last-Translator : Freesand Leo <yuqinju@163.com>, 2024\n "
24
24
"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -1592,6 +1592,10 @@ msgid ""
1592
1592
"and ``False`` for all other policies. (Contributed by Milan Oberkirch in "
1593
1593
":issue:`20098`.)"
1594
1594
msgstr ""
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` 中贡献。)"
1595
1599
1596
1600
#: ../../whatsnew/3.5.rst:1104
1597
1601
msgid ""
@@ -1600,6 +1604,10 @@ msgid ""
1600
1604
" to a canonical value for the :mailheader:`Content-Disposition` header. "
1601
1605
"(Contributed by Abhilash Raj in :issue:`21083`.)"
1602
1606
msgstr ""
1607
+ "新增的 :meth:`Message.get_content_disposition() "
1608
+ "<email.message.Message.get_content_disposition>` 方法可提供对 "
1609
+ ":mailheader:`Content-Disposition` 标头规范值的便捷访问。 (由 Abhilash Raj 在 "
1610
+ ":issue:`21083` 中贡献。)"
1603
1611
1604
1612
#: ../../whatsnew/3.5.rst:1110
1605
1613
msgid ""
@@ -1610,13 +1618,20 @@ msgid ""
1610
1618
":rfc:`6531` ``SMTPUTF8`` extension. (Contributed by R. David Murray in "
1611
1619
":issue:`24211`.)"
1612
1620
msgstr ""
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` 中贡献。)"
1613
1625
1614
1626
#: ../../whatsnew/3.5.rst:1117
1615
1627
msgid ""
1616
1628
"The :class:`mime.text.MIMEText <email.mime.text.MIMEText>` constructor now "
1617
1629
"accepts a :class:`charset.Charset <email.charset.Charset>` instance. "
1618
1630
"(Contributed by Claude Paroz and Berker Peksag in :issue:`16324`.)"
1619
1631
msgstr ""
1632
+ "现在 :class:`mime.text.MIMEText <email.mime.text.MIMEText>` 构造器可接受一个 "
1633
+ ":class:`charset.Charset <email.charset.Charset>` 实例。 (由 Claude Paroz 和 "
1634
+ "Berker Peksag 在 :issue:`16324` 中贡献。)"
1620
1635
1621
1636
#: ../../whatsnew/3.5.rst:1123
1622
1637
msgid "enum"
@@ -1627,6 +1642,7 @@ msgid ""
1627
1642
"The :class:`~enum.Enum` callable has a new parameter *start* to specify the "
1628
1643
"initial number of enum values if only *names* are provided::"
1629
1644
msgstr ""
1645
+ ":class:`~enum.Enum` 可调用对象新增了一个形参 *start* 用于在只提供了 *names* 的情况下指定枚举值的初始数量::"
1630
1646
1631
1647
#: ../../whatsnew/3.5.rst:1134
1632
1648
msgid "(Contributed by Ethan Furman in :issue:`21706`.)"
@@ -1644,6 +1660,10 @@ msgid ""
1644
1660
"descriptors in addition to file-like objects. (Contributed by Wei Wu in "
1645
1661
":issue:`23566`.)"
1646
1662
msgstr ""
1663
+ "现在 :func:`~faulthandler.enable`, :func:`~faulthandler.register`, "
1664
+ ":func:`~faulthandler.dump_traceback` 和 "
1665
+ ":func:`~faulthandler.dump_traceback_later` 函数除了接受文件型对象以外也接受文件描述符。 (由 Wei Wu "
1666
+ "在 :issue:`23566` 中贡献。)"
1647
1667
1648
1668
#: ../../whatsnew/3.5.rst:1148
1649
1669
msgid "functools"
@@ -1655,6 +1675,8 @@ msgid ""
1655
1675
"making it significantly faster. (Contributed by Matt Joiner, Alexey "
1656
1676
"Kachayev, and Serhiy Storchaka in :issue:`14373`.)"
1657
1677
msgstr ""
1678
+ "现在大部分 :func:`~functools.lru_cache` 机制已使用 C 实现,使其速度显著提升。 (由 Matt Joiner, "
1679
+ "Alexey Kachayev 和 Serhiy Storchaka 在 :issue:`14373` 中贡献。)"
1658
1680
1659
1681
#: ../../whatsnew/3.5.rst:1158
1660
1682
msgid "glob"
@@ -1666,6 +1688,8 @@ msgid ""
1666
1688
"recursive search in subdirectories, using the ``\" **\" `` pattern. "
1667
1689
"(Contributed by Serhiy Storchaka in :issue:`13968`.)"
1668
1690
msgstr ""
1691
+ "现在 :func:`~glob.iglob` 和 :func:`~glob.glob` 函数支持通过使用 ``\" **\" `` 模式在子目录中递归搜索。"
1692
+ " (由 Serhiy Storchaka 在 :issue:`13968` 中贡献。)"
1669
1693
1670
1694
#: ../../whatsnew/3.5.rst:1166
1671
1695
msgid "gzip"
@@ -1677,6 +1701,8 @@ msgid ""
1677
1701
"``\" x\" `` to request exclusive creation. (Contributed by Tim Heaney in "
1678
1702
":issue:`19222`.)"
1679
1703
msgstr ""
1704
+ "现在 :class:`~gzip.GzipFile` 构造器的 *mode* 参数可接受 ``\" x\" `` 来请求独占式的创建。 (由 Tim "
1705
+ "Heaney 在 :issue:`19222` 中贡献。)"
1680
1706
1681
1707
#: ../../whatsnew/3.5.rst:1174
1682
1708
msgid "heapq"
@@ -1689,6 +1715,8 @@ msgid ""
1689
1715
"optional *reverse* keyword argument can be used to reverse element "
1690
1716
"comparison::"
1691
1717
msgstr ""
1718
+ "现在 :func:`~heapq.merge` 中的元素比较可通过在新增的可选关键字参数 *key* 中传入一个 :term:`key "
1719
+ "function` 来进行定制,并且新增了可选关键字参数 *reverse* 用于反向的元素比较::"
1692
1720
1693
1721
#: ../../whatsnew/3.5.rst:1189
1694
1722
msgid "(Contributed by Raymond Hettinger in :issue:`13742`.)"
0 commit comments