Vajrasky Kok added the comment: Attached the *preliminary* patch to address R. David Murray's request.
It does not address the case where we send raw utf-8 bytes to payload. Maybe we should handle that in different ticket. msg.set_payload(b'\xd0\x90\xd0\x91\xd0\x92') ==> chucks ---------- Added file: http://bugs.python.org/file32447/fix_8bit_data_charset_none_set_payload_v2.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19063> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com