Kushal Das added the comment: All the decoders create bytes as result, not sure how to assume if the result should be bytes or bytearray. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue17842> _______________________________________