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

jabdoa report at bugs.python.org
Thu Dec 21 07:42:09 EST 2017


New submission from jabdoa <jan-python at 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 asyncio? This would help to create a true platform independent implementation. On Linux and Mac serial_send/recv could probably just call to socket_sendall/recv. On Windows this would map to ProactorEventLoop.send/recv.

----------
components: asyncio
messages: 308869
nosy: asvetlov, jabdoa, yselivanov
priority: normal
severity: normal
status: open
title: Implement method to write/read to serials without blocking on windows with asyncio
versions: Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32396>
_______________________________________


More information about the New-bugs-announce mailing list