This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: asyncio: calling _UnixSelectorEventLoop.create_unix_server(sock=..., path=...) must fail
Type: Stage:
Components: Versions: Python 3.4, Python 3.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: gvanrossum, python-dev, vstinner, yselivanov
Priority: normal Keywords: patch

Created on 2014-04-04 16:57 by vstinner, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
unix.patch vstinner, 2014-04-04 16:57 review
Messages (2)
msg215536 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2014-04-04 16:57
_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().
msg215679 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2014-04-07 09:22
New changeset a6b764848b20 by Victor Stinner in branch '3.4':
Issue #21155: asyncio.EventLoop.create_unix_server() now raises a ValueError if
http://hg.python.org/cpython/rev/a6b764848b20

New changeset 34ace7eb67e9 by Victor Stinner in branch 'default':
(Merge 3.4) Issue #21155: asyncio.EventLoop.create_unix_server() now raises a
http://hg.python.org/cpython/rev/34ace7eb67e9
History
Date User Action Args
2022-04-11 14:58:01adminsetgithub: 65354
2014-04-07 09:23:26vstinnersetstatus: open -> closed
resolution: fixed
2014-04-07 09:22:28python-devsetnosy: + python-dev
messages: + msg215679
2014-04-04 16:57:31vstinnercreate