Amaury Forgeot d'Arc added the comment:
The patch looks good to me.
But it seems that the reverse operation is not possible in the general case:
.decode('unicode_escape') assumes a latin-1 or ascii encoding.
Should we document this?
----------
nosy: +amaury.forgeotdarc
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue19676>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com