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

Commit3653378

Browse files
[po] auto sync
1 parent5f0d5db commit3653378

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

‎.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation":"81.38%","updated_at":"2025-04-19T16:55:46Z"}
1+
{"translation":"81.39%","updated_at":"2025-04-22T02:23:24Z"}

‎whatsnew/3.4.po

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4258,6 +4258,12 @@ msgid ""
42584258
"Cannon in :issue:`18416`). is specified on the command-line) "
42594259
"(:issue:`18416`)."
42604260
msgstr""
4261+
"对于空字符串 :class:`importlib.machinery.PathFinder` 现在会将当前工作目录传给 "
4262+
":data:`sys.path_hooks` 中的对象。 这导致 :data:`sys.path_importer_cache` 绝不会包含 "
4263+
"``''``,因此基于 :data:`sys.path` 迭代 :data:`sys.path_importer_cache` 将不无找出所有的键。 "
4264+
"当从当前工作目录导入时模块的 ``__file__`` 现在也将是一个绝对路径,包括在命令行中指定解释器使用 ``-m`` "
4265+
"的情况(但当一个脚本已经直接使用相对路径被执行时的 ``__main__.__file__`` 除外) (由 Brett Cannon 在 "
4266+
":issue:`18416` 中贡献)。 (:issue:`18416`)。"
42614267

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

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

42804293
#:../../whatsnew/3.4.rst:2360
42814294
msgid""
@@ -4285,6 +4298,10 @@ msgid ""
42854298
":exc:`AttributeError`. In addition, :meth:`~ssl.SSLSocket.getpeercert` will"
42864299
" raise a :exc:`ValueError` if the handshake has not yet been done."
42874300
msgstr""
4301+
"当 ``SSLSocket`` 未连接时 :meth:`ssl.SSLSocket.getpeercert` 和 "
4302+
":meth:`ssl.SSLSocket.do_handshake` 现在会引发 :exc:`OSError` 并附带 "
4303+
"``ENOTCONN``,而非如之前版本的行为那样引发 :exc:`AttributeError`。 此外,当握手尚未完成时 "
4304+
":meth:`~ssl.SSLSocket.getpeercert` 将会引发 :exc:`ValueError`。"
42884305

42894306
#:../../whatsnew/3.4.rst:2366
42904307
msgid""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp