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

Commit9828914

Browse files
[po] auto sync
1 parenta5c8f52 commit9828914

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-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-22T07:55:54Z"}
1+
{"translation":"81.40%","updated_at":"2025-04-22T14:55:33Z"}

‎whatsnew/3.4.po

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4377,6 +4377,8 @@ msgid ""
43774377
"regular keyword arguments, instead of before. Hopefully no one wrote any "
43784378
"code that depends on the previous buggy behavior (:issue:`16967`)."
43794379
msgstr""
4380+
"现在仅限关键字参数的默认值将在常规关键字参数的默认值 *之后* 被求值,而非之前。 希望没有人写过任何依赖于之前的有缺陷行为的代码 "
4381+
"(:issue:`16967`)。"
43804382

43814383
#:../../whatsnew/3.4.rst:2402
43824384
msgid""
@@ -4385,13 +4387,18 @@ msgid ""
43854387
"perpetually alive (for example, database connections kept in thread-local "
43864388
"storage). (:issue:`17094`.)"
43874389
msgstr""
4390+
"现在陈旧的线程状态将在 :func:`~os.fork` 之后被清除。 "
4391+
"这可能导致某些之前被不正确地保持永久存活的系统资源(例如,保存在本线程存储中的数据库连接)被释放。 (:issue:`17094`。)"
43884392

43894393
#:../../whatsnew/3.4.rst:2407
43904394
msgid""
43914395
"Parameter names in ``__annotations__`` dicts are now mangled properly, "
43924396
"similarly to :attr:`~function.__kwdefaults__`. (Contributed by Yury "
43934397
"Selivanov in :issue:`20625`.)"
43944398
msgstr""
4399+
"现在 ``__annotations__`` 字典中的形参名称将被正确地处理,具体方式与 "
4400+
":attr:`~function.__kwdefaults__` 类似。 (由 Yury Selivanov 在 :issue:`20625` "
4401+
"中贡献。)"
43954402

43964403
#:../../whatsnew/3.4.rst:2411
43974404
msgid""
@@ -4400,6 +4407,8 @@ msgid ""
44004407
"formal public interface the naming has been made consistent "
44014408
"(:issue:`18532`)."
44024409
msgstr""
4410+
"现在 :attr:`hashlib.hash.name` 将总是返回小写形式的标识符。 "
4411+
"在之前版本中某些内置哈希具有大写的名称,但现在它已成为命名方式保持一致的正式公有接口 (:issue:`18532`)。"
44034412

44044413
#:../../whatsnew/3.4.rst:2415
44054414
msgid""
@@ -4413,6 +4422,12 @@ msgid ""
44134422
"``_removeTestAtIndex`` method that does nothing (see "
44144423
":meth:`.TestSuite.__iter__`) (:issue:`11798`)."
44154424
msgstr""
4425+
"因为现在 :mod:`unittest.TestSuite` 会在测试被运行后丢弃对它们的引用,所以那些重用 "
4426+
":class:`~unittest.TestSuite` 来重新运行测试集的测试套件可能会失败。 "
4427+
"测试套件不应以这样的方式被重用,因为这意味着状态会在多次测试运行之间保持不变,破坏 :mod:`unittest` 设计时要提供的测试状态隔离。 "
4428+
"不过,如果缺乏隔离被视为是可接受的,则可通过创建定义了不执行任何操作的 ``_removeTestAtIndex`` 方法的 "
4429+
":mod:`~unittest.TestSuite` 子类来恢复旧版行为 (参见 :meth:`.TestSuite.__iter__`) "
4430+
"(:issue:`11798`)。"
44164431

44174432
#:../../whatsnew/3.4.rst:2425
44184433
msgid""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp