[issue33350] WinError 10038 is raised when loop.sock_connect is wrapped with asyncio.wait_for

2018-12-28 Thread Alisue Lambda
Alisue Lambda added the comment: https://github.com/python/asyncio/pull/419 It seems the PR above which has not merged solve the issue. -- ___ Python tracker <https://bugs.python.org/issue33

[issue34406] Typo in documentation

2018-08-14 Thread Alisue Lambda
Change by Alisue Lambda : -- title: Type in documentation -> Typo in documentation ___ Python tracker <https://bugs.python.org/issue34406> ___ ___ Python-

[issue34406] Type in documentation

2018-08-14 Thread Alisue Lambda
New submission from Alisue Lambda : https://docs.python.org/3.8/using/windows.html#removing-the-max-path-limitation Current > HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem@LongPathsEnabled Should be > HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\File

[issue33350] WinError 10038 is raised when loop.sock_connect is wrapped with asyncio.wait_for

2018-08-07 Thread Alisue Lambda
Alisue Lambda added the comment: I use the following patch to fix the behavior in Windows. ``` import sys if sys.platform != 'win32': def patch(): pass else: def patch(): """Patch selectors.SelectSelector to fix WinError 10038 in Windows

[issue33350] WinError 10038 is raised when loop.sock_connect is wrapped with asyncio.wait_for

2018-04-24 Thread Alisue Lambda
Alisue Lambda <lambdali...@hashnote.net> added the comment: I've found an workaround. The point is that 'with s' should be included in a coroutine which will be timed-out. import asyncio import socket ADDR = ('10.0.2.1', 22) async def check(loop): s = socket.

[issue33350] WinError 10038 is raised when loop.sock_connect is wrapped with asyncio.wait_for

2018-04-24 Thread Alisue Lambda
Alisue Lambda <lambdali...@hashnote.net> added the comment: I should have mentioned that the script works well on macOS and Linux. This issue exists only on Windows. -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue33350] WinError 10038 is raised when loop.sock_connect is wrapped with asyncio.wait_for

2018-04-24 Thread Alisue Lambda
New submission from Alisue Lambda <lambdali...@hashnote.net>: This is my first time to create an issue on the python bug tracker so let me know if I don't follow the rule which I need to follow. # Summary Using 'loop.sock_connect' with 'asyncio.wait_for' raises 'OSError [WinError