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

2017-12-21 Thread jabdoa
New submission from jabdoa <jan-pyt...@kantert.net>: 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 a

[issue30539] Make Proactor public in asyncio.ProactorEventLoop

2017-06-01 Thread jabdoa
New submission from jabdoa: pyserial-asyncio cannot use IOCP for serial sockets on windows because _proactor is private on the ProactorEventLoop. Can it be made public? Currently, pyserial-asyncio has to rely on polling for windows which is suboptimal. Some forks use Proactor (e.g. https