]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-38092: Reduce overhead when using multiprocessing in a Windows virtual environmen...
authorAdam Meily <ameily@users.noreply.github.com>
Tue, 28 Jan 2020 10:29:16 +0000 (05:29 -0500)
committerSteve Dower <steve.dower@python.org>
Tue, 28 Jan 2020 10:29:16 +0000 (21:29 +1100)
Lib/multiprocessing/popen_spawn_win32.py
Misc/NEWS.d/next/Windows/2020-01-24-03-07-14.bpo-39439.rwMWDR.rst [new file with mode: 0644]

index e01953d32b7a426aad232a928dc6be050027ae60..d9442094909bdc80d72d35d1ed24f573069b4c12 100644 (file)
@@ -69,7 +69,7 @@ class Popen(object):
             try:
                 hp, ht, pid, tid = _winapi.CreateProcess(
                     python_exe, cmd,
-                    env, None, False, 0, None, None, None)
+                    None, None, False, 0, env, None, None)
                 _winapi.CloseHandle(ht)
             except:
                 _winapi.CloseHandle(rhandle)
diff --git a/Misc/NEWS.d/next/Windows/2020-01-24-03-07-14.bpo-39439.rwMWDR.rst b/Misc/NEWS.d/next/Windows/2020-01-24-03-07-14.bpo-39439.rwMWDR.rst
new file mode 100644 (file)
index 0000000..d64e637
--- /dev/null
@@ -0,0 +1 @@
+Reduce overhead when using multiprocessing in a Windows virtual environment
\ No newline at end of file