mirror of https://github.com/python/cpython
Issue #20633: Replace relative import by absolute import.
This commit is contained in:
parent
56d3a03f70
commit
3e952d56ea
|
@ -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
|
||||||
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.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue