summaryrefslogtreecommitdiffstats
path: root/Lib/multiprocessing/forkserver.py
diff options
context:
space:
mode:
authorRichard Oudkerk <shibturn@gmail.com>2013-08-28 10:25:34 (GMT)
committerRichard Oudkerk <shibturn@gmail.com>2013-08-28 10:25:34 (GMT)
commit0d097b6299b8c478982758bd1986dfc724ddf9ad (patch)
tree57646988a674db300a70d19f985155e14af20784 /Lib/multiprocessing/forkserver.py
parent1fa174a418d78ef24aa741945230a5074b3e6236 (diff)
downloadcpython-0d097b6299b8c478982758bd1986dfc724ddf9ad.zip
cpython-0d097b6299b8c478982758bd1986dfc724ddf9ad.tar.gz
cpython-0d097b6299b8c478982758bd1986dfc724ddf9ad.tar.bz2
Issue #18865: PEP 446 makes multiprocessing.util.pipe() unnecessary.
Diffstat (limited to 'Lib/multiprocessing/forkserver.py')
-rw-r--r--Lib/multiprocessing/forkserver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/multiprocessing/forkserver.py b/Lib/multiprocessing/forkserver.py
index 11df382..975b15a 100644
--- a/Lib/multiprocessing/forkserver.py
+++ b/Lib/multiprocessing/forkserver.py
@@ -108,7 +108,7 @@ def ensure_running():
# all client processes own the write end of the "alive" pipe;
# when they all terminate the read end becomes ready.
- alive_r, alive_w = util.pipe()
+ alive_r, alive_w = os.pipe()
try:
fds_to_pass = [listener.fileno(), alive_r]
cmd %= (listener.fileno(), alive_r, _preload_modules, data)