diff options
author | Yury Selivanov <yselivanov@sprymix.com> | 2016-05-16 19:39:39 (GMT) |
---|---|---|
committer | Yury Selivanov <yselivanov@sprymix.com> | 2016-05-16 19:39:39 (GMT) |
commit | 8ace2c66d35cf4cbb2d4a6383e33c0bb96448ecb (patch) | |
tree | a4d780ee11c4d8732b927c8271eb5427428fb39c /Lib/asyncio/unix_events.py | |
parent | 7c3ac2d1f82ed44a90de34d5bc6424c64b19ce68 (diff) | |
parent | 7661db622892c9731c502ccdd7af130cbfd23f5c (diff) | |
download | cpython-8ace2c66d35cf4cbb2d4a6383e33c0bb96448ecb.zip cpython-8ace2c66d35cf4cbb2d4a6383e33c0bb96448ecb.tar.gz cpython-8ace2c66d35cf4cbb2d4a6383e33c0bb96448ecb.tar.bz2 |
Merge 3.5 (Issue #27041)
Diffstat (limited to 'Lib/asyncio/unix_events.py')
-rw-r--r-- | Lib/asyncio/unix_events.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncio/unix_events.py b/Lib/asyncio/unix_events.py index 666706f..ce49c4f 100644 --- a/Lib/asyncio/unix_events.py +++ b/Lib/asyncio/unix_events.py @@ -177,7 +177,7 @@ class _UnixSelectorEventLoop(selector_events.BaseSelectorEventLoop): stdin, stdout, stderr, bufsize, extra=None, **kwargs): with events.get_child_watcher() as watcher: - waiter = futures.Future(loop=self) + waiter = self.create_future() transp = _UnixSubprocessTransport(self, protocol, args, shell, stdin, stdout, stderr, bufsize, waiter=waiter, extra=extra, |