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

Skip to content

Commit 8dc96ab

Browse files
[po] auto sync
1 parent 23fdfad commit 8dc96ab

3 files changed

Lines changed: 52 additions & 16 deletions

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "94.95%", "updated_at": "2024-03-20T05:56:26Z"}
1+
{"translation": "95.00%", "updated_at": "2024-03-20T06:56:20Z"}

whatsnew/2.7.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3344,7 +3344,7 @@ msgstr ""
33443344
msgid ""
33453345
"PEP 476: Enabling certificate verification by default for stdlib http "
33463346
"clients"
3347-
msgstr ""
3347+
msgstr "PEP 476: 默认为 stdlib http 客户端启用证书验证"
33483348

33493349
#: ../../whatsnew/2.7.rst:2717
33503350
msgid ""
@@ -3360,7 +3360,7 @@ msgstr ""
33603360
msgid ""
33613361
"For applications which require the old previous behavior, they can pass an "
33623362
"alternate context::"
3363-
msgstr ""
3363+
msgstr "对于需要之前版本的旧有行为的应用程序,可以传入一个替代的上下文::"
33643364

33653365
#: ../../whatsnew/2.7.rst:2742
33663366
msgid "PEP 493: HTTPS verification migration tools for Python 2.7"

whatsnew/3.4.po

Lines changed: 49 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1484,6 +1484,8 @@ msgid ""
14841484
":mod:`importlib` as part of the :mod:`!imp` module deprecation. "
14851485
"(Contributed by Berker Peksag in :issue:`18193`.)"
14861486
msgstr ""
1487+
"由于 :mod:`!imp` 模块被弃用 :func:`~importlib.reload` 函数已从 :mod:`!imp` 移至 "
1488+
":mod:`importlib`。 (由 Berker Peksag 在 :issue:`18193` 中贡献。)"
14871489

14881490
#: ../../whatsnew/3.4.rst:998
14891491
msgid ""
@@ -1492,6 +1494,9 @@ msgid ""
14921494
"the :func:`!get_magic` function in the deprecated :mod:`!imp` module. "
14931495
"(Contributed by Brett Cannon in :issue:`18192`.)"
14941496
msgstr ""
1497+
"现在 :mod:`importlib.util` 具有一个 :data:`~importlib.util.MAGIC_NUMBER` "
1498+
"属性用来提供字节码版本号信息。 它替换了已弃用的 :mod:`!imp` 模块中的 :func:`!get_magic` 函数。 (由 Brett "
1499+
"Cannon 在 :issue:`18192` 中贡献。)"
14951500

14961501
#: ../../whatsnew/3.4.rst:1003
14971502
msgid ""
@@ -1875,6 +1880,8 @@ msgid ""
18751880
":func:`pty.spawn` now returns the status value from :func:`os.waitpid` on "
18761881
"the child process, instead of ``None``. (Contributed by Gregory P. Smith.)"
18771882
msgstr ""
1883+
"现在 :func:`pty.spawn` 将返回来自子进程上 :func:`os.waitpid` 的状态值,而不是 ``None``。 (由 "
1884+
"Gregory P. Smith 贡献。)"
18781885

18791886
#: ../../whatsnew/3.4.rst:1278
18801887
msgid "pydoc"
@@ -1889,6 +1896,9 @@ msgid ""
18891896
"displaying help information. (Contributed by Larry Hastings in "
18901897
":issue:`19674`.)"
18911898
msgstr ""
1899+
"现在 :mod:`pydoc` 模块是直接基于 :func:`inspect.signature` 内省 API,这允许它提供更多可调用对象的签名信息。"
1900+
" 这一改变也意味着现在当显示帮助信息时 ``__wrapped__`` 属性也会被纳入考虑。 (由 Larry Hastings 在 "
1901+
":issue:`19674` 中贡献。)"
18921902

18931903
#: ../../whatsnew/3.4.rst:1286
18941904
msgid ""
@@ -1897,6 +1907,8 @@ msgid ""
18971907
"signature of the supplied callable. (Contributed by Larry Hastings in "
18981908
":issue:`20710`.)"
18991909
msgstr ""
1910+
":mod:`pydoc` 模块将不再显示已绑定方法的 ``self`` 形参。 现在,它总是会显示所提供可调用对象实际的当前签名。 (由 Larry "
1911+
"Hastings 在 :issue:`20710` 中贡献。)"
19001912

19011913
#: ../../whatsnew/3.4.rst:1291
19021914
msgid ""
@@ -1905,12 +1917,14 @@ msgid ""
19051917
"has also been improved substantially by the underlying changes in the "
19061918
":mod:`inspect` module."
19071919
msgstr ""
1920+
"除了 :mod:`pydoc` 已有的直接修改,它对自定义 ``__dir__`` 方法和各种描述器行为的处理也通过对下层 :mod:`inspect`"
1921+
" 模块的修改获得了显著的改进。"
19081922

19091923
#: ../../whatsnew/3.4.rst:1296
19101924
msgid ""
19111925
"As the :func:`help` builtin is based on :mod:`pydoc`, the above changes also"
19121926
" affect the behaviour of :func:`help`."
1913-
msgstr ""
1927+
msgstr "由于 :func:`help` 内置函数是基于 :mod:`pydoc` 的,上述的变化也会影响 :func:`help` 的行为。"
19141928

19151929
#: ../../whatsnew/3.4.rst:1301
19161930
msgid "re"
@@ -2619,25 +2633,25 @@ msgstr ""
26192633

26202634
#: ../../whatsnew/3.4.rst:1798
26212635
msgid "CPython Implementation Changes"
2622-
msgstr ""
2636+
msgstr "CPython 实现的变化"
26232637

26242638
#: ../../whatsnew/3.4.rst:1804
26252639
msgid "PEP 445: Customization of CPython Memory Allocators"
2626-
msgstr ""
2640+
msgstr "PEP 445: 自定义 CPython 内存分配器"
26272641

26282642
#: ../../whatsnew/3.4.rst:1806
26292643
msgid ""
26302644
":pep:`445` adds new C level interfaces to customize memory allocation in the"
26312645
" CPython interpreter."
2632-
msgstr ""
2646+
msgstr ":pep:`445` 添加了新的 C 层级接口用来在 CPython 解释器中对内存分配进行自定义。"
26332647

26342648
#: ../../whatsnew/3.4.rst:1811
26352649
msgid ":pep:`445` -- Add new APIs to customize Python memory allocators"
2636-
msgstr ""
2650+
msgstr ":pep:`445` -- 新增用于自定义 Python 内存分配器的 API"
26372651

26382652
#: ../../whatsnew/3.4.rst:1818
26392653
msgid "PEP 442: Safe Object Finalization"
2640-
msgstr ""
2654+
msgstr "PEP 442: 安全的对象最终化"
26412655

26422656
#: ../../whatsnew/3.4.rst:1820
26432657
msgid ""
@@ -2901,6 +2915,8 @@ msgid ""
29012915
"(Contributed by Nick Coghlan in :issue:`19552` as part of the :pep:`453` "
29022916
"implementation.)"
29032917
msgstr ""
2918+
"``pyvenv`` 命令也接受一个 ``--without-pip`` 选项用来抑制在其他情况下将自动将 pip 初始设置到虚拟环境中。 (作为 "
2919+
":pep:`453` 实现的一部分由 Nick Coghlan 在 :issue:`19552` 中贡献。)"
29042920

29052921
#: ../../whatsnew/3.4.rst:2001
29062922
msgid ""
@@ -2909,23 +2925,29 @@ msgid ""
29092925
"set just the error handler, without changing the default encoding. "
29102926
"(Contributed by Serhiy Storchaka in :issue:`18818`.)"
29112927
msgstr ""
2928+
"现在编码格式名称在 :envvar:`PYTHONIOENCODING` 环境变量的设置值中将为可选项。 "
2929+
"这使得只设置错误处理句柄而不改变默认编码格式成为可能。 (由 Serhiy Storchaka 在 :issue:`18818` 中贡献。)"
29122930

29132931
#: ../../whatsnew/3.4.rst:2006
29142932
msgid ""
29152933
"The :mod:`bz2`, :mod:`lzma`, and :mod:`gzip` module ``open`` functions now "
29162934
"support ``x`` (exclusive creation) mode. (Contributed by Tim Heaney and "
29172935
"Vajrasky Kok in :issue:`19201`, :issue:`19222`, and :issue:`19223`.)"
29182936
msgstr ""
2937+
"现在 :mod:`bz2`, :mod:`lzma`, and :mod:`gzip` 模块的 ``open`` 函数已支持 ``x`` (独占式创建)"
2938+
" 模式。 (由 Tim Heaney 和 Vajrasky Kok 在 :issue:`19201`, :issue:`19222` 和 "
2939+
":issue:`19223` 中贡献。)"
29192940

29202941
#: ../../whatsnew/3.4.rst:2012
29212942
msgid "Significant Optimizations"
2922-
msgstr ""
2943+
msgstr "显著的优化"
29232944

29242945
#: ../../whatsnew/3.4.rst:2014
29252946
msgid ""
29262947
"The UTF-32 decoder is now 3x to 4x faster. (Contributed by Serhiy Storchaka"
29272948
" in :issue:`14625`.)"
29282949
msgstr ""
2950+
"现在 UTF-32 解码器获得了 3x 至 4x 的提速。 (由 Serhiy Storchaka 在 :issue:`14625` 中贡献。)"
29292951

29302952
#: ../../whatsnew/3.4.rst:2017
29312953
msgid ""
@@ -3047,7 +3069,7 @@ msgstr ""
30473069
msgid ""
30483070
"The :mod:`!imp` module is pending deprecation. To keep compatibility with "
30493071
"Python 2/3 code bases, the module's removal is currently not scheduled."
3050-
msgstr ""
3072+
msgstr ":mod:`!imp` 模块即将弃用。 为保持与 Python 2/3 基础代码的兼容性,目前还没有移除该模块的计划。"
30513073

30523074
#: ../../whatsnew/3.4.rst:2107
30533075
msgid ""
@@ -3244,16 +3266,20 @@ msgid ""
32443266
"now been removed: use ``x in sm.bjunk`` and ``x in sm.bpopular``, where *sm*"
32453267
" is a :class:`~difflib.SequenceMatcher` object (:issue:`13248`)."
32463268
msgstr ""
3269+
":meth:`difflib.SequenceMatcher.isbjunk` 和 "
3270+
":meth:`difflib.SequenceMatcher.isbpopular` 已在 3.2 中被弃用,现在已被移除:请使用 ``x in "
3271+
"sm.bjunk`` 和 ``x in sm.bpopular``,其中 *sm* 是一个 "
3272+
":class:`~difflib.SequenceMatcher` 对象 (:issue:`13248`)。"
32473273

32483274
#: ../../whatsnew/3.4.rst:2224
32493275
msgid "Code Cleanups"
3250-
msgstr ""
3276+
msgstr "代码清理"
32513277

32523278
#: ../../whatsnew/3.4.rst:2226
32533279
msgid ""
32543280
"The unused and undocumented internal ``Scanner`` class has been removed from"
32553281
" the :mod:`pydoc` module."
3256-
msgstr ""
3282+
msgstr "未被使用并且未写入文档的内部 ``Scanner`` 类已从 :mod:`pydoc` 模块中移除。"
32573283

32583284
#: ../../whatsnew/3.4.rst:2229
32593285
msgid ""
@@ -3262,12 +3288,15 @@ msgid ""
32623288
"``_mac_ver_gstalt``, and ``_bcd2str``, which would only have ever been "
32633289
"called on badly broken OSX systems (see :issue:`18393`)."
32643290
msgstr ""
3291+
"私有并且实际未使用的 ``_gestalt`` 模块已被移除,同时移除了私有的 :mod:`platform` 函数 "
3292+
"``_mac_ver_lookup``, ``_mac_ver_gstalt`` 和 ``_bcd2str``,它们仅会在严重过时的 OSX "
3293+
"系统上被调用 (参见 :issue:`18393`)。"
32653294

32663295
#: ../../whatsnew/3.4.rst:2234
32673296
msgid ""
32683297
"The hardcoded copies of certain :mod:`stat` constants that were included in "
32693298
"the :mod:`tarfile` module namespace have been removed."
3270-
msgstr ""
3299+
msgstr "曾经包括于 :mod:`tarfile` 模块命名空间的某些 :mod:`stat` 常量的硬编码副本已被移除。"
32713300

32723301
#: ../../whatsnew/3.4.rst:2240
32733302
msgid "Porting to Python 3.4"
@@ -3678,13 +3707,17 @@ msgid ""
36783707
"the function did nothing if the key already exists (if the current value is "
36793708
"a non-``NULL`` pointer)."
36803709
msgstr ""
3710+
"现在 :c:func:`PyThread_set_key_value` 总是会设置值。 在 Python 3.3 中,如果键已存在(如果当前值为非 "
3711+
"``NULL`` 指针)该函数将不执行任何操作。"
36813712

36823713
#: ../../whatsnew/3.4.rst:2514
36833714
msgid ""
36843715
"The ``f_tstate`` (thread state) field of the :c:type:`PyFrameObject` "
36853716
"structure has been removed to fix a bug: see :issue:`14432` for the "
36863717
"rationale."
36873718
msgstr ""
3719+
":c:type:`PyFrameObject` 结构体的 ``f_tstate`` (线程状态) 字段已被移除以修复一个程序错误;相关理由参见 "
3720+
":issue:`14432`。"
36883721

36893722
#: ../../whatsnew/3.4.rst:2519
36903723
msgid "Changed in 3.4.3"
@@ -3694,7 +3727,7 @@ msgstr "3.4.3 的变化"
36943727
msgid ""
36953728
"PEP 476: Enabling certificate verification by default for stdlib http "
36963729
"clients"
3697-
msgstr ""
3730+
msgstr "PEP 476: 默认为 stdlib http 客户端启用证书验证"
36983731

36993732
#: ../../whatsnew/3.4.rst:2526
37003733
msgid ""
@@ -3704,9 +3737,12 @@ msgid ""
37043737
"hostname matches the hostname being requested by default, significantly "
37053738
"improving security for many applications."
37063739
msgstr ""
3740+
":mod:`http.client` 及其他依赖它的模块,比如 :mod:`urllib.request` 和 "
3741+
":mod:`xmlrpc.client`,现在将验证服务器是否提供了由平台信任的仓库中的 CA "
3742+
"签名的证书并且其主机名与默认被请求的主机名相匹配,这将显著提升许多应用程序的安全性。"
37073743

37083744
#: ../../whatsnew/3.4.rst:2532
37093745
msgid ""
37103746
"For applications which require the old previous behavior, they can pass an "
37113747
"alternate context::"
3712-
msgstr ""
3748+
msgstr "对于需要之前版本的旧有行为的应用程序,可以传入一个替代的上下文::"

0 commit comments

Comments
 (0)