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

Skip to content

Commit 96ebead

Browse files
[po] auto sync
1 parent 41ed953 commit 96ebead

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": "83.27%", "updated_at": "2025-05-04T14:17:49Z"}
1+
{"translation": "83.28%", "updated_at": "2025-05-05T00:40:31Z"}

whatsnew/3.3.po

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

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

11891189
#: ../../whatsnew/3.3.rst:819
11901190
msgid "(Contributed by Benjamin Peterson.)"
11911191
msgstr "(由 Benjamin Peterson 贡献。)"
11921192

11931193
#: ../../whatsnew/3.3.rst:823
11941194
msgid "A Finer-Grained Import Lock"
1195-
msgstr ""
1195+
msgstr "更细粒度的导入锁"
11961196

11971197
#: ../../whatsnew/3.3.rst:825
11981198
msgid ""
@@ -1202,6 +1202,8 @@ msgid ""
12021202
" workarounds were sometimes employed, such as the "
12031203
":c:func:`PyImport_ImportModuleNoBlock` C API function."
12041204
msgstr ""
1205+
"之前版本的 CPython 是始终依赖于全局导入锁的。 这会导致预料之外的麻烦,比如当导入一个模块会触发代码在其他线程中执行作为附带影响导致的死锁。 "
1206+
"有时需要应用一些笨拙的绕过方式,比如 :c:func:`PyImport_ImportModuleNoBlock` C API 函数。"
12051207

12061208
#: ../../whatsnew/3.3.rst:831
12071209
msgid ""
@@ -1210,6 +1212,8 @@ msgid ""
12101212
"the exposure of incompletely initialized modules), while eliminating the "
12111213
"aforementioned annoyances."
12121214
msgstr ""
1215+
"在 Python 3.3 中,导入一个模块会使用单独的模块级锁。 "
1216+
"这能正确地从多个线程序列化给定模块的导入操作(防止出现被不完整初始化的模块),同时消除之前提到的困扰。"
12131217

12141218
#: ../../whatsnew/3.3.rst:836
12151219
msgid "(Contributed by Antoine Pitrou in :issue:`9260`.)"

0 commit comments

Comments
 (0)