Issue #20633: Replace relative import by absolute import.

This commit is contained in:
Richard Oudkerk 2014-03-23 12:42:28 +00:00
parent 56d3a03f70
commit 3e952d56ea
2 changed files with 3 additions and 1 deletions

View 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.

View File

@ -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.