Skip to content

Commit f048f40

Browse files
[po] auto sync
1 parent df714c9 commit f048f40

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.stat.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "92.94%", "updated_at": "2024-05-08T08:23:52Z"}
1+
{"translation": "92.95%", "updated_at": "2024-05-08T09:23:34Z"}

whatsnew/3.4.po

+10-1
Original file line numberDiff line numberDiff line change
@@ -3024,13 +3024,18 @@ msgid ""
30243024
"example, this could be used to exclude test files from the archive. "
30253025
"(Contributed by Christian Tismer in :issue:`19274`.)"
30263026
msgstr ""
3027+
":class:`~zipfile.PyZipFile` 类的 :meth:`~zipfile.PyZipFile.writepy` 方法新增的 "
3028+
"*filterfunc* 选项可用来控制要将哪些目录添加到归档中。 例如,可以用它将测试文件排除在归档之外。 (由 Christian Tismer 在"
3029+
" :issue:`19274` 中贡献。)"
30273030

30283031
#: ../../whatsnew/3.4.rst:1791
30293032
msgid ""
30303033
"The *allowZip64* parameter to :class:`~zipfile.ZipFile` and "
30313034
":class:`~zipfile.PyZipfile` is now ``True`` by default. (Contributed by "
30323035
"William Mallard in :issue:`17201`.)"
30333036
msgstr ""
3037+
"现在 :class:`~zipfile.ZipFile` 和 :class:`~zipfile.PyZipfile` 的 *allowZip64* "
3038+
"形参默认值为 ``True``。 (由 William Mallard 在 :issue:`17201` 中贡献。)"
30343039

30353040
#: ../../whatsnew/3.4.rst:1798
30363041
msgid "CPython Implementation Changes"
@@ -3061,6 +3066,8 @@ msgid ""
30613066
"generators with :keyword:`finally` clauses, can be finalized when they are "
30623067
"part of a reference cycle."
30633068
msgstr ""
3069+
":pep:`442` 移除了 CPython 中有关对象最终化的限制和特殊处理。 有了它,具有 :meth:`__del__` 方法的对象,以及具有 "
3070+
":keyword:`finally` 子句的生成器在有循环引用的情况下也可以被最终化。"
30643071

30653072
#: ../../whatsnew/3.4.rst:1825
30663073
msgid ""
@@ -3070,10 +3077,12 @@ msgid ""
30703077
"class of interpreter-shutdown-time errors, usually involving ``__del__`` "
30713078
"methods, that have plagued Python since the cyclic GC was first introduced."
30723079
msgstr ""
3080+
"作为此项改变的一部分,大多数情况下在解释器关闭期间模块的全局变量不会被强制设为 :const:`None`,而是取决于循环垃圾回收器的正常操作。 "
3081+
"这避免了大量的解释器关闭时错误,这类错误通常都涉及 ``__del__`` 方法,它们自循环 GC 首次被引入起就一直困扰着 Python。"
30733082

30743083
#: ../../whatsnew/3.4.rst:1834
30753084
msgid ":pep:`442` -- Safe object finalization"
3076-
msgstr ""
3085+
msgstr ":pep:`442` -- 安全的对象最终化"
30773086

30783087
#: ../../whatsnew/3.4.rst:1841
30793088
msgid "PEP 456: Secure and Interchangeable Hash Algorithm"

0 commit comments

Comments
 (0)