@@ -14,7 +14,7 @@ msgid ""
1414msgstr ""
1515"Project-Id-Version :Python 3.12\n "
1616"Report-Msgid-Bugs-To :\n "
17- "POT-Creation-Date :2025-04-04 14:56 +0000\n "
17+ "POT-Creation-Date :2025-06-06 15:34 +0000\n "
1818"PO-Revision-Date :2024-05-11 00:34+0000\n "
1919"Last-Translator :Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n "
2020"Language-Team :Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -1373,7 +1373,7 @@ msgid ""
13731373"ignored. (Contributed by Steve Dower in :gh:`118486`.)"
13741374msgstr ""
13751375
1376- #: ../../whatsnew/3.12.rst:789
1376+ #: ../../whatsnew/3.12.rst:789 ../../whatsnew/3.12.rst:2329
13771377msgid "os.path"
13781378msgstr "os.path"
13791379
@@ -5955,3 +5955,52 @@ msgid ""
59555955msgstr ""
59565956"之前未写入文档的特殊函数 :func:`sys.getobjects`,它仅存在于某些专用的 Python "
59575957"构建版,现在可以从其他解释器而非调用它的解释器返回对象。"
5958+
5959+ #: ../../whatsnew/3.12.rst:2326
5960+ msgid "Notable changes in 3.12.10"
5961+ msgstr ""
5962+
5963+ #: ../../whatsnew/3.12.rst:2331
5964+ msgid ""
5965+ "The *strict* parameter to :func:`os.path.realpath` accepts a new value, "
5966+ ":data:`os.path.ALLOW_MISSING`. If used, errors other than "
5967+ ":exc:`FileNotFoundError` will be re-raised; the resulting path can be "
5968+ "missing but it will be free of symlinks. (Contributed by Petr Viktorin for "
5969+ ":cve:`2025-4517`.)"
5970+ msgstr ""
5971+
5972+ #: ../../whatsnew/3.12.rst:2338
5973+ msgid "tarfile"
5974+ msgstr "tarfile"
5975+
5976+ #: ../../whatsnew/3.12.rst:2340
5977+ msgid ""
5978+ ":func:`~tarfile.data_filter` now normalizes symbolic link targets in order "
5979+ "to avoid path traversal attacks. (Contributed by Petr Viktorin in "
5980+ ":gh:`127987` and :cve:`2025-4138`.)"
5981+ msgstr ""
5982+
5983+ #: ../../whatsnew/3.12.rst:2343
5984+ msgid ""
5985+ ":func:`~tarfile.TarFile.extractall` now skips fixing up directory attributes"
5986+ " when a directory was removed or replaced by another kind of file. "
5987+ "(Contributed by Petr Viktorin in :gh:`127987` and :cve:`2024-12718`.)"
5988+ msgstr ""
5989+
5990+ #: ../../whatsnew/3.12.rst:2346
5991+ msgid ""
5992+ ":func:`~tarfile.TarFile.extract` and :func:`~tarfile.TarFile.extractall` now"
5993+ " (re-)apply the extraction filter when substituting a link (hard or "
5994+ "symbolic) with a copy of another archive member, and when fixing up "
5995+ "directory attributes. The former raises a new exception, "
5996+ ":exc:`~tarfile.LinkFallbackError`. (Contributed by Petr Viktorin for "
5997+ ":cve:`2025-4330` and :cve:`2024-12718`.)"
5998+ msgstr ""
5999+
6000+ #: ../../whatsnew/3.12.rst:2352
6001+ msgid ""
6002+ ":func:`~tarfile.TarFile.extract` and :func:`~tarfile.TarFile.extractall` no "
6003+ "longer extract rejected members when :func:`~tarfile.TarFile.errorlevel` is "
6004+ "zero. (Contributed by Matt Prodani and Petr Viktorin in :gh:`112887` and "
6005+ ":cve:`2025-4435`.)"
6006+ msgstr ""