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

Skip to content

Commit be2905b

Browse files
[po] auto sync
1 parent 0149c6f commit be2905b

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "81.77%", "updated_at": "2025-05-04T13:55:52Z"}
1+
{"translation": "81.77%", "updated_at": "2025-05-04T23:55:38Z"}

whatsnew/3.3.po

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1496,7 +1496,7 @@ msgstr "(由 Antoine Pitrou 在 :issue:`13748` 中贡献。)"
14961496
msgid ""
14971497
":meth:`dict.setdefault` now does only one lookup for the given key, making "
14981498
"it atomic when used with built-in types."
1499-
msgstr ""
1499+
msgstr "现在 :meth:`dict.setdefault` 对给定的键将只执行一次查找,这使其在配合内置类型使用时是原子化的。"
15001500

15011501
#: ../../whatsnew/3.3.rst:817
15021502
msgid "(Contributed by Filip Gruszczyński in :issue:`13521`.)"
@@ -1506,15 +1506,15 @@ msgstr "(由 Filip Gruszczyński 在 :issue:`13521` 中贡献。)"
15061506
msgid ""
15071507
"The error messages produced when a function call does not match the function"
15081508
" signature have been significantly improved."
1509-
msgstr ""
1509+
msgstr "当函数调用与函数签名不匹配时产生的错误消息已获得大幅改进。"
15101510

15111511
#: ../../whatsnew/3.3.rst:822
15121512
msgid "(Contributed by Benjamin Peterson.)"
15131513
msgstr "(由 Benjamin Peterson 贡献。)"
15141514

15151515
#: ../../whatsnew/3.3.rst:826
15161516
msgid "A Finer-Grained Import Lock"
1517-
msgstr ""
1517+
msgstr "更细粒度的导入锁"
15181518

15191519
#: ../../whatsnew/3.3.rst:828
15201520
msgid ""
@@ -1524,6 +1524,8 @@ msgid ""
15241524
" workarounds were sometimes employed, such as the "
15251525
":c:func:`PyImport_ImportModuleNoBlock` C API function."
15261526
msgstr ""
1527+
"之前版本的 CPython 是始终依赖于全局导入锁的。 这会导致预料之外的困扰,比如当导入一个模块会触发代码在其他线程中执行作为附带影响导致的死锁。 "
1528+
"有时需要应用一些笨拙的绕过方式,比如 :c:func:`PyImport_ImportModuleNoBlock` C API 函数。"
15271529

15281530
#: ../../whatsnew/3.3.rst:834
15291531
msgid ""
@@ -1532,6 +1534,8 @@ msgid ""
15321534
"the exposure of incompletely initialized modules), while eliminating the "
15331535
"aforementioned annoyances."
15341536
msgstr ""
1537+
"在 Python 3.3 中,导入一个模块会使用单独的模块级锁。 "
1538+
"这能正确地从多个线程序列化给定模块的导入操作(防止出现被不完整初始化的模块),同时消除之前提到的困扰。"
15351539

15361540
#: ../../whatsnew/3.3.rst:839
15371541
msgid "(Contributed by Antoine Pitrou in :issue:`9260`.)"

0 commit comments

Comments
 (0)