Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit689de2c

Browse files
[po] auto sync
1 parent56c0b7f commit689de2c

File tree

6 files changed

+133
-64
lines changed

6 files changed

+133
-64
lines changed

‎.stat.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation":"81.90%","updated_at":"2025-09-23T00:38:36Z"}
1+
{"translation":"82.06%","updated_at":"2025-09-23T01:59:58Z"}

‎library/tarfile.po‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,8 @@ msgid ""
473473
"The exception that was raised to reject the replacement member is available "
474474
"as :attr:`!BaseException.__context__`."
475475
msgstr""
476+
"在要拒绝通过提取其他归档成员来模拟一个链接(硬链接或符号链接),而该成员会被过滤位置丢弃时被引发。 被引发以丢弃替换成员的异常可作为 "
477+
":attr:`!BaseException.__context__` 被访问。"
476478

477479
#:../../library/tarfile.rst:250
478480
msgid"The following constants are available at the module level:"

‎whatsnew/2.6.po‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version:Python 3.10\n"
1313
"Report-Msgid-Bugs-To:\n"
14-
"POT-Creation-Date:2025-01-03 16:02+0000\n"
14+
"POT-Creation-Date:2025-09-22 21:19+0000\n"
1515
"PO-Revision-Date:2025-09-22 15:59+0000\n"
1616
"Last-Translator:python-doc bot, 2025\n"
1717
"Language-Team:Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -2294,13 +2294,17 @@ msgid ""
22942294
"the elements; if some of the iterables are shorter than others, the missing "
22952295
"values are set to *fillvalue*. For example::"
22962296
msgstr""
2297+
"``izip_longest(iter1, iter2, ...[, fillvalue])`` "
2298+
"将基于每个元素创建元组;如果某些可迭代对象长度小于其他的,缺失的值将被设为 *fillvalue*。 例如::"
22972299

22982300
#:../../whatsnew/2.6.rst:2018
22992301
msgid""
23002302
"``product(iter1, iter2, ..., [repeat=N])`` returns the Cartesian product of "
23012303
"the supplied iterables, a set of tuples containing every possible "
23022304
"combination of the elements returned from each iterable. ::"
23032305
msgstr""
2306+
"``product(iter1, iter2, ..., [repeat=N])`` "
2307+
"将返回所提供可迭代对象的笛卡尔积,即包含从每个可迭代对象返回的元素的每种可能组合的元组的集合。::"
23042308

23052309
#:../../whatsnew/2.6.rst:2027
23062310
msgid""

‎whatsnew/3.2.po‎

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version:Python 3.10\n"
1313
"Report-Msgid-Bugs-To:\n"
14-
"POT-Creation-Date:2025-01-03 16:02+0000\n"
14+
"POT-Creation-Date:2025-09-22 21:19+0000\n"
1515
"PO-Revision-Date:2025-09-22 15:59+0000\n"
1616
"Last-Translator:python-doc bot, 2025\n"
1717
"Language-Team:Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -2830,6 +2830,8 @@ msgid ""
28302830
"``'mbcs'``) and the ``'surrogateescape'`` error handler on all operating "
28312831
"systems."
28322832
msgstr""
2833+
"默认情况下,:mod:`tarfile` 在 Windows 上使用 ``'utf-8'`` 编码格式 (而不是 ``'mbcs'``) "
2834+
"并在所有操作系统上使用 ``'surrogateescape'`` 错误处理器。"
28332835

28342836
#:../../whatsnew/3.2.rst:2457
28352837
msgid"Documentation"
@@ -2946,6 +2948,9 @@ msgid ""
29462948
"<https://www.mercurial-scm.org/wiki/QuickStart>`_ or the `Guide to Mercurial"
29472949
" Workflows <https://www.mercurial-scm.org/guide>`_."
29482950
msgstr""
2951+
"要学习使用新的版本控制系统,请参阅 `Quick Start <https://www.mercurial-"
2952+
"scm.org/wiki/QuickStart>`_ 或 `Guide to Mercurial Workflows "
2953+
"<https://www.mercurial-scm.org/guide>`_。"
29492954

29502955
#:../../whatsnew/3.2.rst:2524
29512956
msgid"Build and C API Changes"
@@ -2960,6 +2965,8 @@ msgid ""
29602965
"The *idle*, *pydoc* and *2to3* scripts are now installed with a version-"
29612966
"specific suffix on ``make altinstall`` (:issue:`10679`)."
29622967
msgstr""
2968+
"现在 *idle*, *pydoc* 和 *2to3* 脚本的安装将在 ``make altinstall`` 中附带特定版本的后缀 "
2969+
"(:issue:`10679`)。"
29632970

29642971
#:../../whatsnew/3.2.rst:2531
29652972
msgid""
@@ -3287,6 +3294,8 @@ msgid ""
32873294
":mod:`http.client`. Such support is still present on the server side (in "
32883295
":mod:`http.server`)."
32893296
msgstr""
3297+
"对旧式 HTTP 0.9 的支持已从 :mod:`urllib.request` 和 :mod:`http.client` 中移除。 "
3298+
"此项支持仍然存在于服务器端(在 :mod:`http.server` 中)。"
32903299

32913300
#:../../whatsnew/3.2.rst:2724
32923301
msgid"(Contributed by Antoine Pitrou, :issue:`10711`.)"
@@ -3297,6 +3306,8 @@ msgid ""
32973306
"SSL sockets in timeout mode now raise :exc:`socket.timeout` when a timeout "
32983307
"occurs, rather than a generic :exc:`~ssl.SSLError`."
32993308
msgstr""
3309+
"超时模式下的 SSL 套接字现在如发生超时则会引发 :exc:`socket.timeout`,而不是一般性的 "
3310+
":exc:`~ssl.SSLError`。"
33003311

33013312
#:../../whatsnew/3.2.rst:2729
33023313
msgid"(Contributed by Antoine Pitrou, :issue:`10272`.)"

‎whatsnew/3.4.po‎

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version:Python 3.10\n"
1313
"Report-Msgid-Bugs-To:\n"
14-
"POT-Creation-Date:2025-01-03 16:02+0000\n"
14+
"POT-Creation-Date:2025-09-22 21:19+0000\n"
1515
"PO-Revision-Date:2025-09-22 15:59+0000\n"
1616
"Last-Translator:python-doc bot, 2025\n"
1717
"Language-Team:Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -3984,6 +3984,9 @@ msgid ""
39843984
"the Python 3.4 series. Code that assumes that :func:`inspect.getfullargspec`"
39853985
" will fail on non-Python callables may need to be adjusted accordingly."
39863986
msgstr""
3987+
":func:`inspect.getfullargspec` 已在 :func:`inspect.signature` "
3988+
"之上重新实现因而能够处理比之前更多种类的可调用对象。 预计在 Python 3.4 系列发布过程中将会有更多内置和扩展模块的可调用对象获得签名元数据。 "
3989+
"假定 :func:`inspect.getfullargspec` 会在非 Python 可调用对象上出错的代码可能需要做相应的调整。"
39873990

39883991
#:../../whatsnew/3.4.rst:2337
39893992
msgid""
@@ -3998,6 +4001,12 @@ msgid ""
39984001
"Cannon in :issue:`18416`). is specified on the command-line) "
39994002
"(:issue:`18416`)."
40004003
msgstr""
4004+
"对于空字符串 :class:`importlib.machinery.PathFinder` 现在会将当前工作目录传给 "
4005+
":data:`sys.path_hooks` 中的对象。 这导致 :data:`sys.path_importer_cache` 绝不会包含 "
4006+
"``''``,因此基于 :data:`sys.path` 迭代 :data:`sys.path_importer_cache` 将不无找出所有的键。 "
4007+
"当从当前工作目录导入时模块的 ``__file__`` 现在也将是一个绝对路径,包括在命令行中指定解释器使用 ``-m`` "
4008+
"的情况(但当一个脚本已经直接使用相对路径被执行时的 ``__main__.__file__`` 除外) (由 Brett Cannon 在 "
4009+
":issue:`18416` 中贡献)。 (:issue:`18416`)。"
40014010

40024011
#:../../whatsnew/3.4.rst:2348
40034012
msgid""
@@ -4007,6 +4016,10 @@ msgid ""
40074016
"keyword. If you've been paying attention to deprecation warnings your code "
40084017
"should already be specifying any additional arguments via keywords."
40094018
msgstr""
4019+
"传给 :class:`~http.client.HTTPConnection` 和 "
4020+
":class:`~http.client.HTTPSConnection` 的 *strict* "
4021+
"参数被移除会改变剩余参数的含义,如果你是以位置参数而不是关键字参数方式指定它们的话。 "
4022+
"如果你已经注意到弃用警告那么你的代码应当已经通过关键字参数方式指定所有额外参数了。"
40104023

40114024
#:../../whatsnew/3.4.rst:2354
40124025
msgid""
@@ -4016,6 +4029,9 @@ msgid ""
40164029
"compliance with the language spec; Jython and PyPy already were. "
40174030
"(:issue:`17434`)."
40184031
msgstr""
4032+
"现在 ``from __future__ import ...`` 语句之间的字符串 *总是* 会引发 :exc:`SyntaxError`。 "
4033+
"在之前版本中如果没有开头的文档字符串,则中间的字符串有时会被忽略。 这使得 CPython 与语言规范保持一致;Jython 和 PyPy "
4034+
"已经是这样了。 (:issue:`17434`)。"
40194035

40204036
#:../../whatsnew/3.4.rst:2360
40214037
msgid""
@@ -4025,6 +4041,10 @@ msgid ""
40254041
":exc:`AttributeError`. In addition, :meth:`~ssl.SSLSocket.getpeercert` will"
40264042
" raise a :exc:`ValueError` if the handshake has not yet been done."
40274043
msgstr""
4044+
"当 ``SSLSocket`` 未连接时 :meth:`ssl.SSLSocket.getpeercert` 和 "
4045+
":meth:`ssl.SSLSocket.do_handshake` 现在会引发 :exc:`OSError` 并附带 "
4046+
"``ENOTCONN``,而非如之前版本的行为那样引发 :exc:`AttributeError`。 此外,当握手尚未完成时 "
4047+
":meth:`~ssl.SSLSocket.getpeercert` 将会引发 :exc:`ValueError`。"
40284048

40294049
#:../../whatsnew/3.4.rst:2366
40304050
msgid""
@@ -4035,6 +4055,10 @@ msgid ""
40354055
":issue:`18011`.) Note: this change was also inadvertently applied in Python"
40364056
" 3.3.3."
40374057
msgstr""
4058+
"当输入字符串包含 non-b32-alphabet 字符时 :func:`base64.b32decode` 现在会引发 "
4059+
":exc:`binascii.Error`,而不是 :exc:`TypeError`。 之前在其他 :exc:`TypeError` 被转换时这个 "
4060+
":exc:`TypeError` 被忽略了。 (由 Serhiy Storchaka 在 :issue:`18011` 中贡献。) "
4061+
"注意:这项修改也被非故意地应用到了 Python 3.3.3。"
40384062

40394063
#:../../whatsnew/3.4.rst:2373
40404064
msgid""
@@ -4053,6 +4077,8 @@ msgid ""
40534077
"informative :exc:`ValueError` rather than the previous more mysterious "
40544078
":exc:`AttributeError` (:issue:`9177`)."
40554079
msgstr""
4080+
"在已关闭的 SSL 套接字上调用 ``read`` 或 ``write`` 现在会引发更具信息量的 :exc:`ValueError` "
4081+
"而非之前更令人困惑的 :exc:`AttributeError` (:issue:`9177`)。"
40564082

40574083
#:../../whatsnew/3.4.rst:2384
40584084
msgid""
@@ -4061,6 +4087,9 @@ msgid ""
40614087
":exc:`ValueError` if given a negative length; previously it returned "
40624088
"nonsense values (:issue:`14794`)."
40634089
msgstr""
4090+
"对于巨大数值 :meth:`slice.indices` 将不再产生 :exc:`OverflowError`。 作为此项修复的结果,当给予负的长度时 "
4091+
":meth:`slice.indices` 现在会引发 :exc:`ValueError`;在之前版本中它会返回无意义的值 "
4092+
"(:issue:`14794`)。"
40644093

40654094
#:../../whatsnew/3.4.rst:2389
40664095
msgid""
@@ -4069,6 +4098,8 @@ msgid ""
40694098
"special method returned one. This now raises a :exc:`TypeError`. "
40704099
"(:issue:`16290`.)"
40714100
msgstr""
4101+
"与 :mod:`cmath` 中的函数不同,当一个对象的 ``__complex__`` 特殊方法返回 :class:`float` 值时 "
4102+
":class:`complex` 构造器会不正确地接受它。 现在这会引发 :exc:`TypeError`。 (:issue:`16290`。)"
40724103

40734104
#:../../whatsnew/3.4.rst:2394
40744105
msgid""
@@ -4077,13 +4108,17 @@ msgid ""
40774108
"doing this, but if so, it will now raise a :exc:`TypeError` "
40784109
"(:issue:`16772`)."
40794110
msgstr""
4111+
"在 3.2 和 3.3 中的 :class:`int` 构造器会错误地接受 :class:`float` 值作为 *base* 形参。 "
4112+
"多数人不太可能这样做,但如果真的如此,现在它将引发 :exc:`TypeError` (:issue:`16772`)。"
40804113

40814114
#:../../whatsnew/3.4.rst:2398
40824115
msgid""
40834116
"Defaults for keyword-only arguments are now evaluated *after* defaults for "
40844117
"regular keyword arguments, instead of before. Hopefully no one wrote any "
40854118
"code that depends on the previous buggy behavior (:issue:`16967`)."
40864119
msgstr""
4120+
"现在仅限关键字参数的默认值将在常规关键字参数的默认值 *之后* 被求值,而非之前。 希望没有人写过任何依赖于之前的有缺陷行为的代码 "
4121+
"(:issue:`16967`)。"
40874122

40884123
#:../../whatsnew/3.4.rst:2402
40894124
msgid""
@@ -4092,6 +4127,8 @@ msgid ""
40924127
"perpetually alive (for example, database connections kept in thread-local "
40934128
"storage). (:issue:`17094`.)"
40944129
msgstr""
4130+
"现在陈旧的线程状态将在 :func:`~os.fork` 之后被清除。 "
4131+
"这可能导致某些之前被不正确地保持永久存活的系统资源(例如,保存在本线程存储中的数据库连接)被释放。 (:issue:`17094`。)"
40954132

40964133
#:../../whatsnew/3.4.rst:2407
40974134
msgid""
@@ -4107,6 +4144,8 @@ msgid ""
41074144
"formal public interface the naming has been made consistent "
41084145
"(:issue:`18532`)."
41094146
msgstr""
4147+
"现在 :attr:`hashlib.hash.name` 将总是返回小写形式的标识符。 "
4148+
"在之前版本中某些内置哈希具有大写的名称,但现在它已成为命名方式保持一致的正式公有接口 (:issue:`18532`)。"
41104149

41114150
#:../../whatsnew/3.4.rst:2415
41124151
msgid""
@@ -4129,6 +4168,8 @@ msgid ""
41294168
" the disallowed command forms didn't make any sense and are unlikely to be "
41304169
"in use."
41314170
msgstr""
4171+
"现在 :mod:`unittest` 会使用 :mod:`argparse` 执行命令行解析。 "
4172+
"有些过去可用的不合法命令形式将不再被允许;理论上说这不会导致向下兼容性问题因为这些不允许的命令形式没有任何意义也不大可能会被使用。"
41324173

41334174
#:../../whatsnew/3.4.rst:2430
41344175
msgid""
@@ -4139,6 +4180,10 @@ msgid ""
41394180
"the input type, so if your code was depending on the return value being, "
41404181
"say, a ``bytearray``, you will need to change your code."
41414182
msgstr""
4183+
"现在当要匹配的对象类型为 :term:`bytes-like object` 时 :func:`re.split`, "
4184+
":func:`re.findall` 和 :func:`re.sub` 等函数,以及 ``match`` 对象的 "
4185+
":meth:`~re.match.group` 和 :meth:`~re.match.groups` 方法将总是返回 *bytes* 对象。 "
4186+
"在之前版本中返回类型将与输入类型相匹配,因此如果你的代码依赖于返回值必须为 ``bytearray`` 之类的行为,你将需要修改你的代码。"
41424187

41434188
#:../../whatsnew/3.4.rst:2437
41444189
msgid""
@@ -4154,13 +4199,18 @@ msgid ""
41544199
"add this keyword, with the appropriate value, to any "
41554200
":class:`~html.parser.HTMLParser` calls in your code (:issue:`13633`)."
41564201
msgstr""
4202+
"新增的传给 :class:`~html.parser.HTMLParser` 的 *convert_charrefs* 参数目前默认为 "
4203+
"``False`` 以保持向下兼容,但最终将修改成默认为 ``True``。 建议你在你的代码中为所有 "
4204+
":class:`~html.parser.HTMLParser` 调用添加此关键字,并设置适当的值 (:issue:`13633`)。"
41574205

41584206
#:../../whatsnew/3.4.rst:2446
41594207
msgid""
41604208
"Since the *digestmod* argument to the :func:`hmac.new` function will in the "
41614209
"future have no default, all calls to :func:`hmac.new` should be changed to "
41624210
"explicitly specify a *digestmod* (:issue:`17276`)."
41634211
msgstr""
4212+
"由于传给 :func:`hmac.new` 函数的 *digestmod* 参数在未来将不设默认值,所有对 :func:`hmac.new` "
4213+
"的调用都应当修改为显式地指定 *digestmod* (:issue:`17276`)。"
41644214

41654215
#:../../whatsnew/3.4.rst:2450
41664216
msgid""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp