summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 75659 via svnmerge fromR. David Murray2010-08-012-3/+9
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk Only the try/except was backported; owner and group were added in 2.7, as was the test file. ........ r75659 | tarek.ziade | 2009-10-24 09:29:44 -0400 (Sat, 24 Oct 2009) | 1 line #7066 - Fixed distutils.archive_util.make_archive behavior so it restores the cwd ........
* Unblocked revisions 75659 via svnmergeR. David Murray2010-08-010-0/+0
| | | | | | | | ........ r75659 | tarek.ziade | 2009-10-24 09:29:44 -0400 (Sat, 24 Oct 2009) | 1 line #7066 - Fixed distutils.archive_util.make_archive behavior so it restores the cwd ........
* #2986: document SequenceMatcher heuristic.Georg Brandl2010-07-311-0/+5
|
* Merged revisions 83241 via svnmerge fromMark Dickinson2010-07-292-0/+5
| | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/release27-maint ................ r83241 | mark.dickinson | 2010-07-29 22:44:47 +0100 (Thu, 29 Jul 2010) | 9 lines Merged revisions 83239 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83239 | mark.dickinson | 2010-07-29 22:41:59 +0100 (Thu, 29 Jul 2010) | 2 lines Issue #9422: Fix memory leak when re-initializing a struct.Struct object. ........ ................
* Issue #5006: Better handling of unicode byte-order marks (BOM) in the ioVictor Stinner2010-07-283-0/+55
| | | | | library. This means, for example, that opening an UTF-16 text file in append mode doesn't add a BOM at the end of the file if the file isn't empty.
* Merged revisions 83198 via svnmerge fromVictor Stinner2010-07-283-3/+28
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/release27-maint ........ r83198 | victor.stinner | 2010-07-28 03:39:45 +0200 (mer., 28 juil. 2010) | 3 lines Issue #6213: Implement getstate() and setstate() methods of utf-8-sig and utf-16 incremental encoders. ........
* Blocked revisions 83192 via svnmergeEzio Melotti2010-07-270-0/+0
| | | | | | | | | | | | | | | | | | | ................ r83192 | ezio.melotti | 2010-07-28 02:45:05 +0300 (Wed, 28 Jul 2010) | 13 lines Merged revisions 83183,83186 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83183 | ezio.melotti | 2010-07-28 01:03:33 +0300 (Wed, 28 Jul 2010) | 1 line Use proper skips and assert* methods in test_asyncore. ........ r83186 | ezio.melotti | 2010-07-28 01:24:13 +0300 (Wed, 28 Jul 2010) | 1 line With skipUnless there is no need to add test classes conditionally. ........ ................
* Merged revisions 83145 via svnmerge fromGregory P. Smith2010-07-253-18/+30
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/release27-maint ........ r83145 | gregory.p.smith | 2010-07-25 12:11:36 -0700 (Sun, 25 Jul 2010) | 3 lines Fixes issue #3704: cookielib was not properly handling URLs with a / in the parameters. ........
* Merged revisions 83135 via svnmerge fromRonald Oussoren2010-07-241-1/+5
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/release27-maint ................ r83135 | ronald.oussoren | 2010-07-24 15:21:29 +0100 (Sat, 24 Jul 2010) | 12 lines Merged revisions 83133 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83133 | ronald.oussoren | 2010-07-24 15:15:19 +0100 (Sat, 24 Jul 2010) | 5 lines Fix for issue 9367: the test code for os.getgroups assumes that the result of getgroups and the output of the id(1) command return groups in the same order. That assumption is both fragile and false. ........ ................
* Merged revisions 83098 via svnmerge fromRonald Oussoren2010-07-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/release27-maint ................ r83098 | ronald.oussoren | 2010-07-23 17:12:28 +0100 (Fri, 23 Jul 2010) | 19 lines Merged revisions 83096 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83096 | ronald.oussoren | 2010-07-23 17:05:35 +0100 (Fri, 23 Jul 2010) | 13 lines Ensure that sys.prefix can reliably be found on OSX. This fixes a small issue that was exposed by running test_subprocess through regrtest (and hence in a subdirectory). Without this patch running python.exe from the build tree will fail when these tree conditions are true: 1) the CWD is not the root of build tree 2) python.exe is found through $PATH 3) the framework is not yet installed ........ ................
* Merged revisions 83124 via svnmerge fromRonald Oussoren2010-07-243-8/+94
| | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/release27-maint ................ r83124 | ronald.oussoren | 2010-07-24 10:46:41 +0100 (Sat, 24 Jul 2010) | 15 lines Merged revisions 83088 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83088 | ronald.oussoren | 2010-07-23 14:53:51 +0100 (Fri, 23 Jul 2010) | 8 lines This fixes issue7900 by adding code that deals with the fact that getgroups(2) might return more that MAX_GROUPS on OSX. See the issue (and python-dev archives) for the gory details. Summarized: OSX behaves rather oddly and Apple says this is intentional. ........ ................
* Merged revisions 83117 via svnmerge fromVictor Stinner2010-07-243-1/+11
| | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/release27-maint ................ r83117 | victor.stinner | 2010-07-24 03:07:52 +0200 (sam., 24 juil. 2010) | 11 lines Merged revisions 83116 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83116 | victor.stinner | 2010-07-24 02:49:20 +0200 (sam., 24 juil. 2010) | 4 lines Issue #4629: getopt raises an error if an argument ends with = whereas getopt doesn't except a value (eg. --help= is rejected if getopt uses ['help='] long options). ........ ................
* Merged revisions 83105 via svnmerge fromEzio Melotti2010-07-231-1/+1
| | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/release27-maint ................ r83105 | ezio.melotti | 2010-07-23 19:55:21 +0300 (Fri, 23 Jul 2010) | 9 lines Merged revisions 83103 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83103 | ezio.melotti | 2010-07-23 19:48:22 +0300 (Fri, 23 Jul 2010) | 1 line #9359: fix typo. Thanks to Piotr Kasprzyk for the patch. ........ ................
* Merged revisions 83085 via svnmerge fromRonald Oussoren2010-07-233-11/+71
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/release27-maint ................ r83085 | ronald.oussoren | 2010-07-23 13:41:00 +0100 (Fri, 23 Jul 2010) | 12 lines Merged revisions 83075 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83075 | ronald.oussoren | 2010-07-23 12:54:59 +0100 (Fri, 23 Jul 2010) | 5 lines Fix for issue 7895. Avoid crashing the interpreter when calling platform.mac_ver after calling os.fork by reading from a system configuration file instead of using OSX APIs. ........ ................
* Merged revisions 83079 via svnmerge fromRonald Oussoren2010-07-231-0/+14
| | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/release27-maint ................ r83079 | ronald.oussoren | 2010-07-23 13:26:30 +0100 (Fri, 23 Jul 2010) | 15 lines Merged revisions 83067 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83067 | ronald.oussoren | 2010-07-23 10:50:05 +0100 (Fri, 23 Jul 2010) | 8 lines Workaround for issue 4047: in some configurations of the Crash Reporter on OSX test_subprocess will trigger the reporter. This patch prints a warning when the Crash Reporter will get triggered intentionally, which should avoid confusing people. ........ ................
* Merged revisions 83031 via svnmerge fromAntoine Pitrou2010-07-214-2/+24
| | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/release27-maint ................ r83031 | antoine.pitrou | 2010-07-21 18:47:28 +0200 (mer., 21 juil. 2010) | 11 lines Merged revisions 83030 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83030 | antoine.pitrou | 2010-07-21 18:41:31 +0200 (mer., 21 juil. 2010) | 5 lines Issue #5395: check that array.fromfile() re-raises an IOError instead of replacing it with EOFError. (this is only an added test, but 2.x will get a fix too) ........ ................
* Merged revisions 83007 via svnmerge fromBrian Curtin2010-07-211-3/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/release27-maint ........ r83007 | brian.curtin | 2010-07-20 20:35:46 -0500 (Tue, 20 Jul 2010) | 2 lines Fix #9316. if/is grammar corrections. ........
* Fixed #9310: backported logging fix from 2.7.Vinay Sajip2010-07-202-1/+10
|
* Merged revisions 82980 via svnmerge fromStefan Krah2010-07-192-1/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/release27-maint ........ r82980 | stefan.krah | 2010-07-19 20:06:46 +0200 (Mon, 19 Jul 2010) | 3 lines Sub-issue of #9036: Fix incorrect use of Py_CHARMASK. ........
* Add missing import of errno.Stefan Krah2010-07-191-0/+1
|
* Merged revisions 82853-82854 via svnmerge fromStefan Krah2010-07-192-1/+26
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/release27-maint ........ r82853 | stefan.krah | 2010-07-13 21:17:08 +0200 (Tue, 13 Jul 2010) | 4 lines Issue #9185: On Solaris and OpenBSD, posix_getcwd() could loop indefinitely if the path length exceeded PATH_MAX. ........ r82854 | stefan.krah | 2010-07-13 21:40:00 +0200 (Tue, 13 Jul 2010) | 3 lines Remove PYOS_OS2 special cases from the Solaris/OpenBSD section. ........
* Merged revisions 82973 via svnmerge fromStefan Krah2010-07-192-0/+21
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/release27-maint ........ r82973 | stefan.krah | 2010-07-19 16:41:08 +0200 (Mon, 19 Jul 2010) | 4 lines Issue #9265: Incorrect name passed as arg[0] when shell=True and executable specified. ........
* Merged revisions 82969 via svnmerge fromStefan Krah2010-07-191-6/+1
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/release27-maint ........ r82969 | stefan.krah | 2010-07-19 15:14:01 +0200 (Mon, 19 Jul 2010) | 14 lines Issue #9036: Throughout the code base, Py_CHARMASK is used on 8-bit wide signed/unsigned chars or on integers directly derived from those. In all cases, it could be replaced by a simple cast to (unsigned char). Reasons for the change: a) Make the comment more explicit. b) If char is unsigned, the cast is optimized away. c) If char is unsigned, gcc emits spurious "array subscript has type 'char'" warnings. ........
* Merged revisions 82945 via svnmerge fromMark Dickinson2010-07-182-2/+7
| | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/release27-maint ................ r82945 | mark.dickinson | 2010-07-18 08:55:55 +0100 (Sun, 18 Jul 2010) | 14 lines Merged revisions 82941,82943 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82941 | mark.dickinson | 2010-07-18 08:29:02 +0100 (Sun, 18 Jul 2010) | 3 lines Issue #9277: Struct module: standard bool packing was incorrect if char is unsigned. Thanks Stefan Krah for the patch. ........ r82943 | mark.dickinson | 2010-07-18 08:48:20 +0100 (Sun, 18 Jul 2010) | 1 line Misc/NEWS entry for r82941. ........ ................
* Merged revisions 82929 via svnmerge fromStefan Krah2010-07-171-10/+12
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/release27-maint ........ r82929 | stefan.krah | 2010-07-17 14:21:08 +0200 (Sat, 17 Jul 2010) | 4 lines Issue #7384: On Gentoo, libreadline.so is a "fake library", so ldd fails. In that case, do not attempt to parse stderr output. ........
* Merged revisions 82924 via svnmerge fromR. David Murray2010-07-173-0/+40
| | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/release27-maint ................ r82924 | r.david.murray | 2010-07-16 21:35:16 -0400 (Fri, 16 Jul 2010) | 11 lines Merged revisions 82922 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82922 | r.david.murray | 2010-07-16 21:19:57 -0400 (Fri, 16 Jul 2010) | 4 lines #1555570: correctly handle a \r\n that is split by the read buffer. Patch and test by Tony Nelson. ........ ................
* Merged revisions 82897 via svnmerge fromSenthil Kumaran2010-07-141-1/+1
| | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/release27-maint ................ r82897 | senthil.kumaran | 2010-07-15 01:52:17 +0530 (Thu, 15 Jul 2010) | 9 lines Merged revisions 82895 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82895 | senthil.kumaran | 2010-07-15 01:40:52 +0530 (Thu, 15 Jul 2010) | 3 lines Fix a mistake, https proxy shoud be https:// ........ ................
* Merged revisions 82892 via svnmerge fromSenthil Kumaran2010-07-141-0/+1
| | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/release27-maint ................ r82892 | senthil.kumaran | 2010-07-15 00:55:26 +0530 (Thu, 15 Jul 2010) | 9 lines Merged revisions 82890 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82890 | senthil.kumaran | 2010-07-15 00:45:23 +0530 (Thu, 15 Jul 2010) | 3 lines Fix: Issue6853 - Get HTTPS system proxy in Windows. ........ ................
* Merged revisions 82883 via svnmerge fromSenthil Kumaran2010-07-142-69/+32
| | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/release27-maint ................ r82883 | senthil.kumaran | 2010-07-14 16:09:35 +0530 (Wed, 14 Jul 2010) | 9 lines Merged revisions 82881 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82881 | senthil.kumaran | 2010-07-14 15:51:22 +0530 (Wed, 14 Jul 2010) | 3 lines Fix Issue5842 - Moving the tests out of urllib.parse module ........ ................
* Merged revisions 82877 via svnmerge fromStefan Krah2010-07-141-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/release27-maint ........ r82877 | stefan.krah | 2010-07-14 12:06:07 +0200 (Wed, 14 Jul 2010) | 3 lines High byte is the exit status. ........
* Merged revisions 82791 via svnmerge fromRonald Oussoren2010-07-112-2/+3
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/release27-maint ........ r82791 | ronald.oussoren | 2010-07-11 10:52:52 +0200 (Sun, 11 Jul 2010) | 4 lines Fix for issue #9164: with this patch sysconfig and distuls don't break when duplicate '-arch foo' flags end up in CFLAGS (which may happen when building a universal build using macports) ........
* Merged revisions 82787 via svnmerge fromSenthil Kumaran2010-07-111-8/+2
| | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/release27-maint ................ r82787 | senthil.kumaran | 2010-07-11 10:41:10 +0530 (Sun, 11 Jul 2010) | 9 lines Merged revisions 82785 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82785 | senthil.kumaran | 2010-07-11 10:31:52 +0530 (Sun, 11 Jul 2010) | 3 lines Issue2007: Removing reference to MSIE Cookie handling by mechanize. Suggested by John J Lee. ........ ................
* Merged revisions 82782 via svnmerge fromSenthil Kumaran2010-07-112-1/+5
| | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/release27-maint ................ r82782 | senthil.kumaran | 2010-07-11 08:48:51 +0530 (Sun, 11 Jul 2010) | 9 lines Merged revisions 82780 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82780 | senthil.kumaran | 2010-07-11 08:42:43 +0530 (Sun, 11 Jul 2010) | 3 lines Stricter verification for file based url scheme and reliance on ftp protocol. ........ ................
* Merged revisions 82773 via svnmerge fromR. David Murray2010-07-101-0/+5
| | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/release27-maint ................ r82773 | r.david.murray | 2010-07-10 10:25:18 -0400 (Sat, 10 Jul 2010) | 9 lines Merged revisions 82771 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82771 | r.david.murray | 2010-07-10 10:23:36 -0400 (Sat, 10 Jul 2010) | 2 lines Add missing docs for re module 'purge' function. ........ ................
* Merged revisions 82769 via svnmerge fromR. David Murray2010-07-102-1/+10
| | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/release27-maint ................ r82769 | r.david.murray | 2010-07-10 10:06:51 -0400 (Sat, 10 Jul 2010) | 15 lines Merged revisions 82766 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k Since 'purge' is an API change, modified it to be _purge for 2.x and deleted the doc update. ........ r82766 | r.david.murray | 2010-07-10 09:52:13 -0400 (Sat, 10 Jul 2010) | 5 lines Fix 'refleak' introduced by fnmatch cache purge tests. This introduces a 'purge' function for the fnmatch module analogous to the 'purge' function in the re module. ........ ................
* Merged revisions 82732,82734,82738 via svnmerge fromR. David Murray2010-07-094-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/release27-maint ................ r82732 | r.david.murray | 2010-07-09 09:16:00 -0400 (Fri, 09 Jul 2010) | 13 lines Merged revisions 82730 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k 'merge' in the sense that this is the same fix by the same author. ........ r82730 | r.david.murray | 2010-07-09 08:23:21 -0400 (Fri, 09 Jul 2010) | 4 lines 7846: limit fnmatch pattern cache to _MAXCACHE=100 entries. Patch by Andrew Clegg. ........ ................ r82734 | r.david.murray | 2010-07-09 09:17:45 -0400 (Fri, 09 Jul 2010) | 9 lines Merged revisions 82731 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82731 | r.david.murray | 2010-07-09 09:14:03 -0400 (Fri, 09 Jul 2010) | 2 lines Fix sort order mistake in Misc/ACKS. ........ ................ r82738 | r.david.murray | 2010-07-09 09:25:56 -0400 (Fri, 09 Jul 2010) | 2 lines Add missing NEWS entry for 7646. ................
* Merged revisions 82548,82634-82635 via svnmerge fromGeorg Brandl2010-07-096-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/release27-maint ................ r82548 | georg.brandl | 2010-07-04 19:28:33 +0200 (So, 04 Jul 2010) | 1 line #8472: fix misleading reference to ifilterfalse() in filter() docs. ................ r82634 | georg.brandl | 2010-07-07 21:05:35 +0200 (Mi, 07 Jul 2010) | 13 lines Merged revisions 82629,82632 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82629 | georg.brandl | 2010-07-07 20:51:43 +0200 (Mi, 07 Jul 2010) | 1 line Make comment out of an awkward note. ........ r82632 | georg.brandl | 2010-07-07 21:04:36 +0200 (Mi, 07 Jul 2010) | 1 line Turn more notes into comments. ........ ................ r82635 | georg.brandl | 2010-07-07 21:09:12 +0200 (Mi, 07 Jul 2010) | 9 lines Merged revisions 82615 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82615 | georg.brandl | 2010-07-07 00:58:50 +0200 (Mi, 07 Jul 2010) | 1 line Fix typo. ........ ................
* Recorded merge of revisions 82725 via svnmerge fromGeorg Brandl2010-07-090-0/+0
| | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/release27-maint ................ r82725 | georg.brandl | 2010-07-09 09:38:13 +0200 (Fr, 09 Jul 2010) | 9 lines Recorded merge of revisions 82724 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82724 | georg.brandl | 2010-07-09 09:33:15 +0200 (Fr, 09 Jul 2010) | 1 line 2.7 is now stable. ........ ................
* Initialized merge tracking via "svnmerge" with revisions "1-82726" fromGeorg Brandl2010-07-090-0/+0
| | | | svn+ssh://pythondev@svn.python.org/python/branches/release27-maint
* 2.7 is stable now.Georg Brandl2010-07-091-1/+1
|
* Issue #9136: Fix 'dictionary changed size during iteration'Mark Dickinson2010-07-082-15/+35
| | | | | | RuntimeError produced when profiling the decimal module. This was due to a dangerous iteration over 'locals()' in Context.__init__. (Backport of r82656 from release27-maint.)
* Fix Decimal speed issue; backport of r82652 from release27-maint.Mark Dickinson2010-07-084-50/+64
|
* Minor improvements to logging documentation.Vinay Sajip2010-07-061-43/+146
|
* Issue #9130: Fix validation of relative imports in parser module.Mark Dickinson2010-07-043-3/+26
|
* Issue #9128: Fix validation of class decorators in parser module.Mark Dickinson2010-07-043-8/+19
|
* Merged revisions 82492 via svnmerge fromVictor Stinner2010-07-033-74/+108
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82492 | victor.stinner | 2010-07-03 15:36:19 +0200 (sam., 03 juil. 2010) | 3 lines Issue #7673: Fix security vulnerability (CVE-2010-2089) in the audioop module, ensure that the input string length is a multiple of the frame size ........
* Fix markup.Georg Brandl2010-07-031-1/+1
|
* Merged revisions 82476 via svnmerge fromMark Dickinson2010-07-031-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82476 | mark.dickinson | 2010-07-03 10:15:09 +0100 (Sat, 03 Jul 2010) | 1 line Fix typo in sys.float_info docs. ........
* Merged revisions 81758-81759 via svnmerge fromEzio Melotti2010-07-034-73/+234
| | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81758 | ezio.melotti | 2010-06-05 20:51:07 +0300 (Sat, 05 Jun 2010) | 15 lines Update PyUnicode_DecodeUTF8 from RFC 2279 to RFC 3629. 1) #8271: when a byte sequence is invalid, only the start byte and all the valid continuation bytes are now replaced by U+FFFD, instead of replacing the number of bytes specified by the start byte. See http://www.unicode.org/versions/Unicode5.2.0/ch03.pdf (pages 94-95); 2) 5- and 6-bytes-long UTF-8 sequences are now considered invalid (no changes in behavior); 3) Add code and tests to reject surrogates (U+D800-U+DFFF) as defined in RFC 3629, but leave it commented out since it's not backward compatible; 4) Change the error messages "unexpected code byte" to "invalid start byte" and "invalid data" to "invalid continuation byte"; 5) Add an extensive set of tests in test_unicode; 6) Fix test_codeccallbacks because it was failing after this change. ........ r81759 | ezio.melotti | 2010-06-05 22:21:32 +0300 (Sat, 05 Jun 2010) | 1 line Add a NEWS entry for r81758 and clarify a comment. ........
* Merged revisions 82457,82459 via svnmerge fromEzio Melotti2010-07-021-23/+142
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82457 | ezio.melotti | 2010-07-03 01:17:29 +0300 (Sat, 03 Jul 2010) | 1 line #9139: Add examples for str.format(). ........ r82459 | ezio.melotti | 2010-07-03 01:50:39 +0300 (Sat, 03 Jul 2010) | 1 line #9139: the thousands separator is new in 2.7. Also add a missing variable in the example. ........