@@ -2119,6 +2119,9 @@ msgid ""
21192119"alternatives to an existing regular expression. (Contributed by Matthew "
21202120"Barnett in :issue:`16203`.)"
21212121msgstr ""
2122+ "新增的 :func:`~re.fullmatch` 函数和 :meth:`.regex.fullmatch` 方法可将模式锚定到要匹配的字符串的两端。 "
2123+ "这提供了一种明确匹配目标的方式,从而避免了一类微妙的错误错误,即在代码更改或为现有正则表达式添加替代项时丢失 ``$`` 字符。 (由 Matthew "
2124+ "Barnett 在 :issue:`16203` 中贡献。)"
21222125
21232126#: ../../whatsnew/3.4.rst:1310
21242127msgid ""
@@ -2127,6 +2130,9 @@ msgid ""
21272130" start, end, and the part of the string that matched. (Contributed by Hugo "
21282131"Lopes Tavares and Serhiy Storchaka in :issue:`13592` and :issue:`17087`.)"
21292132msgstr ""
2133+ ":ref:`正则表达式对象 <re-objects>` 的 repr 现在将包括模式和旗标;:ref:`匹配对象 <match-objects>` 的 "
2134+ "repr 现在将包括已匹配字符串的开头、末尾和组成。 (由 Hugo Lopes Tavares 和 Serhiy Storchaka 在 "
2135+ ":issue:`13592` 和 :issue:`17087` 中贡献。)"
21302136
21312137#: ../../whatsnew/3.4.rst:1318
21322138msgid "resource"
@@ -2139,6 +2145,9 @@ msgid ""
21392145"ability to query or set the resource limits for processes other than the one"
21402146" making the call. (Contributed by Christian Heimes in :issue:`16595`.)"
21412147msgstr ""
2148+ "新增的 :func:`~resource.prlimit` 函数,在内核版本 2.6.36 以上的 Linux 平台及 glibc 版本 2.13 "
2149+ "以上可用,提供了查询或设置执行调用的进程以外的进程的资源限制的功能。 (由 Christian Heimes 在 :issue:`16595` "
2150+ "中贡献。)"
21422151
21432152#: ../../whatsnew/3.4.rst:1325
21442153msgid ""
@@ -2148,6 +2157,11 @@ msgid ""
21482157":const:`~resource.RLIMIT_RTTIME`, and :const:`~resource.RLIMIT_SIGPENDING`. "
21492158"(Contributed by Christian Heimes in :issue:`19324`.)"
21502159msgstr ""
2160+ "在内核版本 2.6.36 以上的 Linux 上,新增了一些 Linux 专属的常量: "
2161+ ":const:`~resource.RLIMIT_MSGQUEUE`, :const:`~resource.RLIMIT_NICE`, "
2162+ ":const:`~resource.RLIMIT_RTPRIO`, :const:`~resource.RLIMIT_RTTIME` 和 "
2163+ ":const:`~resource.RLIMIT_SIGPENDING`。 (由 Christian Heimes 在 :issue:`19324` "
2164+ "中贡献。)"
21512165
21522166#: ../../whatsnew/3.4.rst:1331
21532167msgid ""
@@ -2156,6 +2170,9 @@ msgid ""
21562170":const:`~resource.RLIMIT_NPTS`. (Contributed by Claudiu Popa in "
21572171":issue:`19343`.)"
21582172msgstr ""
2173+ "在版本 9 以上的 FreeBSD 上,新增了一些 FreeBSD 专属的常量: :const:`~resource.RLIMIT_SBSIZE`, "
2174+ ":const:`~resource.RLIMIT_SWAP` 和 :const:`~resource.RLIMIT_NPTS`。 (由 Claudiu "
2175+ "Popa 在 :issue:`19343` 中贡献。)"
21592176
21602177#: ../../whatsnew/3.4.rst:1338
21612178msgid "select"
0 commit comments