Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b547795 commit 774ec6eCopy full SHA for 774ec6e
2 files changed
.stat.json
@@ -1 +1 @@
1
-{"translation": "95.23%", "updated_at": "2024-04-25T02:56:19Z"}
+{"translation": "95.23%", "updated_at": "2024-04-26T02:56:11Z"}
whatsnew/3.4.po
@@ -1918,6 +1918,10 @@ msgid ""
1918
" and explicit relative imports could cause obscure failures in child "
1919
"processes. (Contributed by Nick Coghlan in :issue:`19946`.)"
1920
msgstr ""
1921
+"现在当使用 ``spawn`` 或 ``forkserver`` 启动方法时 :mod:`multiprocessing` 依赖于 "
1922
+":mod:`runpy` (它实现了 ``-m`` 开关) 在子进程中正确地初始化 ``__main__``。 "
1923
+"这解决了一些合并多进程操作中,``-m`` 命令行开关和显式相对导入可能在子进程中导致失败的边缘场景问题。 (由 Nick Coghlan 在 "
1924
+":issue:`19946` 中贡献。)"
1925
1926
#: ../../whatsnew/3.4.rst:1158
1927
msgid "operator"
0 commit comments