Michael Foord added the comment:

So the proposed fix does the backslashreplace for errors and then re-decodes, 
allowing the encode in the stream to work. That seems like a good fix.

----------

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

Reply via email to