Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7d3d610

Browse files
[po] auto sync
1 parent 5e192ce commit 7d3d610

8 files changed

Lines changed: 38 additions & 1 deletion

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "94.98%", "updated_at": "2024-04-20T04:56:23Z"}
1+
{"translation": "95.00%", "updated_at": "2024-04-20T05:56:07Z"}

howto/logging-cookbook.po

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1282,6 +1282,9 @@ msgid ""
12821282
" following snippets illustrate -- you can test them in an environment which "
12831283
"has ``pynng`` installed. Just for variety, we present the listener first."
12841284
msgstr ""
1285+
"通过与上一节类似的方式,我们可以使用 :pypi:`pynng` 来实现监听器和处理器,这个包是针对 `NNG "
1286+
"<https://nng.nanomsg.org/>`_ 的 Python 绑定,它被确定为 ZeroMQ 的精神后继者。 以下代码片段被用作演示 --"
1287+
" 你可以在安装了 ``pynng`` 的环境中测试它们。 为增加变化,我们先编写监听器。"
12851288

12861289
#: ../../howto/logging-cookbook.rst:2037
12871290
msgid ""
@@ -2163,6 +2166,8 @@ msgid ""
21632166
"platform UI framework with Python bindings using :pypi:`PySide2` or "
21642167
":pypi:`PyQt5` libraries."
21652168
msgstr ""
2169+
"一个时常被提出的问题是 GUI 应用程序要如何记录日志。 `Qt <https://www.qt.io/>`_ 框架是一个流行的跨平台 UI "
2170+
"框架,它具有使用 :pypi:`PySide2` 或 :pypi:`PyQt5` 库的 Python 绑定。"
21662171

21672172
#: ../../howto/logging-cookbook.rst:3581
21682173
msgid ""

library/cgi.po

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ msgid ""
4848
":mod:`email.message` module or :pypi:`multipart` for ``POST`` and ``PUT``. "
4949
"Most :ref:`utility functions <functions-in-cgi-module>` have replacements."
5050
msgstr ""
51+
"对于 ``GET`` 和 ``HEAD`` 请求 :class:`FieldStorage` 类通常可使用 "
52+
":func:`urllib.parse.parse_qsl` 来替换,而对于 ``POST`` 和 ``PUT`` 可使用 "
53+
":mod:`email.message` 模块或 :pypi:`multipart`。 大部分 :ref:`工具函数 <functions-in-"
54+
"cgi-module>` 都有相应的替代品。"
5155

5256
#: ../../library/cgi.rst:30
5357
msgid "Support module for Common Gateway Interface (CGI) scripts."
@@ -500,6 +504,9 @@ msgid ""
500504
":class:`email.message.EmailMessage`/:class:`email.message.Message`) which "
501505
"implements the same MIME RFCs, or with the :pypi:`multipart` PyPI project."
502506
msgstr ""
507+
"此函数与 :mod:`cgi` 模块的其余部分一样已被弃用。 它可以被替换为 :mod:`email` 包中实现相同 MIME RFC的函数 (例如 "
508+
":class:`email.message.EmailMessage`/:class:`email.message.Message`),或是使用 "
509+
":pypi:`multipart` PyPI 项目。"
503510

504511
#: ../../library/cgi.rst:342
505512
msgid ""

whatsnew/3.10.po

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3850,6 +3850,11 @@ msgid ""
38503850
"limitation <int_max_str_digits>` documentation. The default limit is 4300 "
38513851
"digits in string form."
38523852
msgstr ""
3853+
"使用 2 (二进制), 4, 8 (八进制), 16 (十六进制) 或 32 以外的基数例如以 10 (十进制) 为基数在 :class:`int` 和"
3854+
" :class:`str` 之间进行转换现在如果字符串表示形式中的位数超过特定限制则会引发 :exc:`ValueError` "
3855+
"以避免因算法复杂度导致的拒绝服务攻击风险。 这是对于 :cve:`2020-10735` 的一种缓解方案。 此限制可通过环境变量、命令行旗标或 "
3856+
":mod:`sys` API 来配置或者禁用。 参见 :ref:`整数字符串转换长度限制 <int_max_str_digits>` 文档。 "
3857+
"字符串形式的默认限制为 4300 位数字。"
38533858

38543859
#: ../../whatsnew/3.10.rst:2341
38553860
msgid "Notable security feature in 3.10.8"

whatsnew/3.11.po

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -747,6 +747,11 @@ msgid ""
747747
"limitation <int_max_str_digits>` documentation. The default limit is 4300 "
748748
"digits in string form."
749749
msgstr ""
750+
"使用 2 (二进制), 4, 8 (八进制), 16 (十六进制) 或 32 以外的基数例如以 10 (十进制) 为基数在 :class:`int` 和"
751+
" :class:`str` 之间进行转换现在如果字符串表示形式中的位数超过特定限制则会引发 :exc:`ValueError` "
752+
"以避免因算法复杂度导致的拒绝服务攻击风险。 这是对于 :cve:`2020-10735` 的一种缓解方案。 此限制可通过环境变量、命令行旗标或 "
753+
":mod:`sys` API 来配置或者禁用。 参见 :ref:`整数字符串转换长度限制 <int_max_str_digits>` 文档。 "
754+
"字符串形式的默认限制为 4300 位数字。"
750755

751756
#: ../../whatsnew/3.11.rst:557
752757
msgid "New Modules"

whatsnew/3.7.po

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4618,3 +4618,8 @@ msgid ""
46184618
"limitation <int_max_str_digits>` documentation. The default limit is 4300 "
46194619
"digits in string form."
46204620
msgstr ""
4621+
"使用 2 (二进制), 4, 8 (八进制), 16 (十六进制) 或 32 以外的基数例如以 10 (十进制) 为基数在 :class:`int` 和"
4622+
" :class:`str` 之间进行转换现在如果字符串表示形式中的位数超过特定限制则会引发 :exc:`ValueError` "
4623+
"以避免因算法复杂度导致的拒绝服务攻击风险。 这是对于 :cve:`2020-10735` 的一种缓解方案。 此限制可通过环境变量、命令行旗标或 "
4624+
":mod:`sys` API 来配置或者禁用。 参见 :ref:`整数字符串转换长度限制 <int_max_str_digits>` 文档。 "
4625+
"字符串形式的默认限制为 4300 位数字。"

whatsnew/3.8.po

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3714,6 +3714,11 @@ msgid ""
37143714
"limitation <int_max_str_digits>` documentation. The default limit is 4300 "
37153715
"digits in string form."
37163716
msgstr ""
3717+
"使用 2 (二进制), 4, 8 (八进制), 16 (十六进制) 或 32 以外的基数例如以 10 (十进制) 为基数在 :class:`int` 和"
3718+
" :class:`str` 之间进行转换现在如果字符串表示形式中的位数超过特定限制则会引发 :exc:`ValueError` "
3719+
"以避免因算法复杂度导致的拒绝服务攻击风险。 这是对于 :cve:`2020-10735` 的一种缓解方案。 此限制可通过环境变量、命令行旗标或 "
3720+
":mod:`sys` API 来配置或者禁用。 参见 :ref:`整数字符串转换长度限制 <int_max_str_digits>` 文档。 "
3721+
"字符串形式的默认限制为 4300 位数字。"
37173722

37183723
#: ../../whatsnew/3.8.rst:2347
37193724
msgid "Notable changes in 3.8.17"

whatsnew/3.9.po

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2928,6 +2928,11 @@ msgid ""
29282928
"limitation <int_max_str_digits>` documentation. The default limit is 4300 "
29292929
"digits in string form."
29302930
msgstr ""
2931+
"使用 2 (二进制), 4, 8 (八进制), 16 (十六进制) 或 32 以外的基数例如以 10 (十进制) 为基数在 :class:`int` 和"
2932+
" :class:`str` 之间进行转换现在如果字符串表示形式中的位数超过特定限制则会引发 :exc:`ValueError` "
2933+
"以避免因算法复杂度导致的拒绝服务攻击风险。 这是对于 :cve:`2020-10735` 的一种缓解方案。 此限制可通过环境变量、命令行旗标或 "
2934+
":mod:`sys` API 来配置或者禁用。 参见 :ref:`整数字符串转换长度限制 <int_max_str_digits>` 文档。 "
2935+
"字符串形式的默认限制为 4300 位数字。"
29312936

29322937
#: ../../whatsnew/3.9.rst:1599
29332938
msgid "Notable changes in 3.9.17"

0 commit comments

Comments
 (0)