PySerial "write" should accept "bytearray"

Tino Wildenhain tino at
Sat Feb 14 15:54:25 EST 2009

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 patches are welcome. And did you copy the pyserial author?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3241 bytes
Desc: S/MIME Cryptographic Signature
URL: <>

More information about the Python-list mailing list