Open SeDi343 opened 8 months ago
If I'm not mistaken (since I have not work on this code for years), in_waiting
is used in pyserial and other APIs that do not expect an exception unless something not recoverable (such as the communication port being closed) occurs.
The semantic might have changed since the initial development of this file, so maybe it is no longer the case, but if it has not, it would not possible to change the behavior of this function without breaking its purpose unfortunately...
Ended up using serial, since those properties are mandatory for me.
I was debugging more than half a day why my readup thread is not working using this properties. Please consider raising an NotImplemented(). To reduce unnecessary waste of time for developers.
pyftdi/serialext/protocol_ftdi.py