PySerial readline io.RawIOBase eol not supported
Brought to you by:
cliechti
It appears that PySerial 2.5 now uses io.RawIOBase for readline/readlines support. My code currently relies on specifying an eol parameter (\x03) to readline. Since io.RawIOBase does not support this keyword, the upgrade to v2.5 broke my code. It appears that FileLike does support the eol parameter. Will FileLike be going away anytime soon, or could we continue to rely on this class for legacy support?
Yes it uses the io module when available, which has a different readline.
FileLike is only used when the io module is not available. It will be there as long as pySerial supports older Pythons than 2.6. There is currently no plan to change that.
Alternative readline functions could be provided as mix-in class or as part of a helper module. But there is currently no plan to actually implement this.
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).