Re: PySerial "write" should accept "bytearray"

2009-02-14 Thread Grant Edwards
On 2009-02-14, John Nagle wrote: > 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 "byte

Re: PySerial "write" should accept "bytearray"

2009-02-14 Thread Tino Wildenhain
John Nagle wrote: 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". I'm sure pa

PySerial "write" should accept "bytearray"

2009-02-14 Thread John Nagle
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".