[issue32396] Implement method to write/read to serials without blocking on windows with asyncio

2022-03-12 Thread Andrew Svetlov
Andrew Svetlov added the comment: No activity, closing. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ __

[issue32396] Implement method to write/read to serials without blocking on windows with asyncio

2017-12-22 Thread Andrew Svetlov
Andrew Svetlov added the comment: Looking on serial port support in twisted (https://github.com/twisted/twisted/blob/trunk/src/twisted/internet/_win32serialport.py) I see that it is implemented by OVERLAPPED structure and ReadFile/WriterFile calls. On other hand loop.sock_send() in ProactorE

[issue32396] Implement method to write/read to serials without blocking on windows with asyncio

2017-12-21 Thread jabdoa
New submission from jabdoa : This is a follow up to Issue30539. The main issue is that serial ports on windows do not behave like socket on unix. Therefore, pyserial-asyncio cannot use the asyncio socket api. Can we implement serial_recv and serial_send in asyncio? This would help to create a