@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.10\n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2024-05-11 20:02 +0000\n "
14+ "POT-Creation-Date : 2024-07-12 15:50 +0000\n "
1515"PO-Revision-Date : 2022-11-05 17:23+0000\n "
1616"
Last-Translator :
Rafael Fontenelle <[email protected] >, 2024\n "
1717"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -910,7 +910,7 @@ msgstr ""
910910
911911#: ../../whatsnew/3.3.rst:706
912912msgid "New APIs"
913- msgstr ""
913+ msgstr "新的API "
914914
915915#: ../../whatsnew/3.3.rst:707
916916msgid ""
@@ -3205,7 +3205,7 @@ msgstr "已增加的主要性能改善:"
32053205msgid ""
32063206"Thanks to :pep:`393`, some operations on Unicode strings have been "
32073207"optimized:"
3208- msgstr ""
3208+ msgstr "得益于:pep:`393` ,Unicode 字符串的某些操作已得到优化: "
32093209
32103210#: ../../whatsnew/3.3.rst:2155
32113211msgid "the memory footprint is divided by 2 to 4 depending on the text"
@@ -3215,7 +3215,7 @@ msgstr ""
32153215msgid ""
32163216"encode an ASCII string to UTF-8 doesn't need to encode characters anymore, "
32173217"the UTF-8 representation is shared with the ASCII representation"
3218- msgstr ""
3218+ msgstr "将 ASCII 字符串编码为 UTF-8 不再需要对字符进行编码,UTF-8 的表示法与 ASCII 的表示法是共享的 "
32193219
32203220#: ../../whatsnew/3.3.rst:2158
32213221msgid "the UTF-8 encoder has been optimized"
@@ -3230,13 +3230,14 @@ msgstr ""
32303230#: ../../whatsnew/3.3.rst:2162
32313231msgid ""
32323232"UTF-8 is now 2x to 4x faster. UTF-16 encoding is now up to 10x faster."
3233- msgstr ""
3233+ msgstr "UTF-8 编码现在快 2 到 4 倍。 UTF-16 编码的速度现在提高了 10 倍。 "
32343234
32353235#: ../../whatsnew/3.3.rst:2164
32363236msgid ""
32373237"(Contributed by Serhiy Storchaka, :issue:`14624`, :issue:`14738` and "
32383238":issue:`15026`.)"
32393239msgstr ""
3240+ "(由 Serhiy Storchaka 在 :issue:`14624`, :issue:`14738` 和 :issue:`15026` 中贡献)。"
32403241
32413242#: ../../whatsnew/3.3.rst:2169
32423243msgid "Build and C API Changes"
@@ -3381,13 +3382,17 @@ msgid ""
33813382"Passing a non-empty string to ``object.__format__()`` is deprecated, and "
33823383"will produce a :exc:`TypeError` in Python 3.4 (:issue:`9856`)."
33833384msgstr ""
3385+ "向 ``object.__format__()`` 传递非空字符串的做法已被弃用,在 Python 3.4 中会产生一个 "
3386+ ":exc:`TypeError` (:issue:`9856`)。"
33843387
33853388#: ../../whatsnew/3.3.rst:2227
33863389msgid ""
33873390"The ``unicode_internal`` codec has been deprecated because of the "
33883391":pep:`393`, use UTF-8, UTF-16 (``utf-16-le`` or ``utf-16-be``), or UTF-32 "
33893392"(``utf-32-le`` or ``utf-32-be``)"
33903393msgstr ""
3394+ "由于:pep:`393`,``unicode_internal`` 编解码器已被弃用 。请使用 UTF-8、UTF-16 (``utf-16-le`` "
3395+ "或``utf-16-be``) 或 UTF-32 (``utf-32-le`` 或``utf-32-be``)"
33913396
33923397#: ../../whatsnew/3.3.rst:2230
33933398msgid ""
@@ -3650,6 +3655,8 @@ msgid ""
36503655"removed in Python 4 together with the rest of the (:c:type:`Py_UNICODE`) "
36513656"API."
36523657msgstr ""
3658+ ":mod:`array` 模块的``'u'`` 格式代码现已弃用,将在 Python 4 中与 (:c:type:`Py_UNICODE`) API "
3659+ "的其他部分一起删除。"
36533660
36543661#: ../../whatsnew/3.3.rst:2334
36553662msgid "Porting to Python 3.3"
@@ -3663,14 +3670,16 @@ msgstr "本节列出了先前描述的更改以及可能需要更改代码的其
36633670
36643671#: ../../whatsnew/3.3.rst:2342
36653672msgid "Porting Python code"
3666- msgstr ""
3673+ msgstr "移植 Python 代码 "
36673674
36683675#: ../../whatsnew/3.3.rst:2344
36693676msgid ""
36703677"Hash randomization is enabled by default. Set the :envvar:`PYTHONHASHSEED` "
36713678"environment variable to ``0`` to disable hash randomization. See also the "
36723679":meth:`object.__hash__` method."
36733680msgstr ""
3681+ "默认启用哈希随机化。 将 :envvar:`PYTHONHASHSEED` 环境变量设为 ``0`` 可禁用哈希随机化。 另请参阅 "
3682+ ":meth:`object.__hash__` 方法。"
36743683
36753684#: ../../whatsnew/3.3.rst:2348
36763685msgid ""
@@ -3680,6 +3689,10 @@ msgid ""
36803689" with sys.platform.startswith('linux'), or directly sys.platform == 'linux' "
36813690"if you don't need to support older Python versions."
36823691msgstr ""
3692+ ":issue:`12326`: 在 Linux 上,sys.platform 不再包含主要版本。现在它始终是 \" linux\" ,而不是 "
3693+ "\" linux2\" 或 \" linux3\" ,这取决于用于构建 Python 的 Linux 版本。请用 "
3694+ "sys.platform.startswith('linux') 替换 sys.platform == 'linux2',如果不需要支持较旧的 "
3695+ "Python 版本,则可直接替换成 sys.platform == 'linux'。"
36833696
36843697#: ../../whatsnew/3.3.rst:2354
36853698msgid ""
@@ -3688,6 +3701,9 @@ msgid ""
36883701"timestamp is out of range. :exc:`OSError` is now raised if C functions "
36893702":c:func:`gmtime` or :c:func:`localtime` failed."
36903703msgstr ""
3704+ ":issue:`13847`, :issue:`14180`: :mod:`time` 和 :mod:`datetime`: "
3705+ "现在如果时间戳超出范围将会引发 :exc:`OverflowError` 而不是 :exc:`ValueError`。 现在如果 C 函数 "
3706+ ":c:func:`gmtime` 或 :c:func:`localtime` 失败 将会引发 :exc:`OSError`。"
36913707
36923708#: ../../whatsnew/3.3.rst:2359
36933709msgid ""
@@ -3854,7 +3870,7 @@ msgstr ""
38543870
38553871#: ../../whatsnew/3.3.rst:2461
38563872msgid "Porting C code"
3857- msgstr ""
3873+ msgstr "移植 C 代码 "
38583874
38593875#: ../../whatsnew/3.3.rst:2463
38603876msgid ""
0 commit comments