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.

Author vstinner
Recipients serhiy.storchaka, vstinner, yselivanov
Date 2017-11-28.15:40:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1511883640.04.0.213398074469.issue32154@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-11-28 15:40:40vstinnersetrecipients: + vstinner, serhiy.storchaka, yselivanov
2017-11-28 15:40:40vstinnersetmessageid: <1511883640.04.0.213398074469.issue32154@psf.upfronthosting.co.za>
2017-11-28 15:40:40vstinnerlinkissue32154 messages
2017-11-28 15:40:40vstinnercreate