Skip to content

Commit d366740

Browse files
[po] auto sync
1 parent 634b469 commit d366740

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "92.43%", "updated_at": "2024-04-07T03:22:44Z"}
1+
{"translation": "92.44%", "updated_at": "2024-04-07T15:22:22Z"}

whatsnew/3.4.po

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2411,6 +2411,9 @@ msgid ""
24112411
"leaks, especially if automated via a test suite. (Contributed by Antoine "
24122412
"Pitrou in :issue:`13390`.)"
24132413
msgstr ""
2414+
"新增函数 :func:`sys.getallocatedblocks` 可返回当前由解释器所分配的内存块数量。 (在使用默认 ``--with-"
2415+
"pymalloc`` 设置的 CPython 中,这将是通过 :c:func:`PyObject_Malloc` API 执行的分配。) "
2416+
"这在追踪内存泄漏时会很有用处,特别是对于通过测试套件自动追踪的场景。 (由 Antoine Pitrou 在 :issue:`13390` 中贡献。)"
24142417

24152418
#: ../../whatsnew/3.4.rst:1558
24162419
msgid ""
@@ -3000,6 +3003,8 @@ msgid ""
30003003
"now works correctly (previously it silently returned the first python module"
30013004
" in the file). (Contributed by Václav Šmilauer in :issue:`16421`.)"
30023005
msgstr ""
3006+
"现在将能够正确地从单个 OS 模块加载多个 (``.so``, ``.dll``) python 模块(在之前版本中则会静默地返回文件中的第一个 "
3007+
"python 模块)。 (由 Václav Šmilauer 在 :issue:`16421` 中贡献。)"
30033008

30043009
#: ../../whatsnew/3.4.rst:1983
30053010
msgid ""
@@ -3008,20 +3013,27 @@ msgid ""
30083013
" uses of :ref:`__prepare__ <prepare>`. (Contributed by Benjamin Peterson in"
30093014
" :issue:`17853`.)"
30103015
msgstr ""
3016+
"增加了新的操作码 :opcode:`LOAD_CLASSDEREF`,用于修复一个在类体中加载自由变量的程序错误,它可能因 "
3017+
":ref:`__prepare__ <prepare>` 的特定用法而触发。 (由 Benjamin Peterson 在 :issue:`17853`"
3018+
" 中贡献。)"
30113019

30123020
#: ../../whatsnew/3.4.rst:1988
30133021
msgid ""
30143022
"A number of MemoryError-related crashes were identified and fixed by Victor "
30153023
"Stinner using his :pep:`445`-based ``pyfailmalloc`` tool (:issue:`18408`, "
30163024
":issue:`18520`)."
30173025
msgstr ""
3026+
"多个有关 MemoryError 的崩溃问题被 Victor Stinner 使用他基于 :pep:`445` 的 ``pyfailmalloc`` "
3027+
"工具加以确定并修复 (:issue:`18408`, :issue:`18520`)。"
30183028

30193029
#: ../../whatsnew/3.4.rst:1992
30203030
msgid ""
30213031
"The ``pyvenv`` command now accepts a ``--copies`` option to use copies "
30223032
"rather than symlinks even on systems where symlinks are the default. "
30233033
"(Contributed by Vinay Sajip in :issue:`18807`.)"
30243034
msgstr ""
3035+
"现在 ``pyvenv`` 命令接受一个 ``--copies`` 选项以使用拷贝而不是符号链接,即使在默认使用符号链接的系统上也是如此。 (由 "
3036+
"Vinay Sajip 在 :issue:`18807` 中贡献。)"
30253037

30263038
#: ../../whatsnew/3.4.rst:1996
30273039
msgid ""

0 commit comments

Comments
 (0)