[New-bugs-announce] [issue27500] ProactorEventLoop cannot open connection to ::1

Sebastien Bourdeauducq report at bugs.python.org
Tue Jul 12 13:55:35 EDT 2016


New submission from Sebastien Bourdeauducq:

The following code fails with "OSError: [WinError 10022] An invalid argument was supplied".

import asyncio
loop = asyncio.ProactorEventLoop()
asyncio.set_event_loop(loop)
loop.run_until_complete(asyncio.open_connection("::1", 4242))

This is a regression in 3.5.2. 3.5.1 does not have this bug. Connecting to 127.0.0.1 does not cause the problem.

----------
components: asyncio
messages: 270258
nosy: gvanrossum, haypo, sebastien.bourdeauducq, yselivanov
priority: normal
severity: normal
status: open
title: ProactorEventLoop cannot open connection to ::1
versions: Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27500>
_______________________________________


More information about the New-bugs-announce mailing list