File tree 2 files changed +10
-1
lines changed
Filter options
2 files changed +10
-1
lines changed
Original file line number Diff line number Diff line change 1
- {"translation" : " 93.05 %" , "updated_at" : " 2024-08-13T07:09:49Z " }
1
+ {"translation" : " 93.06 %" , "updated_at" : " 2024-08-13T13:11:06Z " }
Original file line number Diff line number Diff line change @@ -1395,6 +1395,10 @@ msgid ""
1395
1395
"exist, and have simply been changed to use the new C-level interface. "
1396
1396
"(Contributed by Fred L. Drake, Jr.)"
1397
1397
msgstr ""
1398
+ "性能分析和追踪函数现在可以用 C 语言来实现,相比基于 Python 的函数能够显著提高运行速度并能够减少性能分析和追踪的资源开销。 Python "
1399
+ "开发环境的编写者对此将会很感兴趣。 Python 的 API 增加了两个新的 C 函数,:c:func:`PyEval_SetProfile` 和 "
1400
+ ":c:func:`PyEval_SetTrace`。 现有的 :func:`sys.setprofile` 和 :func:`sys.settrace`"
1401
+ " 函数仍然存在,并已简单地更改为使用新的 C 层级接口。 (由 Fred L. Drake, Jr. 贡献。)"
1398
1402
1399
1403
#: ../../whatsnew/2.2.rst:1065
1400
1404
msgid ""
@@ -1580,6 +1584,8 @@ msgid ""
1580
1584
"automatically removes obsolete ``__future__`` statements from Python source "
1581
1585
"code."
1582
1586
msgstr ""
1587
+ "由 Tim Peters 编写的新脚本 :file:`Tools/scripts/cleanfuture.py` 可自动从 Python "
1588
+ "源代码移除过时的 ``__future__`` 语句。"
1583
1589
1584
1590
#: ../../whatsnew/2.2.rst:1189
1585
1591
msgid ""
@@ -1696,6 +1702,9 @@ msgid ""
1696
1702
":c:func:`dlopen` using the :func:`sys.getdlopenflags` and "
1697
1703
":func:`sys.setdlopenflags` functions. (Contributed by Bram Stolk.)"
1698
1704
msgstr ""
1705
+ "在 Python 会使用 C :c:func:`dlopen` 函数来加载扩展模块的平台上,现在可以使用 "
1706
+ ":func:`sys.getdlopenflags` 和 :func:`sys.setdlopenflags` 等函数来设置 "
1707
+ ":c:func:`dlopen` 所使用的旗标。 (由 Bram Stolk 贡献。)"
1699
1708
1700
1709
#: ../../whatsnew/2.2.rst:1250
1701
1710
msgid ""
You can’t perform that action at this time.
0 commit comments