gijzelaerr / python-snap7

A Python wrapper for the snap7 PLC communication library
http://python-snap7.readthedocs.org/
MIT License
643 stars 246 forks source link

fix set_string #368

Closed swamper123 closed 2 years ago

swamper123 commented 2 years ago

fix and add doc for set_string() fix possible out of range error in set_string() fix doc in get_string() add non-ascii check and test

fixes #291 and #366

swamper123 commented 2 years ago

When #369 is merged, this branch will be rebased on it. It fails, because 3.6 doesn't support str.isascii() function.