cpython/Modules/_io
Victor Stinner f86a5e8a93 Close #11022: TextIOWrapper doesn't call locale.setlocale() anymore
open() and io.TextIOWrapper are now calling locale.getpreferredencoding(False)
instead of locale.getpreferredencoding() in text mode if the encoding is not
specified. Don't change temporary the locale encoding using locale.setlocale(),
use the current locale encoding instead of the user preferred encoding.

Explain also in open() documentation that locale.getpreferredencoding(False) is
called if the encoding is not specified.
2012-06-05 13:43:22 +02:00
..
_iomodule.c Close #11022: TextIOWrapper doesn't call locale.setlocale() anymore 2012-06-05 13:43:22 +02:00
_iomodule.h Issue #14437: Fix building the _io module under Cygwin. 2012-03-31 23:50:31 +02:00
bufferedio.c Backing out 86dc014cdd74. Not ready yet 2012-04-26 17:05:31 +02:00
bytesio.c Issue #8914: fix various warnings from the Clang static analyzer v254. 2011-02-22 20:15:44 +00:00
fileio.c #4841: Fix FileIO constructor to honor closefd when called repeatedly 2012-05-25 10:27:43 +02:00
iobase.c use new generic __dict__ descriptor implementations 2012-02-19 20:02:57 -05:00
stringio.c Issue #14387: Do not include accu.h from Python.h. 2012-03-22 14:42:18 +01:00
textio.c Close #11022: TextIOWrapper doesn't call locale.setlocale() anymore 2012-06-05 13:43:22 +02:00