Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5930c12

Browse files
[po] auto sync
1 parent 03ee257 commit 5930c12

2 files changed

Lines changed: 25 additions & 2 deletions

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "95.06%", "updated_at": "2024-04-21T07:56:10Z"}
1+
{"translation": "95.22%", "updated_at": "2024-04-24T01:19:20Z"}

whatsnew/3.4.po

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ msgid ""
1717
msgstr ""
1818
"Project-Id-Version: Python 3.12\n"
1919
"Report-Msgid-Bugs-To: \n"
20-
"POT-Creation-Date: 2024-04-14 22:56+0000\n"
20+
"POT-Creation-Date: 2024-04-19 14:13+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"
@@ -1811,6 +1811,10 @@ msgid ""
18111811
":func:`~logging.config.fileConfig`. (Contributed by Vinay Sajip in "
18121812
":issue:`16110`.)"
18131813
msgstr ""
1814+
"现在 :func:`~logging.config.fileConfig` 接受一个 "
1815+
":class:`configparser.RawConfigParser` 子类实例作为 *fname* 形参。 "
1816+
"这有助于在日志配置只是整体应用程序配置的一部分,或者在将配置传递给 :func:`~logging.config.fileConfig` "
1817+
"之前对其进行了修改时使用配置文件。 (由 Vinay Sajip 在 :issue:`16110` 中贡献。)"
18141818

18151819
#: ../../whatsnew/3.4.rst:1092
18161820
msgid ""
@@ -1819,6 +1823,8 @@ msgid ""
18191823
"processed by supplying a verification function as the argument to the new "
18201824
"*verify* keyword argument. (Contributed by Vinay Sajip in :issue:`15452`.)"
18211825
msgstr ""
1826+
"现在通过 :func:`logging.config.listen` 函数从套接字接收的日志配置数据可以在处理前以将验证函数作为参数提供给新的 "
1827+
"*verify* 关键字参数 的方式执行验证。 (由 Vinay Sajip 在 :issue:`15452` 中贡献。)"
18221828

18231829
#: ../../whatsnew/3.4.rst:1101
18241830
msgid "marshal"
@@ -1836,6 +1842,10 @@ msgid ""
18361842
"Valur Jónsson in :issue:`16475`, with additional speedups by Antoine Pitrou "
18371843
"in :issue:`19219`.)"
18381844
msgstr ""
1845+
"默认的 :mod:`marshal` 版本已被提升至 3。 新版本的代码实现恢复了 Python2 "
1846+
"行为即只记录内联字符串的一份副本并在反序列化时保留内联状态,并将此“一份副本”功能扩展到任何对象类型(包括处理递归引用)。 这既减少了 ``.pyc``"
1847+
" 文件的大小也减少了模块从 ``.pyc`` (或``.pyo``) 文件加载时占用的内存量。 (由 Kristján Valur Jónsson 在 "
1848+
":issue:`16475` 中贡献,并由 Antoine Pitrou 在 :issue:`19219` 中提供进一步的加速。)"
18391849

18401850
#: ../../whatsnew/3.4.rst:1114
18411851
msgid "mmap"
@@ -1865,6 +1875,13 @@ msgid ""
18651875
" the current start method, and :func:`~multiprocessing.set_start_method` "
18661876
"sets the start method. (Contributed by Richard Oudkerk in :issue:`8713`.)"
18671877
msgstr ""
1878+
"在 Unix 上新增了两个 :ref:`启动方法 <multiprocessing-start-methods>` ``spawn`` 和 "
1879+
"``forkserver`` 可使用 :mod:`multiprocessing` 来启动进程。 这两个方法使得进程和线程的混合更为健壮,并且 "
1880+
"``spawn`` 方法可以匹配 multiprocessing 在 Windows 上一直使用的语法。 新增的函数 "
1881+
":func:`~multiprocessing.get_all_start_methods` "
1882+
"可报告平台上可用的所有启动方法,:func:`~multiprocessing.get_start_method` 可报告当前的启动方法,而 "
1883+
":func:`~multiprocessing.set_start_method` 可设置启动方法。 (由 Richard Oudkerk 在 "
1884+
":issue:`8713` 中贡献。)"
18681885

18691886
#: ../../whatsnew/3.4.rst:1135
18701887
msgid ""
@@ -1878,6 +1895,12 @@ msgid ""
18781895
"use multiprocessing without interfering with each other. (Contributed by "
18791896
"Richard Oudkerk in :issue:`18999`.)"
18801897
msgstr ""
1898+
"现在 :mod:`multiprocessing` 还具有 ``上下文`` 的概念,它决定了子进程的创建方式。 新增的函数 "
1899+
":func:`~multiprocessing.get_context` 可返回一个使用指定启动方法的上下文。 它具有与 "
1900+
":mod:`multiprocessing` 模块本身一致的 API,因此你可以使用它来创建 "
1901+
":class:`~multiprocessing.pool.Pool` 和其他在上下文中执行操作的对象。 "
1902+
"这允许一个框架和某个应用程序或相同应用程序的不同部分使用多进程而不会彼此干扰。 (由 Richard Oudkerk 在 :issue:`18999` "
1903+
"中贡献。)"
18811904

18821905
#: ../../whatsnew/3.4.rst:1145
18831906
msgid ""

0 commit comments

Comments
 (0)