asyncio extension package for pyserial
Python
Switch branches/tags
Nothing to show
Clone or download
andrewleech and rob-smallshire Windows: handle serial errors when the device is removed (#38)
* Windows: detect serial port error in _poll_read()

On windows, _poll_read() is typically the first function to throw an exception when the serial port disappears.
The exception is currently lost on the event loop, this catches it and escalates to a fatal_error

* Windows: when closing, ignore errors in flush
Latest commit cf256c6 Jul 27, 2018

README.rst