1717# Nyuan Zhang, 2023
1818# Dai Xu <[email protected] >, 2023191920- # Freesand Leo <[email protected] >, 20232120# Alpha Du <[email protected] >, 202321+ # Freesand Leo <[email protected] >, 20232222#
2323#, fuzzy
2424msgid ""
@@ -27,7 +27,7 @@ msgstr ""
2727"Report-Msgid-Bugs-To : \n "
2828"POT-Creation-Date : 2023-07-29 02:08+0000\n "
2929"PO-Revision-Date : 2023-05-24 13:08+0000\n "
30- "Last-Translator : Alpha Du <alphanow@gmail .com>, 2023\n "
30+ "Last-Translator : Freesand Leo <yuqinju@163 .com>, 2023\n "
3131"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
3232"MIME-Version : 1.0\n "
3333"Content-Type : text/plain; charset=UTF-8\n "
@@ -2760,6 +2760,9 @@ msgid ""
27602760"strings can now only contain ASCII letters and digits and underscore. "
27612761"(Contributed by Serhiy Storchaka in :gh:`91760`.)"
27622762msgstr ""
2763+ "现在对于正则表达式中的数字分组引用和分组名称将应用更严格的规则。 现在只接受 ASCII 数字序列作为数字引用。 "
2764+ "字节串模式和替换字符串中的分组名称现在只能包含 ASCII 字母、数字和下划线。 (由 Serhiy Storchaka 在 :gh:`91760` "
2765+ "中贡献。)"
27632766
27642767#: ../../whatsnew/3.12.rst:1458
27652768msgid ""
@@ -2772,6 +2775,11 @@ msgid ""
27722775"``randrange(10**25)``. (Originally suggested by Serhiy Storchaka "
27732776":gh:`86388`.)"
27742777msgstr ""
2778+ "移除了自 Python 3.10 起已被弃用的 ``randrange()`` 功能。 以前,``randrange(10.0)`` 会无损地转换为 "
2779+ "``randrange(10)``。 现在,它将引发 :exc:`TypeError`。 此外,对于非整数值如 ``randrange(10.5)`` "
2780+ "或 ``randrange('10')`` 所引发的异常已从 :exc:`ValueError` 改为 :exc:`TypeError`。 这也防止了 "
2781+ "``randrange(1e25)`` 会从比 ``randrange(10**25)`` 更大的范围中静默选择的问题。 (最初由 Serhiy "
2782+ "Storchaka 在 :gh:`86388` 中提议。)"
27752783
27762784#: ../../whatsnew/3.12.rst:1466
27772785msgid ""
@@ -2782,20 +2790,28 @@ msgid ""
27822790"handler`. Argument files should be encoded in UTF-8 instead of ANSI Codepage"
27832791" on Windows."
27842792msgstr ""
2793+ ":class:`argparse.ArgumentParser` 将从文件(例如 ``fromfile_prefix_chars`` "
2794+ "选项)读取参数的编码格式和错误处理句柄从默认的文本编码格式(例如 :func:`locale.getpreferredencoding(False) "
2795+ "<locale.getpreferredencoding>` 调用)改为 :term:`filesystem encoding and error "
2796+ "handler`。 在 Windows 系统中参数文件应使用 UTF-8 而不是 ANSI 代码页来编码。"
27852797
27862798#: ../../whatsnew/3.12.rst:1472
27872799msgid ""
27882800"Removed the ``asyncore``-based ``smtpd`` module deprecated in Python 3.4.7 "
27892801"and 3.5.4. A recommended replacement is the :mod:`asyncio`-based aiosmtpd_ "
27902802"PyPI module."
27912803msgstr ""
2804+ "删除了在 Python 3.4.7 和 3.5.4 中已被弃用的 ``asyncore``-based ``smtpd`` 模块。 推荐使用基于 "
2805+ ":mod:`asyncio` 的 aiosmtpd_ PyPI 模块来替代。"
27922806
27932807#: ../../whatsnew/3.12.rst:1476
27942808msgid ""
27952809":func:`shlex.split`: Passing ``None`` for *s* argument now raises an "
27962810"exception, rather than reading :data:`sys.stdin`. The feature was deprecated"
27972811" in Python 3.9. (Contributed by Victor Stinner in :gh:`94352`.)"
27982812msgstr ""
2813+ ":func:`shlex.split`: 传入 ``None`` 作为 *s* 参数现在将引发异常,而不是读取 :data:`sys.stdin`。 "
2814+ "该特性在 Python 3.9 中已被弃用。 (由 Victor Stinner 在 :gh:`94352` 中贡献。)"
27992815
28002816#: ../../whatsnew/3.12.rst:1481
28012817msgid ""
@@ -2932,19 +2948,19 @@ msgstr ""
29322948
29332949#: ../../whatsnew/3.12.rst:1578
29342950msgid "loongarch64-linux-gnuf32"
2935- msgstr ""
2951+ msgstr "loongarch64-linux-gnuf32 "
29362952
29372953#: ../../whatsnew/3.12.rst:1579
29382954msgid "loongarch64-linux-gnu"
2939- msgstr ""
2955+ msgstr "loongarch64-linux-gnu "
29402956
29412957#: ../../whatsnew/3.12.rst:1581
29422958msgid "(Contributed by Zhang Na in :gh:`90656`.)"
2943- msgstr ""
2959+ msgstr "(由 Zhang Na 在 :gh:`90656` 中贡献。).) "
29442960
29452961#: ../../whatsnew/3.12.rst:1583
29462962msgid "``PYTHON_FOR_REGEN`` now require Python 3.10 or newer."
2947- msgstr ""
2963+ msgstr "``PYTHON_FOR_REGEN`` 现在需要 Python 3.10 或更新版本。 "
29482964
29492965#: ../../whatsnew/3.12.rst:1585
29502966msgid ""
0 commit comments