🌐 AI搜索 & 代理 主页
Skip to content

Commit 7ed4363

Browse files
[po] auto sync
1 parent ca45cdc commit 7ed4363

File tree

2 files changed

+51
-6
lines changed

2 files changed

+51
-6
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "99.94%", "updated_at": "2025-11-21T00:42:01Z"}
1+
{"translation": "99.97%", "updated_at": "2025-11-21T01:42:35Z"}

whatsnew/changelog.po

Lines changed: 50 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1198,7 +1198,7 @@ msgstr ""
11981198
msgid ""
11991199
":gh:`114203`: Skip locking if object is already locked by two-mutex critical"
12001200
" section."
1201-
msgstr ""
1201+
msgstr ":gh:`114203`: 如果对象已被双向互斥关键节锁定则跳过锁定操作。"
12021202

12031203
#: ../NEWS:481
12041204
msgid ""
@@ -1207,58 +1207,76 @@ msgid ""
12071207
"``_interpreters.destroy`` function when warning about remaining "
12081208
"subinterpreters. Patch by Sergey Miryanov."
12091209
msgstr ""
1210+
":gh:`141528`: 当就其��子解释器发出警告时建议使用 "
1211+
":meth:`concurrent.interpreters.Interpreter.close` 而不是私有的 "
1212+
"``_interpreters.destroy`` 函数。 由 Sergey Miryanov 编写补丁。"
12101213

12111214
#: ../NEWS:485
12121215
msgid ""
12131216
":gh:`141312`: Fix the assertion failure in the ``__setstate__`` method of "
12141217
"the range iterator when a non-integer argument is passed. Patch by Sergey "
12151218
"Miryanov."
12161219
msgstr ""
1220+
":gh:`141312`: 修复在 range 迭代器的 ``__setstate__`` 方法中当传入非整数参数时的断言失败问题。 由 Sergey "
1221+
"Miryanov 编写补丁。"
12171222

12181223
#: ../NEWS:489
12191224
msgid ""
12201225
":gh:`140939`: Fix memory leak when :class:`bytearray` or :class:`bytes` is "
12211226
"formated with the ``%*b`` format with a large width that results in a "
12221227
":exc:`MemoryError`."
12231228
msgstr ""
1229+
":gh:`140939`: 修复当 :class:`bytearray` 或 :class:`bytes` 使用 ``%*b`` "
1230+
"格式以很大的宽度值进行格式化而导致 :exc:`MemoryError` 时的内存泄漏问题。"
12241231

12251232
#: ../NEWS:493
12261233
msgid ""
12271234
":gh:`140260`: Fix :mod:`struct` data race in endian table initialization "
12281235
"with subinterpreters. Patch by Shamil Abdulaev."
12291236
msgstr ""
1237+
":gh:`140260`: 修复子解释器端序表初始化中的 :mod:`struct` 数据竞争问题。 由 Shamil Abdulaev 编写补丁。"
12301238

12311239
#: ../NEWS:496
12321240
msgid ""
12331241
":gh:`140530`: Fix a reference leak when ``raise exc from cause`` fails. "
12341242
"Patch by Bénédikt Tran."
12351243
msgstr ""
1244+
":gh:`140530`: 修复当 ``raise exc from cause`` 执行失败时的引用泄漏问题。 由 Bénédikt Tran "
1245+
"编写补丁。"
12361246

12371247
#: ../NEWS:499
12381248
msgid ""
12391249
":gh:`140576`: Fixed crash in :func:`tokenize.generate_tokens` in case of "
12401250
"specific incorrect input. Patch by Mikhail Efimov."
12411251
msgstr ""
1252+
":gh:`140576`: 修复 :func:`tokenize.generate_tokens` 在特定错误输入情况下的崩溃问题。 由 Mikhail"
1253+
" Efimov 编写补丁。"
12421254

12431255
#: ../NEWS:502
12441256
msgid ""
12451257
":gh:`140551`: Fixed crash in :class:`dict` if :meth:`dict.clear` is called "
12461258
"at the lookup stage. Patch by Mikhail Efimov and Inada Naoki."
12471259
msgstr ""
1260+
":gh:`140551`: 修复当 :meth:`dict.clear` 在查找阶段被调用时 :class:`dict` 中的崩溃问题。 由 "
1261+
"Mikhail Efimov 和 Inada Naoki 编写补丁。"
12481262

12491263
#: ../NEWS:505
12501264
msgid ""
12511265
":gh:`140517`: Fixed a reference leak when iterating over the result of "
12521266
":func:`map` with ``strict=True`` when the input iterables have different "
12531267
"lengths. Patch by Mikhail Efimov."
12541268
msgstr ""
1269+
":gh:`140517`: 修复当输入的可迭代对象具有不同长度时在对设置了 ``strict=True`` 的 :func:`map` "
1270+
"的结果进行迭代时的引用泄漏问题。 由 Mikhail Efimov 编写补丁。"
12551271

12561272
#: ../NEWS:509
12571273
msgid ""
12581274
":gh:`140471`: Fix potential buffer overflow in :class:`ast.AST` node "
12591275
"initialization when encountering malformed :attr:`~ast.AST._fields` "
12601276
"containing non-:class:`str`."
12611277
msgstr ""
1278+
":gh:`140471`: 修复了在遇到包含非 :class:`str` 的不良格式 :attr:`~ast.AST._fields` 时 "
1279+
":class:`ast.AST` 节点初始化中潜在的缓冲区溢出问题。"
12621280

12631281
#: ../NEWS:513
12641282
msgid ""
@@ -1267,6 +1285,9 @@ msgid ""
12671285
"coroutine origin tracking depth is enabled "
12681286
"(:func:`sys.set_coroutine_origin_tracking_depth`)."
12691287
msgstr ""
1288+
":gh:`140431`: 修复在 Python 的 :term:`垃圾回收器 <garbage collection>` 中当协程原始跟踪深度 "
1289+
"(:func:`sys.set_coroutine_origin_tracking_depth`) 被启用时由于部分初始化的 "
1290+
":term:`coroutine` 对象导致的崩溃问题。"
12701291

12711292
#: ../NEWS:518
12721293
msgid ""
@@ -1275,12 +1296,18 @@ msgid ""
12751296
":func:`~readline.write_history_file`, and "
12761297
":func:`~readline.append_history_file` when :c:func:`PySys_Audit` fails."
12771298
msgstr ""
1299+
":gh:`140398`: 修复当 :c:func:`PySys_Audit` 执行失败时在 :mod:`readline` 的 "
1300+
":func:`~readline.read_init_file`, :func:`~readline.read_history_file`, "
1301+
":func:`~readline.write_history_file` 和 :func:`~readline.append_history_file`"
1302+
" 函数中的内存泄漏问题。"
12781303

12791304
#: ../NEWS:523
12801305
msgid ""
12811306
":gh:`140406`: Fix memory leak when an object's :meth:`~object.__hash__` "
12821307
"method returns an object that isn't an :class:`int`."
12831308
msgstr ""
1309+
":gh:`140406`: 修复当一个对象的 :meth:`~object.__hash__` 方法返回不为 :class:`int` "
1310+
"的对象时发生崩溃的问题。"
12841311

12851312
#: ../NEWS:526
12861313
msgid ""
@@ -1449,6 +1476,8 @@ msgid ""
14491476
"when daemon threads enable or disable profiling or tracing while the main "
14501477
"thread is shutting down the interpreter."
14511478
msgstr ""
1479+
":gh:`137433`: 修复在 :term:`free threading` "
1480+
"构建版中主线程正执行关闭解释器操作期间当守护线程启用或禁用性能分析或跟踪时潜在的死锁问题。"
14521481

14531482
#: ../NEWS:615 ../NEWS:897
14541483
msgid ""
@@ -1469,17 +1498,20 @@ msgid ""
14691498
"page codec: use \"cp65000\" and \"cp65001\" instead of \"CP_UTF7\" and "
14701499
"\"CP_UTF8\" which are not valid Python code names. Patch by Victor Stinner."
14711500
msgstr ""
1501+
":gh:`58124`: 修正代码页编解码器的 Unicode 错误中 Python 编码格式名称:使用 \"cp65000\" 和 "
1502+
"\"cp65001\" 而不是无效的 Python 代码名称 \"CP_UTF7\" 和 \"CP_UTF8\"。 由 Victor Stinner "
1503+
"编写补丁。"
14721504

14731505
#: ../NEWS:626
14741506
msgid ""
14751507
":gh:`133400`: Fixed Ctrl+D (^D) behavior in _pyrepl module to match old "
14761508
"pre-3.13 REPL behavior."
1477-
msgstr ""
1509+
msgstr ":gh:`133400`: 修复 _pyrepl 模块中的 Ctrl+D (^D) 行为以匹配 3.13 版之前的旧 REPL 行为。"
14781510

14791511
#: ../NEWS:629
14801512
msgid ""
14811513
":gh:`128640`: Fix a crash when using threads inside of a subinterpreter."
1482-
msgstr ""
1514+
msgstr ":gh:`128640`: 修复在子解释器中使用线程时的崩溃问题。"
14831515

14841516
#: ../NEWS:632 ../NEWS:927 ../NEWS:1048 ../NEWS:1264 ../NEWS:1475 ../NEWS:1789
14851517
#: ../NEWS:2513 ../NEWS:2945 ../NEWS:3472 ../NEWS:4009 ../NEWS:4364
@@ -1507,19 +1539,26 @@ msgid ""
15071539
"floating-point format --- the remaining after truncation payload will be "
15081540
"zero. Patch by Sergey B Kirpichev."
15091541
msgstr ""
1542+
":gh:`141042`: 当转换至较窄精度的浮点格式时,在 :c:func:`PyFloat_Pack2` 和 "
1543+
":c:func:`PyFloat_Pack4` 中使用 qNaN --- 在截断载荷之后的剩余值将为零。 由 Sergey B Kirpichev "
1544+
"编写补丁。"
15101545

15111546
#: ../NEWS:639
15121547
msgid ""
15131548
":gh:`140487`: Fix :c:macro:`Py_RETURN_NOTIMPLEMENTED` in limited C API 3.11 "
15141549
"and older: don't treat ``Py_NotImplemented`` as immortal. Patch by Victor "
15151550
"Stinner."
15161551
msgstr ""
1552+
":gh:`140487`: 修复受限 C API 3.11 或更早版本中的 :c:macro:`Py_RETURN_NOTIMPLEMENTED`: "
1553+
"不将 ``Py_NotImplemented`` 当作永生对象。 由 Victor Stinner 编写补丁。"
15171554

15181555
#: ../NEWS:643
15191556
msgid ""
15201557
":gh:`140153`: Fix :c:func:`Py_REFCNT` definition on limited C API 3.11-3.13."
15211558
" Patch by Victor Stinner."
15221559
msgstr ""
1560+
":gh:`140153`: 修复受限 C API 3.11-3.13 中的 :c:func:`Py_REFCNT` 定义。 由 Victor "
1561+
"Stinner 编写补丁。"
15231562

15241563
#: ../NEWS:647 ../NEWS:933 ../NEWS:1059 ../NEWS:1270 ../NEWS:1492 ../NEWS:1795
15251564
#: ../NEWS:2572 ../NEWS:2953 ../NEWS:3521 ../NEWS:4074 ../NEWS:4382
@@ -1546,25 +1585,29 @@ msgstr "构建"
15461585
#: ../NEWS:649
15471586
msgid ""
15481587
":gh:`140768`: Warn when the WASI SDK version doesn't match what's supported."
1549-
msgstr ""
1588+
msgstr ":gh:`140768`: 当 WASI SDK 版本与受支持版本不匹配时发出警告。"
15501589

15511590
#: ../NEWS:651
15521591
msgid ""
15531592
":gh:`140513`: Generate a clear compilation error when "
15541593
"``_Py_TAIL_CALL_INTERP`` is enabled but either ``preserve_none`` or "
15551594
"``musttail`` is not supported."
15561595
msgstr ""
1596+
":gh:`140513`: 当 ``_Py_TAIL_CALL_INTERP`` 被启用但 ``preserve_none`` 或 "
1597+
"``musttail`` 不受支持时生成明确的编译错误。"
15571598

15581599
#: ../NEWS:655
15591600
msgid ":gh:`140189`: iOS builds were added to CI."
1560-
msgstr ""
1601+
msgstr ":gh:`140189`: iOS 构建被添加到 CI。"
15611602

15621603
#: ../NEWS:657
15631604
msgid ""
15641605
":gh:`138489`: When cross-compiling for WASI by ``build_wasm`` or "
15651606
"``build_emscripten``, the ``build-details.json`` step is now included in the"
15661607
" build process, just like with native builds."
15671608
msgstr ""
1609+
":gh:`138489`: 当通过 ``build_wasm`` 或 ``build_emscripten`` 为 WASI "
1610+
"执行交叉编译时,``build-details.json`` 步骤现在将被包括在构建过程中,就像原生构建一样。"
15681611

15691612
#: ../NEWS:661
15701613
msgid ""
@@ -16239,6 +16282,8 @@ msgid ""
1623916282
":gh:`119613`: Soft deprecate the :c:macro:`Py_MEMCPY` macro: use directly "
1624016283
"``memcpy()`` instead. Patch by Victor Stinner."
1624116284
msgstr ""
16285+
":gh:`119613`: 软弃用 :c:macro:`Py_MEMCPY` 宏:直接使用 ``memcpy()`` 代替。 由 Victor "
16286+
"Stinner 编写补丁。"
1624216287

1624316288
#: ../NEWS:7688
1624416289
msgid ""

0 commit comments

Comments
 (0)