cpython/Modules
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
..
_ctypes Issue #9041: raised exception is misleading 2012-05-28 14:47:53 -05:00
_decimal word.digits are always initialized before use in the Taylor series loop, 2012-06-01 10:58:16 +02:00
_io Close #11022: TextIOWrapper doesn't call locale.setlocale() anymore 2012-06-05 13:43:22 +02:00
_multiprocessing Make multiprocessing's shared memory use memoryview instead of raw pointer 2012-05-26 22:09:59 +01:00
_sqlite Merge branch '3.2' 2012-02-21 13:59:40 +02:00
cjkcodecs Replace PyUnicode_FromUnicode(NULL, 0) by PyUnicode_New(0, 0) 2011-12-01 03:18:59 +01:00
expat Fixes Issue 14234: fix for the previous commit, keep compilation when 2012-03-14 18:10:37 -07:00
zlib
_bisectmodule.c Issue #14829: Fix bisect and range() indexing with large indices (>= 2 ** 32) under 64-bit Windows. 2012-05-16 14:39:36 +02:00
_bz2module.c Merge #13159: Replace FileIO's quadratic-time buffer growth algorithm with a linear-time one. 2011-10-13 13:38:14 +02:00
_codecsmodule.c #13406: fix more deprecation warnings and move the deprecation of unicode-internal earlier in the code. 2011-11-17 12:23:34 +02:00
_collectionsmodule.c Issue #14288: Serialization support for builtin iterators. 2012-04-03 10:49:41 +00:00
_cryptmodule.c
_csv.c Issue #14732: The _csv module now uses PEP 3121 module initialization. 2012-05-16 11:33:08 +02:00
_curses_panel.c
_cursesmodule.c fix compiler warnings 2012-03-14 18:21:35 -05:00
_datetimemodule.c Issue #14180: datetime.date.fromtimestamp(), datetime.datetime.fromtimestamp() 2012-03-14 00:15:40 +01:00
_dbmmodule.c Implement PEP 393. 2011-09-28 07:41:54 +02:00
_elementtree.c Fix unterminated keyword array passed to PyArg_ParseTupleAndKeywords 2012-06-03 06:09:42 +03:00
_functoolsmodule.c use new generic __dict__ descriptor implementations 2012-02-19 20:02:57 -05:00
_gdbmmodule.c
_gestalt.c Fix misuse of PyUnicode_GET_SIZE() => PyUnicode_GET_LENGTH() 2011-11-21 02:49:52 +01:00
_hashopenssl.c Issue #13088: Add shared Py_hexdigits constant to format a number into base 16 2011-10-14 02:13:11 +02:00
_heapqmodule.c
_json.c Check newly created consistency using _PyUnicode_CheckConsistency(str, 1) 2012-04-27 13:55:39 +02:00
_localemodule.c Issue #14909: A number of places were using PyMem_Realloc() apis and 2012-05-31 09:37:31 +00:00
_lsprof.c
_lzmamodule.c Silence VS 2010 warning on loss of precision (_int64 -> _int32). 2012-05-15 14:06:21 +02:00
_math.c
_math.h
_pickle.c cleanup Ellipsis and NotImplemented strings after we're done 2012-03-16 18:45:31 -05:00
_posixsubprocess.c Issue #14359: Only use O_CLOEXEC in _posixmodule.c if it is defined. 2012-03-19 06:08:43 +02:00
_randommodule.c Issue #14909: A number of places were using PyMem_Realloc() apis and 2012-05-31 09:37:31 +00:00
_scproxy.c
_sre.c closes #14259 re.finditer() now takes keyword arguments: pos, endpos. 2012-03-12 18:22:38 -06:00
_ssl.c Issue #14204: The ssl module now has support for the Next Protocol Negotiation extension, if available in the underlying OpenSSL library. 2012-03-22 00:23:03 +01:00
_struct.c Issue #3163: The struct module gets new format characters 'n' and 'N' 2011-10-06 15:27:40 +02:00
_testbuffer.c Issue #14779: Get sizeof(void *) directly rather than relying on sysconfig. 2012-05-16 20:41:56 +02:00
_testcapimodule.c Issue #14705: Add 'p' format character to PyArg_ParseTuple* for bool support. 2012-05-05 16:54:29 -07:00
_testembed.c
_threadmodule.c merge 3.2 2012-04-02 11:28:49 -04:00
_tkinter.c fix issue #5136: deprecate old unused functions from tkinter. 2012-03-31 19:36:39 +03:00
_weakref.c
_winapi.c Fix for Issue 14725 for 3.3 branch. 2012-05-05 19:45:37 +01:00
addrinfo.h
ar_beos
arraymodule.c Rename _PyIter_GetBuiltin to _PyObject_GetBuiltin, and do not include it in the stable ABI. 2012-04-05 00:04:20 +02:00
atexitmodule.c Issue #11826: Fix memory leak in atexitmodule. 2012-03-27 11:49:21 +02:00
audioop.c Issue #13806: The size check in audioop decompression functions was too strict and could reject valid compressed data. 2012-01-28 22:02:47 +01:00
binascii.c Issue #13637: "a2b" functions in the binascii module now accept ASCII-only unicode strings. 2011-12-20 13:58:41 +01:00
cmathmodule.c
config.c.in Issue #14605: Stop having implicit entries for sys.meta_path. 2012-04-27 14:01:58 -04:00
errnomodule.c Fix #13210. Port the Windows build from VS2008 to VS2010. 2012-05-13 11:19:23 -05:00
faulthandler.c Issue #14154: Reimplement the bigmem test memory watchdog as a subprocess. 2012-03-24 10:06:23 +01:00
fcntlmodule.c Issue #13324: fcntlmodule: Add the F_NOCACHE flag. Patch by Alex Stewart. 2011-11-02 18:58:25 +01:00
fpectlmodule.c
fpetestmodule.c
gc_weakref.txt Issue #13575: there is only one class type. 2011-12-12 18:54:29 +01:00
gcmodule.c Issue #14775: Fix a potential quadratic dict build-up due to the garbage collector repeatedly trying to untrack dicts. 2012-05-28 22:23:42 +02:00
getaddrinfo.c
getbuildinfo.c
getnameinfo.c
getpath.c Implemented PEP 405 (Python virtual environments). 2012-05-26 03:45:29 +01:00
grpmodule.c
hashlib.h
itertoolsmodule.c Add safecase to silence Win64 warning. 2012-05-15 14:34:58 +02:00
ld_so_aix.in
ld_so_beos
main.c Issue #14605: Use None in sys.path_importer_cache to represent no 2012-04-27 15:30:58 -04:00
makesetup
makexp_aix
mathmodule.c merge 3.2 2012-03-13 16:13:35 -05:00
md5module.c Check newly created consistency using _PyUnicode_CheckConsistency(str, 1) 2012-04-27 13:55:39 +02:00
mmapmodule.c Whitespace. 2012-03-06 15:37:36 +01:00
nismodule.c
operator.c Implement PEP 393. 2011-09-28 07:41:54 +02:00
ossaudiodev.c Rename _Py_identifier to _Py_IDENTIFIER. 2011-10-14 10:20:37 +02:00
parsermodule.c Issue #14741: Merge fix from 3.2. 2012-05-07 17:25:14 +01:00
posixmodule.c Issue #14711: os.stat_float_times() has been deprecated. 2012-06-05 01:22:15 +02:00
pwdmodule.c
pyexpat.c Issue #14007: implement doctype() method calling in XMLParser of _elementtree. 2012-06-01 11:32:34 +03:00
python.c Issue #3367: NULL-terminate argv[] copies to prevent an invalid access 2012-03-26 15:05:22 +02:00
readline.c Issue #10350: Read and save errno before calling a function which might overwrite it. 2011-12-16 12:29:37 +01:00
resource.c alias resource.error to OSError 2011-12-10 17:50:22 -05:00
rotatingtree.c
rotatingtree.h
selectmodule.c struct timeval.tv_usec is 4 bytes on 64-bit OS X as it should be, but 2012-04-07 14:59:29 -04:00
Setup.config.in
Setup.dist Merge 3.2, fix typos. 2011-11-11 19:39:25 +01:00
sha1module.c Check newly created consistency using _PyUnicode_CheckConsistency(str, 1) 2012-04-27 13:55:39 +02:00
sha256module.c Check newly created consistency using _PyUnicode_CheckConsistency(str, 1) 2012-04-27 13:55:39 +02:00
sha512module.c Check newly created consistency using _PyUnicode_CheckConsistency(str, 1) 2012-04-27 13:55:39 +02:00
signalmodule.c Issue #13964: signal.sigtimedwait() timeout is now a float instead of a tuple 2012-03-02 22:54:03 +01:00
socketmodule.c Issue #14310: inter-process socket duplication for windows 2012-04-07 11:23:31 +00:00
socketmodule.h Issue #13777: Add PF_SYSTEM sockets on OS X. 2012-02-03 17:44:58 +01:00
spwdmodule.c
sre.h merge 3.2 (#14212) 2012-03-07 14:59:13 -06:00
sre_constants.h
symtablemodule.c
syslogmodule.c #14416: conditionally add LOG_AUTHPRIV facility and LOG_ODELAY to syslog. 2012-03-29 07:15:45 -04:00
termios.c
testcapi_long.h Issue #9530: Fix undefined behaviour due to signed overflow in testcapi_long.h. 2011-11-19 17:58:15 +00:00
timemodule.c strip is_ prefixes on clock_info fields 2012-05-01 09:38:34 -04:00
tkappinit.c Avoid main_window unused compiler warning. 2012-03-13 23:21:53 -07:00
tkinter.h
unicodedata.c Issue #14909: A number of places were using PyMem_Realloc() apis and 2012-05-31 09:37:31 +00:00
unicodedata_db.h update to Unicode 6.1 2012-02-20 22:24:29 -05:00
unicodename_db.h update to Unicode 6.1 2012-02-20 22:24:29 -05:00
xxlimited.c
xxmodule.c
xxsubtype.c
zipimport.c capitialize enum members 2012-05-25 10:22:29 -07:00
zlibmodule.c Issue #12306: Add ZLIB_RUNTIME_VERSION to the zlib module. 2011-09-12 00:04:13 +02:00