[issue32154] asyncio: Don't export selectors and _overlapped in asyncio namespace

2017-11-28 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue32154] asyncio: Don't export selectors and _overlapped in asyncio namespace

2017-11-28 Thread STINNER Victor
STINNER Victor added the comment: New changeset ac577d7d0bd27a69921ced14c09172235ceebab5 by Victor Stinner in branch 'master': bpo-32154: Remove asyncio.windows_utils.socketpair (#4609) https://github.com/python/cpython/commit/ac577d7d0bd27a69921ced14c09172235ceebab5

[issue32154] asyncio: Don't export selectors and _overlapped in asyncio namespace

2017-11-28 Thread STINNER Victor
STINNER Victor 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

[issue32154] asyncio: Don't export selectors and _overlapped in asyncio namespace

2017-11-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Is this function publicly documented? If this is true, it should first be deprecated. It is left in the __all__ list. -- nosy: +serhiy.storchaka ___ Python tracker

[issue32154] asyncio: Don't export selectors and _overlapped in asyncio namespace

2017-11-28 Thread STINNER Victor
STINNER Victor added the comment: I also proposed the PR 4609 to remove the old asyncio.windows_utils.socketpair alias. -- ___ Python tracker

[issue32154] asyncio: Don't export selectors and _overlapped in asyncio namespace

2017-11-28 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +4525 ___ Python tracker ___ ___

[issue32154] asyncio: Don't export selectors and _overlapped in asyncio namespace

2017-11-28 Thread STINNER Victor
STINNER Victor added the comment: New changeset 4271dfd7815c05fd39b515c240050b3585bdfcd4 by Victor Stinner in branch 'master': bpo-32154: Remove asyncio.selectors (#4605) https://github.com/python/cpython/commit/4271dfd7815c05fd39b515c240050b3585bdfcd4 --

[issue32154] asyncio: Don't export selectors and _overlapped in asyncio namespace

2017-11-28 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +4522 stage: -> patch review ___ Python tracker ___

[issue32154] asyncio: Don't export selectors and _overlapped in asyncio namespace

2017-11-28 Thread STINNER Victor
New submission from STINNER Victor : For backward compatibility with Python 3.3, Lib/asyncio/__init__.py exports asyncio.selectors and asyncio._overlapped symbols. Python 3.3 reached it's end of line last september, it's time to move on: