SilentGhost <ghost....@runbox.com> added the comment:

Why are you using this type of encoding on this bytes object? It specifically 
says in its description that "Existing backslashes are not escaped in any 
way.". If you'd use unicode_escape instead, you would be able to round-trip 
back to your original string.

----------
components: +Unicode
nosy: +SilentGhost, ezio.melotti, vstinner
status: open -> pending
type:  -> behavior

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

Reply via email to