]> granicus.if.org Git - python/commitdiff
Issue #20633: Replace relative import by absolute import.
authorRichard Oudkerk <shibturn@gmail.com>
Sun, 23 Mar 2014 12:42:28 +0000 (12:42 +0000)
committerRichard Oudkerk <shibturn@gmail.com>
Sun, 23 Mar 2014 12:42:28 +0000 (12:42 +0000)
Lib/multiprocessing/forking.py
Misc/NEWS

index 9793237bef04765f3a7f31faf4a926e0d954c493..449978aaace3b6f4f0623359438ec062144c9ec7 100644 (file)
@@ -132,7 +132,7 @@ if sys.platform != 'win32':
         def wait(self, timeout=None):
             if self.returncode is None:
                 if timeout is not None:
-                    from .connection import wait
+                    from multiprocessing.connection import wait
                     if not wait([self.sentinel], timeout):
                         return None
                 # This shouldn't block if wait() returned successfully.
index f44427204f8c85c14d48863af90508a94847e760..187d4b2ba611af691304d290b557b52772f6f409 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -13,6 +13,8 @@ Core and Builtins
 Library
 -------
 
+- Issue #20633: Replace relative import by absolute import.
+
 - Issue #20875: Prevent possible gzip "'read' is not defined" NameError.
   Patch by Claudiu Popa.