Skip to content

Commit 6d4fb20

Browse files
[po] auto sync
1 parent 3653378 commit 6d4fb20

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "81.39%", "updated_at": "2025-04-22T02:23:24Z"}
1+
{"translation": "81.39%", "updated_at": "2025-04-22T06:56:54Z"}

whatsnew/3.4.po

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4312,6 +4312,10 @@ msgid ""
43124312
":issue:`18011`.) Note: this change was also inadvertently applied in Python"
43134313
" 3.3.3."
43144314
msgstr ""
4315+
"当输入字符串包含 non-b32-alphabet 字符时 :func:`base64.b32decode` 现在会引发 "
4316+
":exc:`binascii.Error`,而不是 :exc:`TypeError`。 之前在其他 :exc:`TypeError` 被转换时这个 "
4317+
":exc:`TypeError` 被忽略了。 (由 Serhiy Storchaka 在 :issue:`18011` 中贡献。) "
4318+
"注意:这项修改也被非故意地应用到了 Python 3.3.3。"
43154319

43164320
#: ../../whatsnew/3.4.rst:2373
43174321
msgid ""
@@ -4322,13 +4326,19 @@ msgid ""
43224326
"the entire :class:`!cgi.FieldStorage` instance or read the contents of the "
43234327
"file before the :class:`!cgi.FieldStorage` instance is garbage collected."
43244328
msgstr ""
4329+
"当正在创建的 :class:`!cgi.FieldStorage` 实例被作为垃圾回收时 :attr:`!file` 属性现在会自动关闭。 "
4330+
"如果你要单独从 :class:`!cgi.FieldStorage` 实例取出文件对象而不让该实例保持存活,那么你应当在 "
4331+
":class:`!cgi.FieldStorage` 实例被作为垃圾回收之前存储整个 :class:`!cgi.FieldStorage` "
4332+
"实例或读取文件的内容。"
43254333

43264334
#: ../../whatsnew/3.4.rst:2380
43274335
msgid ""
43284336
"Calling ``read`` or ``write`` on a closed SSL socket now raises an "
43294337
"informative :exc:`ValueError` rather than the previous more mysterious "
43304338
":exc:`AttributeError` (:issue:`9177`)."
43314339
msgstr ""
4340+
"在已关闭的 SSL 套接字上调用 ``read`` 或 ``write`` 现在会引发更具信息量的 :exc:`ValueError` "
4341+
"而非之前更令人困惑的 :exc:`AttributeError` (:issue:`9177`)。"
43324342

43334343
#: ../../whatsnew/3.4.rst:2384
43344344
msgid ""
@@ -4337,6 +4347,9 @@ msgid ""
43374347
":exc:`ValueError` if given a negative length; previously it returned "
43384348
"nonsense values (:issue:`14794`)."
43394349
msgstr ""
4350+
"对于巨大数值 :meth:`slice.indices` 将不再产生 :exc:`OverflowError`。 作为此项修复的结果,当给予负的长度时 "
4351+
":meth:`slice.indices` 现在会引发 :exc:`ValueError`;在之前版本中它会返回无意义的值 "
4352+
"(:issue:`14794`)。"
43404353

43414354
#: ../../whatsnew/3.4.rst:2389
43424355
msgid ""

0 commit comments

Comments
 (0)