Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c346060

Browse files
committed
Merge 3.3.
2 parents 80a5be1 + 3e952d5 commit c346060

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

Lib/multiprocessing/popen_fork.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def poll(self, flag=os.WNOHANG):
4747
def wait(self, timeout=None):
4848
if self.returncode is None:
4949
if timeout is not None:
50-
from .connection import wait
50+
from multiprocessing.connection import wait
5151
if not wait([self.sentinel], timeout):
5252
return None
5353
# This shouldn't block if wait() returned successfully.

Lib/multiprocessing/popen_forkserver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def _launch(self, process_obj):
5757

5858
def poll(self, flag=os.WNOHANG):
5959
if self.returncode is None:
60-
from .connection import wait
60+
from multiprocessing.connection import wait
6161
timeout = 0 if flag == os.WNOHANG else None
6262
if not wait([self.sentinel], timeout):
6363
return None

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ Core and Builtins
2121
Library
2222
-------
2323

24+
- Issue #20633: Replace relative import by absolute import.
25+
2426
- Issue #20980: Stop wrapping exception when using ThreadPool.
2527

2628
- Issue #20990: Fix issues found by pyflakes for multiprocessing.

0 commit comments

Comments
 (0)