@@ -17,7 +17,7 @@ msgid ""
1717msgstr ""
1818"Project-Id-Version : Python 3.12\n "
1919"Report-Msgid-Bugs-To : \n "
20- "POT-Creation-Date : 2024-03-15 14:13 +0000\n "
20+ "POT-Creation-Date : 2024-03-22 14:14 +0000\n "
2121"PO-Revision-Date : 2021-06-29 13:04+0000\n "
2222"
Last-Translator :
Freesand Leo <[email protected] >, 2024\n "
2323"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -649,6 +649,8 @@ msgid ""
649649"``__main__.__file__`` when a script has been executed directly using a "
650650"relative path. (Contributed by Brett Cannon in :issue:`18416`.)"
651651msgstr ""
652+ "模块的 ``__file__`` 属性(以及相关的值)现在应当总是默认包含绝对路径,唯一的例外是当使用相对路径直接执行一个脚本时的 "
653+ "``__main__.__file__``。 (由 Brett Cannon 在 :issue:`18416` 中贡献。)"
652654
653655#: ../../whatsnew/3.4.rst:419
654656msgid ""
@@ -659,6 +661,10 @@ msgid ""
659661"characters). (Contributed by Victor Stinner, Kang-Hao (Kenny) Lu and Serhiy "
660662"Storchaka in :issue:`12892`.)"
661663msgstr ""
664+ "现在所有 UTF-\\ * 编解码器(UTF-7 除外)在编码和解码期间都将拒绝替代符除非使用 ``surrogatepass`` "
665+ "错误处理句柄,例外情况有 UTF-16 解码器(接受有效的替代符对)和 UTF-16 编码器(在编码非 BMP 字符时会产生替代符)。 (由 "
666+ "Victor Stinner, Kang-Hao (Kenny) Lu 和 Serhiy Storchaka 在 :issue:`12892` "
667+ "中贡献。)"
662668
663669#: ../../whatsnew/3.4.rst:426
664670msgid ""
@@ -746,10 +752,12 @@ msgid ""
746752"support in the standard library, and making it easier for other event loop "
747753"implementations to interoperate with the standard library and each other."
748754msgstr ""
755+ "新增的 :mod:`asyncio` 模块(在 :pep:`3156` 中定义)为 Python "
756+ "提供了一个标准的可插入事件循环模型,在标准库中提供了坚实的异步 IO 支持,并使得其他事件循环的实现与标准库和其他库的相互操作更为容易。"
749757
750758#: ../../whatsnew/3.4.rst:471 ../../whatsnew/3.4.rst:534
751759msgid "For Python 3.4, this module is considered a :term:`provisional API`."
752- msgstr ""
760+ msgstr "对于 Python 3.4,此模块被视为属于 :term:`provisional API`。 "
753761
754762#: ../../whatsnew/3.4.rst:475
755763msgid ":pep:`3156` -- Asynchronous IO Support Rebooted: the \" asyncio\" Module"
@@ -771,6 +779,8 @@ msgid ""
771779"bootstrap ``pip`` if the automated bootstrapping into an installation or "
772780"virtual environment was declined."
773781msgstr ""
782+ "新增的 :mod:`ensurepip` 模块是用于 :pep:`453` 实现的主要基础设施。 "
783+ "在正常情况下最终用户不需要与此模块进行交互,但如果对安装版或虚拟环境的自动初始设置遭到拒绝则可使用它来手动初始设置 ``pip``。"
774784
775785#: ../../whatsnew/3.4.rst:490
776786msgid ""
@@ -1163,13 +1173,17 @@ msgid ""
11631173"(Contributed by Nick Coghlan, Ryan Kelly and Thomas Kluyver in "
11641174":issue:`11816` and Claudiu Popa in :issue:`17916`.)"
11651175msgstr ""
1176+ "(由 Nick Coghlan, Ryan Kelly 和 Thomas Kluyver 在 :issue:`11816` 并由 Claudiu "
1177+ "Popa 在 :issue:`17916` 中贡献。)"
11661178
11671179#: ../../whatsnew/3.4.rst:770
11681180msgid ""
11691181"New function :func:`~dis.stack_effect` computes the effect on the Python "
11701182"stack of a given opcode and argument, information that is not otherwise "
11711183"available. (Contributed by Larry Hastings in :issue:`19722`.)"
11721184msgstr ""
1185+ "新增的函数 :func:`~dis.stack_effect` 可在给定操作码和参数的 Python 栈上计算其效果,相关信息是无法以其他方式获得的。 "
1186+ "(由 Larry Hastings 在 :issue:`19722` 中贡献。)"
11731187
11741188#: ../../whatsnew/3.4.rst:776
11751189msgid "doctest"
@@ -1310,6 +1324,8 @@ msgid ""
13101324":data:`NotImplemented` from the underlying comparison function. "
13111325"(Contributed by Katie Miller in :issue:`10042`.)"
13121326msgstr ""
1327+ "现在 :func:`~functools.total_ordering` 支持从下层的比较函数返回 :data:`NotImplemented` "
1328+ "作为返回值。 (由 Katie Miller 在 :issue:`10042` 中贡献。)"
13131329
13141330#: ../../whatsnew/3.4.rst:878
13151331msgid ""
0 commit comments