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 <rep...@bugs.python.org>
<http://bugs.python.org/issue21155>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to