This does not work properly in Python 3.x in version 0.2.2 and earlier
from smbus2 import i2c_msg
address = 80
msg1 = i2c_msg.write(address, 'ABC\xff') # Notice value 0xFF (255) as last value
msg2 = i2c_msg.write(address, [65, 66, 67, 255]) # Same same, just using list instead
msg1.len == msg2.len # False in Python 3.x !!
This does not work properly in Python 3.x in version 0.2.2 and earlier