diff options
author | Yury Selivanov <yselivanov@sprymix.com> | 2016-05-16 15:39:39 -0400 |
---|---|---|
committer | Yury Selivanov <yselivanov@sprymix.com> | 2016-05-16 15:39:39 -0400 |
commit | 8ace2c66d35cf4cbb2d4a6383e33c0bb96448ecb (patch) | |
tree | a4d780ee11c4d8732b927c8271eb5427428fb39c /Lib/asyncio/proactor_events.py | |
parent | 7c3ac2d1f82ed44a90de34d5bc6424c64b19ce68 (diff) | |
parent | 7661db622892c9731c502ccdd7af130cbfd23f5c (diff) | |
download | cpython-8ace2c66d35cf4cbb2d4a6383e33c0bb96448ecb.tar.gz cpython-8ace2c66d35cf4cbb2d4a6383e33c0bb96448ecb.zip |
Merge 3.5 (Issue #27041)
Diffstat (limited to 'Lib/asyncio/proactor_events.py')
-rw-r--r-- | Lib/asyncio/proactor_events.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncio/proactor_events.py b/Lib/asyncio/proactor_events.py index db16fe21b22..530a667bde2 100644 --- a/Lib/asyncio/proactor_events.py +++ b/Lib/asyncio/proactor_events.py @@ -444,7 +444,7 @@ class BaseProactorEventLoop(base_events.BaseEventLoop): try: base_events._check_resolved_address(sock, address) except ValueError as err: - fut = futures.Future(loop=self) + fut = self.create_future() fut.set_exception(err) return fut else: |