Thank you. This is good to know. I was rather frustrated to find binary data handling being changed with no easy translation in Python 3.
Here is another annoyance:
In [207]: 'abc'[0] + 'def'
Out[207]: 'adef'
In [208]: b'abc'[0] + b'def'
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-208-458c625ec231> in <module>()
----> 1 b'abc'[0] + b'def'
TypeError: unsupported operand type(s) for +: 'int' and 'bytes'