@@ -11,7 +11,7 @@ msgid ""
11
11
msgstr ""
12
12
"Project-Id-Version : Python 3.10\n "
13
13
"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 "
15
15
"PO-Revision-Date : 2022-11-05 17:23+0000\n "
16
16
"
Last-Translator :
Rafael Fontenelle <[email protected] >, 2024\n "
17
17
"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -910,7 +910,7 @@ msgstr ""
910
910
911
911
#: ../../whatsnew/3.3.rst:706
912
912
msgid "New APIs"
913
- msgstr ""
913
+ msgstr "新的API "
914
914
915
915
#: ../../whatsnew/3.3.rst:707
916
916
msgid ""
@@ -3205,7 +3205,7 @@ msgstr "已增加的主要性能改善:"
3205
3205
msgid ""
3206
3206
"Thanks to :pep:`393`, some operations on Unicode strings have been "
3207
3207
"optimized:"
3208
- msgstr ""
3208
+ msgstr "得益于:pep:`393` ,Unicode 字符串的某些操作已得到优化: "
3209
3209
3210
3210
#: ../../whatsnew/3.3.rst:2155
3211
3211
msgid "the memory footprint is divided by 2 to 4 depending on the text"
@@ -3215,7 +3215,7 @@ msgstr ""
3215
3215
msgid ""
3216
3216
"encode an ASCII string to UTF-8 doesn't need to encode characters anymore, "
3217
3217
"the UTF-8 representation is shared with the ASCII representation"
3218
- msgstr ""
3218
+ msgstr "将 ASCII 字符串编码为 UTF-8 不再需要对字符进行编码,UTF-8 的表示法与 ASCII 的表示法是共享的 "
3219
3219
3220
3220
#: ../../whatsnew/3.3.rst:2158
3221
3221
msgid "the UTF-8 encoder has been optimized"
@@ -3230,13 +3230,14 @@ msgstr ""
3230
3230
#: ../../whatsnew/3.3.rst:2162
3231
3231
msgid ""
3232
3232
"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 倍。 "
3234
3234
3235
3235
#: ../../whatsnew/3.3.rst:2164
3236
3236
msgid ""
3237
3237
"(Contributed by Serhiy Storchaka, :issue:`14624`, :issue:`14738` and "
3238
3238
":issue:`15026`.)"
3239
3239
msgstr ""
3240
+ "(由 Serhiy Storchaka 在 :issue:`14624`, :issue:`14738` 和 :issue:`15026` 中贡献)。"
3240
3241
3241
3242
#: ../../whatsnew/3.3.rst:2169
3242
3243
msgid "Build and C API Changes"
@@ -3381,13 +3382,17 @@ msgid ""
3381
3382
"Passing a non-empty string to ``object.__format__()`` is deprecated, and "
3382
3383
"will produce a :exc:`TypeError` in Python 3.4 (:issue:`9856`)."
3383
3384
msgstr ""
3385
+ "向 ``object.__format__()`` 传递非空字符串的做法已被弃用,在 Python 3.4 中会产生一个 "
3386
+ ":exc:`TypeError` (:issue:`9856`)。"
3384
3387
3385
3388
#: ../../whatsnew/3.3.rst:2227
3386
3389
msgid ""
3387
3390
"The ``unicode_internal`` codec has been deprecated because of the "
3388
3391
":pep:`393`, use UTF-8, UTF-16 (``utf-16-le`` or ``utf-16-be``), or UTF-32 "
3389
3392
"(``utf-32-le`` or ``utf-32-be``)"
3390
3393
msgstr ""
3394
+ "由于:pep:`393`,``unicode_internal`` 编解码器已被弃用 。请使用 UTF-8、UTF-16 (``utf-16-le`` "
3395
+ "或``utf-16-be``) 或 UTF-32 (``utf-32-le`` 或``utf-32-be``)"
3391
3396
3392
3397
#: ../../whatsnew/3.3.rst:2230
3393
3398
msgid ""
@@ -3650,6 +3655,8 @@ msgid ""
3650
3655
"removed in Python 4 together with the rest of the (:c:type:`Py_UNICODE`) "
3651
3656
"API."
3652
3657
msgstr ""
3658
+ ":mod:`array` 模块的``'u'`` 格式代码现已弃用,将在 Python 4 中与 (:c:type:`Py_UNICODE`) API "
3659
+ "的其他部分一起删除。"
3653
3660
3654
3661
#: ../../whatsnew/3.3.rst:2334
3655
3662
msgid "Porting to Python 3.3"
@@ -3663,14 +3670,16 @@ msgstr "本节列出了先前描述的更改以及可能需要更改代码的其
3663
3670
3664
3671
#: ../../whatsnew/3.3.rst:2342
3665
3672
msgid "Porting Python code"
3666
- msgstr ""
3673
+ msgstr "移植 Python 代码 "
3667
3674
3668
3675
#: ../../whatsnew/3.3.rst:2344
3669
3676
msgid ""
3670
3677
"Hash randomization is enabled by default. Set the :envvar:`PYTHONHASHSEED` "
3671
3678
"environment variable to ``0`` to disable hash randomization. See also the "
3672
3679
":meth:`object.__hash__` method."
3673
3680
msgstr ""
3681
+ "默认启用哈希随机化。 将 :envvar:`PYTHONHASHSEED` 环境变量设为 ``0`` 可禁用哈希随机化。 另请参阅 "
3682
+ ":meth:`object.__hash__` 方法。"
3674
3683
3675
3684
#: ../../whatsnew/3.3.rst:2348
3676
3685
msgid ""
@@ -3680,6 +3689,10 @@ msgid ""
3680
3689
" with sys.platform.startswith('linux'), or directly sys.platform == 'linux' "
3681
3690
"if you don't need to support older Python versions."
3682
3691
msgstr ""
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'。"
3683
3696
3684
3697
#: ../../whatsnew/3.3.rst:2354
3685
3698
msgid ""
@@ -3688,6 +3701,9 @@ msgid ""
3688
3701
"timestamp is out of range. :exc:`OSError` is now raised if C functions "
3689
3702
":c:func:`gmtime` or :c:func:`localtime` failed."
3690
3703
msgstr ""
3704
+ ":issue:`13847`, :issue:`14180`: :mod:`time` 和 :mod:`datetime`: "
3705
+ "现在如果时间戳超出范围将会引发 :exc:`OverflowError` 而不是 :exc:`ValueError`。 现在如果 C 函数 "
3706
+ ":c:func:`gmtime` 或 :c:func:`localtime` 失败 将会引发 :exc:`OSError`。"
3691
3707
3692
3708
#: ../../whatsnew/3.3.rst:2359
3693
3709
msgid ""
@@ -3854,7 +3870,7 @@ msgstr ""
3854
3870
3855
3871
#: ../../whatsnew/3.3.rst:2461
3856
3872
msgid "Porting C code"
3857
- msgstr ""
3873
+ msgstr "移植 C 代码 "
3858
3874
3859
3875
#: ../../whatsnew/3.3.rst:2463
3860
3876
msgid ""
0 commit comments