PySerial "write" should accept "bytearray"

Tino Wildenhain tino at wildenhain.de
Sat Feb 14 21:54:25 CET 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?

Regards
Tino
-------------- 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: <http://mail.python.org/pipermail/python-list/attachments/20090214/b3674a4a/attachment.bin>


More information about the Python-list mailing list