Kushal Das added the comment:

Here is a new patch which uses stream.encoding instead getting the encoding 
from the locale as suggested by David. It also contains the new test.

----------
Added file: http://bugs.python.org/file34807/issue21169_v5.patch

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

Reply via email to