STINNER Victor <victor.stin...@haypocalc.com> added the comment: Attached patch replaces locale.getpreferredencoding() by locale.getpreferredencoding(False) in _io.TextIOWrapper and _pyio.TextIOWrapper.
---------- keywords: +patch Added file: http://bugs.python.org/file20637/io_dont_set_locale.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11022> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com