44# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55#
66# Translators:
7- # python-doc bot, 2025
87# Rafael Fontenelle <rffontenelle@gmail.com>, 2025
8+ # python-doc bot, 2025
99#
1010#, fuzzy
1111msgid ""
@@ -14,7 +14,7 @@ msgstr ""
1414"Report-Msgid-Bugs-To :\n "
1515"POT-Creation-Date :2025-09-22 21:19+0000\n "
1616"PO-Revision-Date :2025-09-22 15:59+0000\n "
17- "Last-Translator :Rafael Fontenelle <rffontenelle@gmail.com> , 2025\n "
17+ "Last-Translator :python-doc bot , 2025\n "
1818"Language-Team :Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
1919"MIME-Version :1.0\n "
2020"Content-Type :text/plain; charset=UTF-8\n "
@@ -1059,13 +1059,17 @@ msgid ""
10591059"existence of the attribute. Until such time, though, import is setting the "
10601060"module post-load."
10611061msgstr ""
1062+ "另一个变化是所有模块都具有 ``__loader__`` 属性,它储存被用于创建该模块的加载器。 :pep:`302` "
1063+ "已被更新以强制要求加载器实现该属性,因此未来的第 3 方加载器一旦被更新人们将能确定该属性的存在。 但在此之前,import 都需要在加载之后设置模块。"
10621064
10631065#: ../../whatsnew/3.3.rst:759
10641066msgid ""
10651067"Loaders are also now expected to set the ``__package__`` attribute from "
10661068":pep:`366`. Once again, import itself is already setting this on all loaders"
10671069" from :mod:`importlib` and import itself is setting the attribute post-load."
10681070msgstr ""
1071+ "加载器现在还需要根据 :pep:`366` 设置 ``__package__`` 属性。 同样地,import 本身已经在所有来自 "
1072+ ":mod:`importlib` 的加载器上设置了该属性并且 import 是在加载之后自行设置该属性。"
10691073
10701074#: ../../whatsnew/3.3.rst:763
10711075msgid ""
@@ -1081,6 +1085,8 @@ msgid ""
10811085"consideration when updating code for Python 3.3, and thus should be read "
10821086"about in the `Porting Python code`_ section of this document."
10831087msgstr ""
1088+ "有关语法变化的所有其他修改在为 Python 3.3 更新代码时都应当被纳入考虑,因此应当仔细阅读本文档的 `Porting Python code`_"
1089+ " 章节。"
10841090
10851091#: ../../whatsnew/3.3.rst:772
10861092msgid "(Implementation by Brett Cannon)"
@@ -1115,13 +1121,16 @@ msgid ""
11151121" the equality of the underlying sequences generated by those range objects. "
11161122"(:issue:`13201`)"
11171123msgstr ""
1124+ "现在 :func:`range` 对象的相等性比较将返回反映下层的由这些 range 对象生成的序列的相等性的结果。 (:issue:`13201`)"
11181125
11191126#: ../../whatsnew/3.3.rst:792
11201127msgid ""
11211128"The ``count()``, ``find()``, ``rfind()``, ``index()`` and ``rindex()`` "
11221129"methods of :class:`bytes` and :class:`bytearray` objects now accept an "
11231130"integer between 0 and 255 as their first argument."
11241131msgstr ""
1132+ "现在 :class:`bytes` 和 :class:`bytearray` 对象的 ``count()``, ``find()``, "
1133+ "``rfind()``, ``index()`` 和 ``rindex()`` 方法将接受一个 0 到 255 范围内的整数作为其第一个参数。"
11251134
11261135#: ../../whatsnew/3.3.rst:796
11271136msgid "(Contributed by Petri Lehtinen in :issue:`12170`.)"
@@ -1133,6 +1142,9 @@ msgid ""
11331142" :class:`bytearray` now accept a :class:`bytearray` for the ``fill`` "
11341143"argument. (Contributed by Petri Lehtinen in :issue:`12380`.)"
11351144msgstr ""
1145+ "现在 :class:`bytes` 和 :class:`bytearray` 的 ``rjust()``, ``ljust()`` 和 "
1146+ "``center()`` 方法将接受一个 :class:`bytearray` 作为 ``fill`` 参数。 (由 Petri Lehtinen 在 "
1147+ ":issue:`12380` 中贡献。)"
11361148
11371149#: ../../whatsnew/3.3.rst:802
11381150msgid ""
@@ -1144,7 +1156,7 @@ msgstr ""
11441156
11451157#: ../../whatsnew/3.3.rst:807
11461158msgid "Raw bytes literals can now be written ``rb\" ...\" `` as well as ``br\" ...\" ``."
1147- msgstr ""
1159+ msgstr "原始字节串字面值现在可以写成 ``rb \" ... \" `` 也可以写成 ``br \" ... \" ``。 "
11481160
11491161#: ../../whatsnew/3.3.rst:809
11501162msgid "(Contributed by Antoine Pitrou in :issue:`13748`.)"
@@ -1154,7 +1166,7 @@ msgstr "(由 Antoine Pitrou 在 :issue:`13748` 中贡献。)"
11541166msgid ""
11551167":meth:`dict.setdefault` now does only one lookup for the given key, making "
11561168"it atomic when used with built-in types."
1157- msgstr ""
1169+ msgstr "现在 :meth:`dict.setdefault` 对给定的键将只执行一次查找,这使其在配合内置类型使用时是原子化的。 "
11581170
11591171#: ../../whatsnew/3.3.rst:814
11601172msgid "(Contributed by Filip Gruszczyński in :issue:`13521`.)"
@@ -1164,15 +1176,15 @@ msgstr "(由 Filip Gruszczyński 在 :issue:`13521` 中贡献。)"
11641176msgid ""
11651177"The error messages produced when a function call does not match the function"
11661178" signature have been significantly improved."
1167- msgstr ""
1179+ msgstr "当函数调用与函数签名不匹配时产生的错误消息已获得大幅改进。 "
11681180
11691181#: ../../whatsnew/3.3.rst:819
11701182msgid "(Contributed by Benjamin Peterson.)"
11711183msgstr "(由 Benjamin Peterson 贡献。)"
11721184
11731185#: ../../whatsnew/3.3.rst:823
11741186msgid "A Finer-Grained Import Lock"
1175- msgstr ""
1187+ msgstr "更细粒度的导入锁 "
11761188
11771189#: ../../whatsnew/3.3.rst:825
11781190msgid ""
@@ -1182,6 +1194,8 @@ msgid ""
11821194" workarounds were sometimes employed, such as the "
11831195":c:func:`PyImport_ImportModuleNoBlock` C API function."
11841196msgstr ""
1197+ "之前版本的 CPython 是始终依赖于全局导入锁的。 这会导致预料之外的困扰,比如当导入一个模块会触发代码在其他线程中执行作为附带影响导致的死锁。 "
1198+ "有时需要应用一些笨拙的绕过方式,比如 :c:func:`PyImport_ImportModuleNoBlock` C API 函数。"
11851199
11861200#: ../../whatsnew/3.3.rst:831
11871201msgid ""
@@ -1190,6 +1204,8 @@ msgid ""
11901204"the exposure of incompletely initialized modules), while eliminating the "
11911205"aforementioned annoyances."
11921206msgstr ""
1207+ "在 Python 3.3 中,导入一个模块会使用单独的模块级锁。 "
1208+ "这能正确地从多个线程序列化给定模块的导入操作(防止出现被不完整初始化的模块),同时消除之前提到的困扰。"
11931209
11941210#: ../../whatsnew/3.3.rst:836
11951211msgid "(Contributed by Antoine Pitrou in :issue:`9260`.)"