PySerial "write" should accept "bytearray"

John Nagle nagle at animats.com
Sat Feb 14 16:19:34 EST 2009


   PySerial, which is basically a binary input/output system, is
still requiring "str" instead of "bytearray", even under Python 2.6.
For "file-like objects", "write" functions are supposed to accept
"bytearray" now, and "read" functions should return a "bytearray".

				John Nagle



More information about the Python-list mailing list