From: Victor Stinner Date: Tue, 5 Jul 2011 09:34:18 +0000 (+0200) Subject: (merge 3.2) Issue #9611, #9015: FileIO.read() clamps the length to INT_MAX on Windows. X-Git-Tag: v3.3.0a1~1947 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d9fc85db7f644c36d8709af49c97bed62451e59a;p=thirdparty%2FPython%2Fcpython.git (merge 3.2) Issue #9611, #9015: FileIO.read() clamps the length to INT_MAX on Windows. --- d9fc85db7f644c36d8709af49c97bed62451e59a diff --cc Misc/NEWS index d4c92581ed87,ba0b55b27f49..e5e188ed4f54 --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -10,14 -10,8 +10,16 @@@ What's New in Python 3.3 Alpha 1 Core and Builtins ----------------- + - Issue #9611, #9015: FileIO.read() clamps the length to INT_MAX on Windows. + +- Issue #9642: Uniformize the tests on the availability of the mbcs codec, add + a new HAVE_MBCS define. + +- Issue #9642: Fix filesystem encoding initialization: use the ANSI code page + on Windows if the mbcs codec is not available, and fail with a fatal error if + we cannot get the locale encoding (if nl_langinfo(CODESET) is not available) + instead of using UTF-8. + - When a generator yields, do not retain the caller's exception state on the generator.