From 3e952d56ea1c50294cf3445dac5dc6a8ad27fbbe Mon Sep 17 00:00:00 2001 From: Richard Oudkerk Date: Sun, 23 Mar 2014 12:42:28 +0000 Subject: Issue #20633: Replace relative import by absolute import. --- Lib/multiprocessing/forking.py | 2 +- Misc/NEWS | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Lib/multiprocessing/forking.py b/Lib/multiprocessing/forking.py index 9793237..449978a 100644 --- a/Lib/multiprocessing/forking.py +++ b/Lib/multiprocessing/forking.py @@ -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. diff --git a/Misc/NEWS b/Misc/NEWS index f444272..187d4b2 100644 --- 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. -- cgit v0.12