[issue4947] sys.stdout fails to use default encoding as advertised
report at bugs.python.org
Sat Aug 14 16:26:39 CEST 2010
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
> Your patch threatens to break compatibility
Yes it does. But I think that nobody relies on this bug. If your terminal uses something that utf-8, you will see strange characters if you write something else than ascii characters. I supopse that anybody facing this problem uses a workaround like replacing sys.stdout object, encode manually each string with the right encoding or something else.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list