diff options
| author | Yury Selivanov <yselivanov@sprymix.com> | 2015-11-17 17:20:02 (GMT) |
|---|---|---|
| committer | Yury Selivanov <yselivanov@sprymix.com> | 2015-11-17 17:20:02 (GMT) |
| commit | 5498f2b6bf6d2ff7a1575a7a07ca1175f8226853 (patch) | |
| tree | 245ec297bfdbf24c8ba15723f4b75fda468eb60a /Lib/asyncio/unix_events.py | |
| parent | 7f324ba735dff39b7209717b646d3c96acd49ccf (diff) | |
| parent | 5d7e3b6cd208dffdfe8530664081b62e0c7e3092 (diff) | |
| download | cpython-5498f2b6bf6d2ff7a1575a7a07ca1175f8226853.zip cpython-5498f2b6bf6d2ff7a1575a7a07ca1175f8226853.tar.gz cpython-5498f2b6bf6d2ff7a1575a7a07ca1175f8226853.tar.bz2 | |
Merge 3.4
Diffstat (limited to 'Lib/asyncio/unix_events.py')
| -rw-r--r-- | Lib/asyncio/unix_events.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Lib/asyncio/unix_events.py b/Lib/asyncio/unix_events.py index f75e89f..7747ff4 100644 --- a/Lib/asyncio/unix_events.py +++ b/Lib/asyncio/unix_events.py @@ -319,7 +319,8 @@ class _UnixReadPipeTransport(transports.ReadTransport): self._fileno, self._read_ready) if waiter is not None: # only wake up the waiter when connection_made() has been called - self._loop.call_soon(waiter._set_result_unless_cancelled, None) + self._loop.call_soon(futures._set_result_unless_cancelled, + waiter, None) def __repr__(self): info = [self.__class__.__name__] @@ -442,7 +443,8 @@ class _UnixWritePipeTransport(transports._FlowControlMixin, if waiter is not None: # only wake up the waiter when connection_made() has been called - self._loop.call_soon(waiter._set_result_unless_cancelled, None) + self._loop.call_soon(futures._set_result_unless_cancelled, + waiter, None) def __repr__(self): info = [self.__class__.__name__] |
