[New-bugs-announce] [issue21155] asyncio: calling _UnixSelectorEventLoop.create_unix_server(sock=..., path=...) must fail

STINNER Victor report at bugs.python.org
Fri Apr 4 18:57:31 CEST 2014


New submission from STINNER Victor:

_UnixSelectorEventLoop.create_unix_server() can be called with path *and* sock. In this case, the sock parameter is ignored.

Attached patch changes the method to raise a ValueError, to have the same behaviour than create_connection().

----------
files: unix.patch
keywords: patch
messages: 215536
nosy: gvanrossum, haypo, yselivanov
priority: normal
severity: normal
status: open
title: asyncio: calling _UnixSelectorEventLoop.create_unix_server(sock=..., path=...) must fail
versions: Python 3.4, Python 3.5
Added file: http://bugs.python.org/file34726/unix.patch

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


More information about the New-bugs-announce mailing list