STINNER Victor <victor.stin...@gmail.com> added the comment:

Serhiy Storchaka: "Is this function publicly documented? If this is true, it 
should first be deprecated."

It's not documented, but I found a reference in the documentation:
---
try:
    from socket import socketpair
except ImportError:
    from asyncio.windows_utils import socketpair
---

This code continues to work on Python 3.5 and newer, the "except" block will 
just never be taken.


> It is left in the __all__ list.

Oops, fixed in my PR.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32154>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to