@@ -2975,6 +2975,10 @@ msgid ""
29752975"clauses to print a stack trace for the terminated process. (Contributed by "
29762976"Artem Pulkin in :gh:`131913`.)"
29772977msgstr ""
2978+ "为 :class:`multiprocessing.Process` 对象增加 "
2979+ ":meth:`~multiprocessing.Process.interrupt`,该方法通过发送 "
2980+ ":py:const:`~signal.SIGINT` 来终结子进程。 这使得 :keyword:`finally` 子句能为被终止的进程打印栈回溯信息。"
2981+ " (由 Artem Pulkin 在 :gh:`131913` 中贡献。)"
29782982
29792983#: ../../whatsnew/3.14.rst:1639
29802984msgid "operator"
@@ -2987,6 +2991,10 @@ msgid ""
29872991"None`` and ``operator.is_not_none(obj)`` is equivalent to ``obj is not "
29882992"None``. (Contributed by Raymond Hettinger and Nico Mexis in :gh:`115808`.)"
29892993msgstr ""
2994+ "增加 :func:`~operator.is_none` 和 :func:`~operator.is_not_none` 函数对,其中 "
2995+ "``operator.is_none(obj)`` 等价于 ``obj is None`` 而 "
2996+ "``operator.is_not_none(obj)`` 等价于 ``obj is not None``。 (由 Raymond Hettinger "
2997+ "和 Nico Mexis 在 :gh:`115808` 中贡献。)"
29902998
29912999#: ../../whatsnew/3.14.rst:1649
29923000msgid "os"
@@ -2999,6 +3007,9 @@ msgid ""
29993007":func:`os.putenv`, by :func:`os.unsetenv`, or made outside Python in the "
30003008"same process. (Contributed by Victor Stinner in :gh:`120057`.)"
30013009msgstr ""
3010+ "增加 :func:`~os.reload_environ` 函数用于根据 :func:`os.putenv`, by "
3011+ ":func:`os.unsetenv` 或同一进程中在 Python 外部所做的环境变量来更新 :data:`os.environ` 和 "
3012+ ":data:`os.environb`。 (由 Victor Stinner 在 :gh:`120057` 中贡献。)"
30023013
30033014#: ../../whatsnew/3.14.rst:1657
30043015msgid ""
0 commit comments