11# SOME DESCRIPTIVE TITLE.
2- # Copyright (C) 2001-2021 , Python Software Foundation
2+ # Copyright (C) 2001-2024 , Python Software Foundation
33# This file is distributed under the same license as the Python package.
44# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55#
66# Translators:
77# ww song <[email protected] >, 202088# ppcfish <[email protected] >, 20209- # Freesand Leo <[email protected] >, 20229+ # Bryan不可思议, 2023
10+ # Freesand Leo <[email protected] >, 20241011#
1112#, fuzzy
1213msgid ""
1314msgstr ""
1415"Project-Id-Version : Python 3.8\n "
1516"Report-Msgid-Bugs-To : \n "
16- "POT-Creation-Date : 2021 -01-01 16:06 +0000\n "
17+ "POT-Creation-Date : 2024 -01-06 00:05 +0000\n "
1718"PO-Revision-Date : 2020-05-30 12:17+0000\n "
18- "
Last-Translator :
Freesand Leo <[email protected] >, 2022 \n "
19- "Language-Team : Chinese (China) (https://www .transifex.com/python-doc/teams/5390/zh_CN/)\n "
19+ "
Last-Translator :
Freesand Leo <[email protected] >, 2024 \n "
20+ "Language-Team : Chinese (China) (https://app .transifex.com/python-doc/teams/5390/zh_CN/)\n "
2021"MIME-Version : 1.0\n "
2122"Content-Type : text/plain; charset=UTF-8\n "
2223"Content-Transfer-Encoding : 8bit\n "
@@ -49,13 +50,16 @@ msgid ""
4950"function decorators and generator expressions; most other changes are to the"
5051" standard library."
5152msgstr ""
53+ "Python 2.4 是一个中等规模的发布版。 它引入的变化没有激进的 Python 2.2 那么多,但比保守的 2.3 发布版引入了更多的特性。 "
54+ "最主要的新语言特性是函数装饰器和生成器表达式;其他大部分改动都是针对标准库。"
5255
5356#: ../../whatsnew/2.4.rst:22
5457msgid ""
5558"According to the CVS change logs, there were 481 patches applied and 502 "
5659"bugs fixed between Python 2.3 and 2.4. Both figures are likely to be "
5760"underestimates."
5861msgstr ""
62+ "根据 CVS 变更日志,Python 2.3 和 2.4 之间共应用了 481 个补丁并修复了 502 个错误。 这两个数字可能都被低估了。"
5963
6064#: ../../whatsnew/2.4.rst:25
6165msgid ""
@@ -66,6 +70,8 @@ msgid ""
6670" Often you will be referred to the PEP for a particular new feature for "
6771"explanations of the implementation and design rationale."
6872msgstr ""
73+ "本文并不试图提供每一个新特性的完整规范说明,而是对每个特性进行简要的介绍。 要了解完整细节,你应该参考 Python 2.4 的文档,如 Python "
74+ "库参考和 Python 参考手册等。 通常你需要参阅特定新特性的 PEP 以了解有关具体实现和设计原理的说明。"
6975
7076#: ../../whatsnew/2.4.rst:36
7177msgid "PEP 218: Built-In Set Objects"
@@ -80,6 +86,9 @@ msgid ""
8086"sequences, and for mathematical operations like unions, intersections, "
8187"differences, and symmetric differences. ::"
8288msgstr ""
89+ "Python 2.3 引入了 :mod:`sets` 模块。 现在集合数据类型的 C 语言实现作为两个新的内置类型 ``set(iterable)`` "
90+ "和 ``frozenset(iterable)`` 被添加到 Python 内核中。 "
91+ "它们为成员测试、消除序列中的重复数据以及并集、交集、差集和对称差集等数学运算提供了高速操作。 ::"
8392
8493#: ../../whatsnew/2.4.rst:71
8594msgid ""
@@ -233,14 +242,16 @@ msgstr ""
233242msgid ""
234243"PEP 292 adds a :class:`Template` class to the :mod:`string` module that uses"
235244" ``$`` to indicate a substitution::"
236- msgstr ""
245+ msgstr "PEP 292 给 :mod:`string` 模块增加了一个 :class:`Template`,它使用 ``$`` 来表示替换:: "
237246
238247#: ../../whatsnew/2.4.rst:200
239248msgid ""
240249"If a key is missing from the dictionary, the :meth:`substitute` method will "
241250"raise a :exc:`KeyError`. There's also a :meth:`safe_substitute` method that"
242251" ignores missing keys::"
243252msgstr ""
253+ "如果某个键在字典中找不到,:meth:`substitute` 方法将引发 :exc:`KeyError`。 还有一个 "
254+ ":meth:`safe_substitute` 方法则会忽略找不到的键::"
244255
245256#: ../../whatsnew/2.4.rst:211
246257msgid ":pep:`292` - Simpler String Substitutions"
@@ -456,22 +467,22 @@ msgstr "此构造器有几个方便的选项:"
456467msgid ""
457468"*close_fds* requests that all file descriptors be closed before running the "
458469"subprocess."
459- msgstr ""
470+ msgstr "*close_fds* 将在运行子进程之前请求关闭所有文件描述符。 "
460471
461472#: ../../whatsnew/2.4.rst:422
462473msgid ""
463474"*cwd* specifies the working directory in which the subprocess will be "
464475"executed (defaulting to whatever the parent's working directory is)."
465- msgstr ""
476+ msgstr "*cwd* 指定执行子进程将使用的工作目录(默认为父进程的工作目录)。 "
466477
467478#: ../../whatsnew/2.4.rst:425
468479msgid "*env* is a dictionary specifying environment variables."
469- msgstr ""
480+ msgstr "*env* 是一个指定环境变量的字典。 "
470481
471482#: ../../whatsnew/2.4.rst:427
472483msgid ""
473484"*preexec_fn* is a function that gets called before the child is started."
474- msgstr ""
485+ msgstr "*preexec_fn* 是将在子进程启动之前被调用的函数。 "
475486
476487#: ../../whatsnew/2.4.rst:429
477488msgid ""
@@ -1428,18 +1439,19 @@ msgid ""
14281439"A new :func:`getsid` function was added to the :mod:`posix` module that "
14291440"underlies the :mod:`os` module. (Contributed by J. Raynor.)"
14301441msgstr ""
1442+ "在 :mod:`os` 之下 :mod:`posix` 模块中新增了一个 :func:`getsid` 函数。 (由 J. Raynor 贡献。)"
14311443
14321444#: ../../whatsnew/2.4.rst:1240
14331445msgid ""
14341446"The :mod:`poplib` module now supports POP over SSL. (Contributed by Hector "
14351447"Urtubia.)"
1436- msgstr ""
1448+ msgstr ":mod:`poplib` 模块现在已支持 SSL 上的 POP。 (由 Hector Urtubia 贡献。) "
14371449
14381450#: ../../whatsnew/2.4.rst:1243
14391451msgid ""
14401452"The :mod:`profile` module can now profile C extension functions. "
14411453"(Contributed by Nick Bastin.)"
1442- msgstr ""
1454+ msgstr "现在 :mod:`profile` 模块将可对 C 扩展函数执行性能分析。 (由 Nick Bastin 贡献。) "
14431455
14441456#: ../../whatsnew/2.4.rst:1246
14451457msgid ""
@@ -1504,7 +1516,7 @@ msgstr ""
15041516msgid ""
15051517"The :mod:`tarfile` module now generates GNU-format tar files by default. "
15061518"(Contributed by Lars Gustäbel.)"
1507- msgstr ""
1519+ msgstr "现在 :mod:`tarfile` 模块默认将生成 GNU 格式的 tar 文件。 (由 Lars Gustäbel 贡献。) "
15081520
15091521#: ../../whatsnew/2.4.rst:1287
15101522msgid ""
@@ -1728,7 +1740,7 @@ msgstr ""
17281740
17291741#: ../../whatsnew/2.4.rst:1501
17301742msgid "Port-Specific Changes"
1731- msgstr ""
1743+ msgstr "移植专属的改变 "
17321744
17331745#: ../../whatsnew/2.4.rst:1503
17341746msgid ""
0 commit comments