[Python-checkins] cpython (3.3): Issue #20633: Replace relative import by absolute import.
richard.oudkerk
python-checkins at python.org
Sun Mar 23 13:54:43 CET 2014
http://hg.python.org/cpython/rev/0b2814fc53ae
changeset: 89927:0b2814fc53ae
branch: 3.3
parent: 89808:df2dbeef46da
user: Richard Oudkerk <shibturn at gmail.com>
date: Sun Mar 23 12:42:28 2014 +0000
summary:
Issue #20633: Replace relative import by absolute import.
files:
Lib/multiprocessing/forking.py | 2 +-
Misc/NEWS | 2 ++
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/Lib/multiprocessing/forking.py b/Lib/multiprocessing/forking.py
--- a/Lib/multiprocessing/forking.py
+++ b/Lib/multiprocessing/forking.py
@@ -132,7 +132,7 @@
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
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -13,6 +13,8 @@
Library
-------
+- Issue #20633: Replace relative import by absolute import.
+
- Issue #20875: Prevent possible gzip "'read' is not defined" NameError.
Patch by Claudiu Popa.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list