@@ -843,6 +843,11 @@ msgid ""
843843"memory allocated by the Python interpreter, e.g. memory allocated by "
844844"extension modules currently cannot be released."
845845msgstr ""
846+ "有时,还需要对 Python 进行“反初始化”。 例如,应用程序可能想要重新启动 (再次调用 :c:func:`Py_Initialize`) "
847+ "或者应用程序对 Python 的使用已经完成并想要释放 Python 所分配的内存。 这可以通过调用 :c:func:`Py_FinalizeEx` "
848+ "来实现。 如果当前 Python 处于已初始化状态则 :c:func:`Py_IsInitialized` 函数将返回真值。 "
849+ "有关这些函数的更多信息将在之后的章节中给出。 请注意 :c:func:`Py_FinalizeEx` *不会* 释放所有由 Python "
850+ "解释器所分配的内存,例如由扩展模块所分配的内存目前是不会被释放的。"
846851
847852#: ../../c-api/intro.rst:732
848853msgid "Debugging Builds"
@@ -853,7 +858,7 @@ msgid ""
853858"Python can be built with several macros to enable extra checks of the "
854859"interpreter and extension modules. These checks tend to add a large amount "
855860"of overhead to the runtime so they are not enabled by default."
856- msgstr ""
861+ msgstr "Python 可以附带某些宏来编译以启用对解释器和扩展模块的额外检查。 这些检查会给运行时增加大量额外开销因此它们默认未被启用。 "
857862
858863#: ../../c-api/intro.rst:738
859864msgid ""
@@ -864,6 +869,12 @@ msgid ""
864869"most frequently-used builds will be described in the remainder of this "
865870"section."
866871msgstr ""
872+ "A full list of the various types of debugging builds is in the file "
873+ ":file:`Misc/SpecialBuilds.txt` in the Python source distribution. Builds are"
874+ " available that support tracing of reference counts, debugging the memory "
875+ "allocator, or low-level profiling of the main interpreter loop. Only the "
876+ "most frequently-used builds will be described in the remainder of this "
877+ "section."
867878
868879#: ../../c-api/intro.rst:744
869880msgid ""
0 commit comments