Commit 67c59e34 authored by Richard Oudkerk's avatar Richard Oudkerk

Issue #20633: Replace relative import by absolute import.

parent ac09a785
...@@ -132,7 +132,7 @@ if sys.platform != 'win32': ...@@ -132,7 +132,7 @@ if sys.platform != 'win32':
def wait(self, timeout=None): def wait(self, timeout=None):
if self.returncode is None: if self.returncode is None:
if timeout is not None: if timeout is not None:
from .connection import wait from multiprocessing.connection import wait
if not wait([self.sentinel], timeout): if not wait([self.sentinel], timeout):
return None return None
# This shouldn't block if wait() returned successfully. # This shouldn't block if wait() returned successfully.
......
...@@ -13,6 +13,8 @@ Core and Builtins ...@@ -13,6 +13,8 @@ Core and Builtins
Library Library
------- -------
- Issue #20633: Replace relative import by absolute import.
- Issue #20875: Prevent possible gzip "'read' is not defined" NameError. - Issue #20875: Prevent possible gzip "'read' is not defined" NameError.
Patch by Claudiu Popa. Patch by Claudiu Popa.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment