mirror of
https://github.com/python/cpython.git
synced 2026-01-06 07:22:09 +00:00
Issue #20633: Replace relative import by absolute import.
This commit is contained in:
parent
56d3a03f70
commit
3e952d56ea
2 changed files with 3 additions and 1 deletions
|
|
@ -132,7 +132,7 @@ def poll(self, flag=os.WNOHANG):
|
|||
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.
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue