summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 83209 via svnmerge fromSenthil Kumaran2010-07-281-0/+11
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83209 | senthil.kumaran | 2010-07-28 21:57:56 +0530 (Wed, 28 Jul 2010) | 3 lines Fix Issue6325 - robotparse to honor urls with query strings. ........
* Fix merge of r83140 again.Alexander Belopolsky2010-07-281-0/+789
|
* Adding this file lost historyAlexander Belopolsky2010-07-281-214/+0
|
* Redo r83142 merge manually. QOTD: svnmerge isn't really your best friendAlexander Belopolsky2010-07-283-2/+2
|
* Reverted r83142: add Lib/test/test_trace.py backAlexander Belopolsky2010-07-281-0/+214
|
* Reverted r83142: bad svnmergeAlexander Belopolsky2010-07-283-810/+20
|
* Issue #6213: Implement getstate() and setstate() methods of utf-8-sig andVictor Stinner2010-07-281-2/+0
| | | | utf-16 incremental encoders.
* Merged revisions 83183,83186 via svnmerge fromEzio Melotti2010-07-271-97/+96
| | | | | | | | | | | | | | 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. ........
* Issue #7825: fix transient refleak in test_threadsignals.Florent Xicluna2010-07-271-1/+2
|
* Fix #7113. Patch by Łukasz Langa.Brian Curtin2010-07-261-2/+37
| | | | | Changes include using a list of lines instead of patching together using string interpolation, and a multi-line value test cases.
* Merged revisions 83152 via svnmerge fromAndrew M. Kuchling2010-07-251-0/+8
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83152 | andrew.kuchling | 2010-07-25 19:38:47 -0400 (Sun, 25 Jul 2010) | 1 line #777884: make .normalize() do nothing for childless nodes, instead of raising an exception ........
* Fixes issue #3704: cookielib was not properly handling URLs with a / in theGregory P. Smith2010-07-251-7/+21
| | | | parameters.
* Merged revisions 83140-83141 via svnmerge fromAlexander Belopolsky2010-07-253-47/+48
| | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83140 | alexander.belopolsky | 2010-07-25 11:02:55 -0400 (Sun, 25 Jul 2010) | 5 lines Issue #9315: Renamed test_trace to test_sys_settrace and test_profilehooks to test_sys_setprofile so that test_trace can be used for testing the trace module and for naming consistency. ........ r83141 | alexander.belopolsky | 2010-07-25 11:05:42 -0400 (Sun, 25 Jul 2010) | 1 line Corrected comments on where settrace and setprofile are tested. ........
* Merged revisions 83133 via svnmerge fromRonald Oussoren2010-07-241-1/+5
| | | | | | | | | | | | | 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 83088 via svnmerge fromRonald Oussoren2010-07-241-1/+52
| | | | | | | | | | | | | | | | 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. ........
* Forward port r70643 (#5542) + part of r83120 (just remove the comment)Victor Stinner2010-07-241-0/+31
| | | | | | | | Remove special logic that closes HTTPConnection socket on EPIPE. If the socket is closed, the client has no chance to read the response from the server. EPIPE means that it isn't possible to write more data from the socket, but not that it is impossible to read.
* Merged revisions 83116 via svnmerge fromVictor Stinner2010-07-241-0/+6
| | | | | | | | | | | | 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 83075 via svnmerge fromRonald Oussoren2010-07-231-0/+19
| | | | | | | | | | | | | 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 83067 via svnmerge fromRonald Oussoren2010-07-231-0/+14
| | | | | | | | | | | | | | | | 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. ........
* Reverting the checkin made in revision 82940, as it was adding new ↵Senthil Kumaran2010-07-221-107/+0
| | | | | | parameters to quote function in a bugfix release. Discussed in issue1712522
* Merged revisions 83030 via svnmerge fromAntoine Pitrou2010-07-211-0/+11
| | | | | | | | | | | | 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) ........
* Sub-issue of #9036: Fix incorrect use of Py_CHARMASK.Stefan Krah2010-07-191-0/+1
|
* Fix Issue9301 - urllib.quote(None) to raise TypeErrorSenthil Kumaran2010-07-191-0/+1
|
* Issue #9265: Incorrect name passed as arg[0] when shell=TrueStefan Krah2010-07-191-0/+19
| | | | and executable specified.
* Fixing Issue1712522 - urllib.quote to support Unicode. The defaultSenthil Kumaran2010-07-181-0/+107
| | | | encoding='utf-8' and errors='strict'.
* Merged revisions 82881 via svnmerge fromSenthil Kumaran2010-07-141-0/+32
| | | | | | | | | | 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 82850 via svnmerge fromAlexander Belopolsky2010-07-141-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82850 | alexander.belopolsky | 2010-07-13 10:50:16 -0400 (Tue, 13 Jul 2010) | 1 line Set sys.modules[name] to None instead of 0 to block module import. ........
* Issue #9185: On Solaris and OpenBSD, posix_getcwd() could loop indefinitelyStefan Krah2010-07-131-1/+7
| | | | if the path length exceeded PATH_MAX.
* Merged revisions 82821 via svnmerge fromMark Dickinson2010-07-111-0/+13
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82821 | mark.dickinson | 2010-07-11 19:53:06 +0100 (Sun, 11 Jul 2010) | 3 lines Issue #9137: Fix issue in MutableMapping.update, which incorrectly treated keyword arguments called 'self' or 'other' specially. ........
* Merged revisions 82780 via svnmerge fromSenthil Kumaran2010-07-111-0/+3
| | | | | | | | | | 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 82777 via svnmerge fromBenjamin Peterson2010-07-101-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82777 | benjamin.peterson | 2010-07-10 10:14:45 -0500 (Sat, 10 Jul 2010) | 1 line ValueError is eventually what we want to move to, I suppose ........
* Merged revisions 82766 via svnmerge fromR. David Murray2010-07-101-0/+5
| | | | | | | | | | | | | | | | 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. ........
* this makes checking for warnings less error proneBenjamin Peterson2010-07-091-3/+2
|
* Merged revisions 82739,82741 via svnmerge fromBenjamin Peterson2010-07-091-3/+4
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82739 | benjamin.peterson | 2010-07-09 08:28:42 -0500 (Fri, 09 Jul 2010) | 1 line allow more exceptions ........ r82741 | benjamin.peterson | 2010-07-09 08:31:11 -0500 (Fri, 09 Jul 2010) | 1 line wrap ........
* Merged revisions 82735 via svnmerge fromBenjamin Peterson2010-07-091-1/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82735 | benjamin.peterson | 2010-07-09 08:20:40 -0500 (Fri, 09 Jul 2010) | 1 line OverflowError is fine ........
* Merged revisions 82730 via svnmerge fromR. David Murray2010-07-091-1/+10
| | | | | | | | | | | | | | 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. ........
* Merged revisions 82646,82649-82650 via svnmerge fromMark Dickinson2010-07-082-41/+48
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82646 | mark.dickinson | 2010-07-08 18:23:40 +0100 (Thu, 08 Jul 2010) | 1 line In test_decimal, convert heuristic for skipping tests into an explicit skiplist. ........ r82649 | mark.dickinson | 2010-07-08 20:03:34 +0100 (Thu, 08 Jul 2010) | 1 line Fix a performance issue in Decimal.pow. Thanks Stefan Krah for finding this. ........ r82650 | mark.dickinson | 2010-07-08 20:09:16 +0100 (Thu, 08 Jul 2010) | 1 line Fix misplaced exactness check that was causing unnecessary work in Decimal.__pow__. ........
* Merged revisions 82647 via svnmerge fromAntoine Pitrou2010-07-081-0/+10
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82647 | antoine.pitrou | 2010-07-08 20:51:30 +0200 (jeu., 08 juil. 2010) | 3 lines Issue #8605: Skip test_gdb if Python is compiled with optimizations. ........
* Merged revisions 82637 via svnmerge fromBenjamin Peterson2010-07-071-4/+8
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82637 | benjamin.peterson | 2010-07-07 17:45:06 -0500 (Wed, 07 Jul 2010) | 1 line ValueError in this case is also acceptable ........
* Merged revisions 82628,82630 via svnmerge fromBenjamin Peterson2010-07-071-2/+8
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82628 | benjamin.peterson | 2010-07-07 13:44:05 -0500 (Wed, 07 Jul 2010) | 1 line this needn't be in the loop ........ r82630 | benjamin.peterson | 2010-07-07 13:54:59 -0500 (Wed, 07 Jul 2010) | 1 line don't ignore exceptions from PyObject_IsTrue ........
* these tests are the result of cpython's incorrect implementationBenjamin Peterson2010-07-071-5/+0
|
* be more generous to implementations that have implemented correctlyBenjamin Peterson2010-07-051-2/+2
|
* Issue #9130: Fix validation of relative imports in parser module.Mark Dickinson2010-07-041-0/+20
|
* Issue #9128: Validate class decorator syntax correctly in parser module.Mark Dickinson2010-07-041-0/+8
|
* Issue #9145: Fix a regression due to r79539Florent Xicluna2010-07-041-3/+6
|
* Issue #7673: Fix security vulnerability (CVE-2010-2089) in the audioop module,Victor Stinner2010-07-031-0/+33
| | | | ensure that the input string length is a multiple of the frame size
* don't require the presence of __getformat__ or __setformat__; use ↵Benjamin Peterson2010-07-021-42/+49
| | | | requires_IEEE_754 globally
* an AttributeError is perfectly acceptable hereBenjamin Peterson2010-06-301-1/+1
|
* mark test depending on ref countingBenjamin Peterson2010-06-301-0/+1
|
* Issue #9125: Update parser module for "except ... as ..." syntax.Mark Dickinson2010-06-301-0/+6
|