Commits

Brian Curtin committed 5f33653

Fix #9600. Don't use relative imports for _multiprocessing on Windows.
Same fix as #9513 on 3.x.

  • Participants
  • Parent commits d8686c6
  • Branches 2.6

Comments (0)

Files changed (5)

File Lib/multiprocessing/connection.py

 
 else:
 
-    from ._multiprocessing import win32
+    from _multiprocessing import win32
 
     def Pipe(duplex=True):
         '''

File Lib/multiprocessing/forking.py

     import _subprocess
     import time
 
-    from ._multiprocessing import win32, Connection, PipeConnection
+    from _multiprocessing import win32, Connection, PipeConnection
     from .util import Finalize
 
     #try:

File Lib/multiprocessing/heap.py

 
 if sys.platform == 'win32':
 
-    from ._multiprocessing import win32
+    from _multiprocessing import win32
 
     class Arena(object):
 

File Lib/multiprocessing/reduction.py

 
 if sys.platform == 'win32':
     import _subprocess
-    from ._multiprocessing import win32
+    from _multiprocessing import win32
 
     def send_handle(conn, handle, destination_pid):
         process_handle = win32.OpenProcess(
 Library
 -------
 
+- Issue #9600: Don't use relative import for _multiprocessing on Windows.
+
 - Issue #8688: Revert regression introduced in 2.6.6rc1 (making Distutils
   recalculate MANIFEST every time).