Serhiy Storchaka added the comment:

You can concatenate any object supporting the buffer protocol to bytes and 
bytearray.

Current error message for bytes looks awkward too, because it says "bytes to 
othertype" instead of "othertype to bytes".

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29116>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to