File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 1- {"translation" : " 99.82%" , "updated_at" : " 2025-11-17T00:43:14Z " }
1+ {"translation" : " 99.82%" , "updated_at" : " 2025-11-17T07:15:27Z " }
Original file line number Diff line number Diff line change @@ -3040,6 +3040,9 @@ msgid ""
30403040"missing but it will be free of symlinks. (Contributed by Petr Viktorin for "
30413041":cve:`2025-4517`.)"
30423042msgstr ""
3043+ "传给 :func:`~os.path.realpath` 的 *strict* 形参接受一个新值 "
3044+ ":data:`~os.path.ALLOW_MISSING`。 如果使用该值,则 :exc:`FileNotFoundError` "
3045+ "以外的错误将被重新引发;结果路径可能会缺失但它将不会有符号链接。 (由 Petr Viktorin 为 :cve:`2025-4517` 贡献。)"
30433046
30443047#: ../../whatsnew/3.14.rst:1677 ../../whatsnew/3.14.rst:2249
30453048#: ../../whatsnew/3.14.rst:2501
@@ -3083,6 +3086,10 @@ msgid ""
30833086"initialized with file type information gleaned from scanning the parent "
30843087"directory. (Contributed by Barney Gale in :gh:`125413`.)"
30853088msgstr ""
3089+ "增加 :attr:`~pathlib.Path.info` 属性,该属性将存储一个实现了新的 "
3090+ ":class:`pathlib.types.PathInfo` 协议的对象。 此对象支持查询文件类型并会在内部缓存 :func:`~os.stat` "
3091+ "的结果。 通过 :meth:`~pathlib.Path.iterdir` 创建的 Path 对象会根据扫描父目录时收集到的文件类型信息进行初始化。 "
3092+ "(由 Barney Gale 在 :gh:`125413` 中贡献。)"
30863093
30873094#: ../../whatsnew/3.14.rst:1699 ../../whatsnew/3.14.rst:2257
30883095msgid "pdb"
You can’t perform that action at this time.
0 commit comments