minimalmodbus icon indicating copy to clipboard operation
minimalmodbus copied to clipboard

Feature request: use bytes instead of str

Open j123b567 opened this issue 4 years ago • 1 comments
trafficstars

May be little bit late (I missed the refactoring to python3 only version)

When the only supported version of python is python3, isn't it possible to finally use bytes for bytes and not latin1 str?

j123b567 avatar Oct 14 '21 12:10 j123b567

Hi! Yes, you are right. The planned conversion is outlined in https://minimalmodbus.readthedocs.io/en/stable/develop.html#todo

pyhys avatar Oct 18 '21 12:10 pyhys

I plan to do this change for next release.

pyhys avatar Jul 09 '23 23:07 pyhys

This is now implemented in the latest release.

pyhys avatar Jul 17 '23 20:07 pyhys