mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Merge 3.5 (Issue #27041)
This commit is contained in:
commit
8ace2c66d3
14 changed files with 55 additions and 39 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue