summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* svnmerge fooled me. That test class already existed.Antoine Pitrou2010-12-161-88/+9
|
* Merged revisions 87317 via svnmerge fromAntoine Pitrou2010-12-161-0/+109
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87317 | antoine.pitrou | 2010-12-16 17:48:36 +0100 (jeu., 16 déc. 2010) | 4 lines Issue #10714: Limit length of incoming request in http.server to 65536 bytes for security reasons. Initial patch by Ross Lagerwall. ........ (also backported some tests)
* Merged revisions 87251 via svnmerge fromR. David Murray2010-12-151-1/+13
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87251 | r.david.murray | 2010-12-14 18:06:25 -0500 (Tue, 14 Dec 2010) | 4 lines #4236: avoid possible Fatal Error when import is called from __del__ Patch by Simon Cross, crasher test code by Martin von Löwis. ........
* SIGCHLD is a more portable name than SIGCLD (OSX has no SIGCLD).Gregory P. Smith2010-12-141-1/+1
|
* Merged revisions 87238 via svnmerge fromR. David Murray2010-12-141-2/+6
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87238 | r.david.murray | 2010-12-14 11:20:53 -0500 (Tue, 14 Dec 2010) | 7 lines #775964: skip YP/NIS entries instead of failing the test Also includes doc updates mentioning that these entries may not be retrievable via getgrnam and getgrgid. Patch by Bobby Impollonia. ........
* Merged revisions 87233 via svnmerge fromGregory P. Smith2010-12-142-0/+16
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87233 | gregory.p.smith | 2010-12-14 06:38:00 -0800 (Tue, 14 Dec 2010) | 4 lines Issue #1731717: Fixed the problem where subprocess.wait() could cause an OSError exception when The OS had been told to ignore SIGCLD in our process or otherwise not wait for exiting child processes. ........
* Merged revisions 87222 via svnmerge fromR. David Murray2010-12-141-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87222 | r.david.murray | 2010-12-13 20:22:50 -0500 (Mon, 13 Dec 2010) | 2 lines Use skipIf instead of a return when attribute doesn't exist. ........
* Merged revisions 85086 via svnmerge fromR. David Murray2010-12-041-6/+6
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85086 | r.david.murray | 2010-09-28 21:08:05 -0400 (Tue, 28 Sep 2010) | 4 lines #7110: have regrtest print test failures and tracebacks to stderr not stdout. Patch by Sandro Tosi. ........
* Merged revisions 87032 via svnmerge fromMark Dickinson2010-12-041-0/+20
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87032 | mark.dickinson | 2010-12-04 12:25:30 +0000 (Sat, 04 Dec 2010) | 3 lines Issue #10596: Fix float.__mod__ to have the same behaviour as float.__divmod__ with respect to signed zeros. ........
* Merged revisions 86981,86984 via svnmerge fromAntoine Pitrou2010-12-031-0/+38
| | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86981 | antoine.pitrou | 2010-12-03 19:41:39 +0100 (ven., 03 déc. 2010) | 5 lines Issue #10478: Reentrant calls inside buffered IO objects (for example by way of a signal handler) now raise a RuntimeError instead of freezing the current process. ........ r86984 | antoine.pitrou | 2010-12-03 20:14:17 +0100 (ven., 03 déc. 2010) | 3 lines Add an "advanced topics" section to the io doc. ........
* Merged revisions 86940 via svnmerge fromÉric Araujo2010-12-021-12/+7
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86940 | eric.araujo | 2010-12-02 23:16:19 +0100 (jeu., 02 déc. 2010) | 2 lines Fix wrong test code in test_csv (#10602) ........
* Merged revisions 86925 via svnmerge fromR. David Murray2010-12-021-7/+16
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86925 | r.david.murray | 2010-12-01 21:58:07 -0500 (Wed, 01 Dec 2010) | 4 lines #10464: fix netrc handling of lines with embedded '#" characters. Patch by Xuanji Li. ........
* Issue #10323: Predictable final state for slice().Raymond Hettinger2010-11-301-0/+5
|
* Merged revisions 86857 via svnmerge fromAlexander Belopolsky2010-11-301-2/+13
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86857 | raymond.hettinger | 2010-11-28 22:56:12 -0500 (Sun, 28 Nov 2010) | 1 line Issue #10565: Iterator ABC should require both __next__ and __iter__. ........
* Merged revisions 86861 via svnmerge fromSenthil Kumaran2010-11-291-0/+110
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86861 | senthil.kumaran | 2010-11-29 19:54:17 +0800 (Mon, 29 Nov 2010) | 5 lines Fix #10561 - Fix pdb behavior. Delete the breakpoints by breakpoint number. Handle multiple breakpoints at same line. Update docs/test. Patch by Xavier de Gaye. ........
* Merged revisions 86561-86562,86564-86565,86705,86708,86713 via svnmerge fromGeorg Brandl2010-11-261-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86561 | georg.brandl | 2010-11-20 12:47:10 +0100 (Sa, 20 Nov 2010) | 1 line #10460: Update indent.pro to match PEP 7 better. ........ r86562 | georg.brandl | 2010-11-20 14:44:41 +0100 (Sa, 20 Nov 2010) | 1 line #10439: document PyCodec C APIs. ........ r86564 | georg.brandl | 2010-11-20 15:08:53 +0100 (Sa, 20 Nov 2010) | 1 line #10460: an even better indent.pro. ........ r86565 | georg.brandl | 2010-11-20 15:16:17 +0100 (Sa, 20 Nov 2010) | 1 line socket.gethostbyname(socket.gethostname()) can fail when host name resolution is not set up correctly; do not fail test_socket if this is the case. ........ r86705 | georg.brandl | 2010-11-23 08:54:19 +0100 (Di, 23 Nov 2010) | 1 line #10468: document Unicode exception creation and access functions. ........ r86708 | georg.brandl | 2010-11-23 09:37:54 +0100 (Di, 23 Nov 2010) | 2 lines #10511: clarification of what heaps are; suggested by Johannes Hoff. ........ r86713 | georg.brandl | 2010-11-23 19:14:57 +0100 (Di, 23 Nov 2010) | 1 line assert.h is also included. Thanks to Savio Sena. ........
* Merged revisions 85766-85767 via svnmerge fromGeorg Brandl2010-11-261-2/+2
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85766 | georg.brandl | 2010-10-21 09:40:03 +0200 (Do, 21 Okt 2010) | 1 line #10159: sort completion matches before comparing to dir() result. ........ r85767 | georg.brandl | 2010-10-21 14:49:28 +0200 (Do, 21 Okt 2010) | 1 line #9095, #8912, #8999: add support in patchcheck for Mercurial checkouts, C file reindenting, and docs whitespace fixing. ........
* Merged revisions 85731,85735 via svnmerge fromGeorg Brandl2010-11-261-7/+4
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85731 | georg.brandl | 2010-10-19 23:07:16 +0200 (Di, 19 Okt 2010) | 1 line Be consistent in the spelling of thread-safe(ty). ........ r85735 | georg.brandl | 2010-10-20 08:50:19 +0200 (Mi, 20 Okt 2010) | 1 line Fix r85728: use "" to mean the system default locale, which should work on more systems. ........
* Merged revisions 85728 via svnmerge fromGeorg Brandl2010-11-261-0/+17
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85728 | georg.brandl | 2010-10-19 20:54:25 +0200 (Di, 19 Okt 2010) | 1 line #10092: Properly reset locale in Locale*Calendar classes. The context manager was buggy because setlocale() returns the *new* locale, not the old. Also add a test for this. ........
* Merged revisions 85546-85547 via svnmerge fromGeorg Brandl2010-11-261-0/+7
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85546 | georg.brandl | 2010-10-15 19:58:45 +0200 (Fr, 15 Okt 2010) | 1 line #5762: fix handling of empty namespace in minidom, which would result in AttributeError on toxml(). ........ r85547 | georg.brandl | 2010-10-15 20:00:35 +0200 (Fr, 15 Okt 2010) | 1 line #6098: Refrain from claiming DOM level 3 conformance in minidom. ........
* Merged revisions 85459-85465 via svnmerge fromGeorg Brandl2010-11-261-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85459 | georg.brandl | 2010-10-14 09:23:01 +0200 (Do, 14 Okt 2010) | 1 line #9964: Fix failure of test_dis under -OO. ........ r85460 | georg.brandl | 2010-10-14 09:24:28 +0200 (Do, 14 Okt 2010) | 1 line #9964: fix running test_import under -O or -OO. ........ r85461 | georg.brandl | 2010-10-14 09:29:08 +0200 (Do, 14 Okt 2010) | 1 line #9964: fix lib2to3 fixer fix_operator when running under -OO. ........ r85462 | georg.brandl | 2010-10-14 09:32:52 +0200 (Do, 14 Okt 2010) | 1 line #9964: fix running test_xml_etree under -OO. ........ r85463 | georg.brandl | 2010-10-14 09:34:56 +0200 (Do, 14 Okt 2010) | 1 line Better check for "any optimize option given". ........ r85464 | georg.brandl | 2010-10-14 09:42:27 +0200 (Do, 14 Okt 2010) | 1 line #9964: fix running test_compileall under -O and -OO. ........ r85465 | georg.brandl | 2010-10-14 10:08:56 +0200 (Do, 14 Okt 2010) | 1 line #9964: fix running test_cmd_line_script under -O and -OO. ........
* Merged revisions 85455 via svnmerge fromGeorg Brandl2010-11-261-0/+25
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85455 | georg.brandl | 2010-10-14 08:59:45 +0200 (Do, 14 Okt 2010) | 1 line #1710703: write zipfile structures also in the case of closing a new, but empty, archive. ........
* Merged revisions 86694 via svnmerge fromAntoine Pitrou2010-11-221-4/+8
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86694 | antoine.pitrou | 2010-11-22 17:26:21 +0100 (lun., 22 nov. 2010) | 3 lines Fix test_multiprocessing when ctypes isn't available ........
* Merged revisions 86676 via svnmerge fromSenthil Kumaran2010-11-221-0/+19
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86676 | senthil.kumaran | 2010-11-22 12:48:26 +0800 (Mon, 22 Nov 2010) | 4 lines Fix Issue4493 - urllib2 adds '/' to the path component of url, when it does not starts with one. This behavior is exhibited by browser and other clients. ........
* Merged revisions 86596 via svnmerge fromEzio Melotti2010-11-21118-1874/+1873
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line #9424: Replace deprecated assert* methods in the Python test suite. ........
* Merged revisions 86587 via svnmerge fromBenjamin Peterson2010-11-201-0/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86587 | benjamin.peterson | 2010-11-20 11:24:04 -0600 (Sat, 20 Nov 2010) | 1 line correct logic when pos is after the string #10467 ........
* Fix buildbot failures - removing the CPU term in the seconds from the output.Senthil Kumaran2010-11-202-2/+2
|
* Merged revisions 86520 via svnmerge fromSenthil Kumaran2010-11-201-5/+15
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86520 | senthil.kumaran | 2010-11-18 23:36:41 +0800 (Thu, 18 Nov 2010) | 3 lines Fix Issue2244 - urllib unquotes user and password info multiple times - Patch by Theodore Turocy ........
* Merged revisions 86235 via svnmerge fromÉric Araujo2010-11-171-0/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86235 | eric.araujo | 2010-11-06 03:12:51 +0100 (sam., 06 nov. 2010) | 2 lines Fix one omission in r78359 ........
* Merged revisions 86450 via svnmerge fromSenthil Kumaran2010-11-141-0/+20
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86450 | senthil.kumaran | 2010-11-13 20:27:49 +0800 (Sat, 13 Nov 2010) | 3 lines Fix Issue5111 - Wrap the Ipv6 host with [] in the Host header ........
* #2986 Add autojunk parameter to SequenceMatcher to optionally disable ↵Terry Reedy2010-11-111-2/+43
| | | | 'popular == junk' heuristic.
* I'm only backporting the tests here.Antoine Pitrou2010-11-102-0/+56
| | | | | | | | | | | | Merged revisions 86395 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86395 | antoine.pitrou | 2010-11-10 14:55:25 +0100 (mer., 10 nov. 2010) | 4 lines Issue #10372: Import the warnings module only after the IO library is initialized, so as to avoid bootstrap issues with the '-W' option. ........
* Merged revisions 86383 via svnmerge fromAntoine Pitrou2010-11-091-0/+1
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86383 | antoine.pitrou | 2010-11-10 00:10:33 +0100 (mer., 10 nov. 2010) | 4 lines Issue #4471: Properly shutdown socket in IMAP.shutdown(). Patch by Lorenzo M. Catucci. ........
* This only backports the tests as IMAP.login() does work on 2.x.Antoine Pitrou2010-11-091-3/+43
| | | | | | | | | | | | Merged revisions 86380 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86380 | antoine.pitrou | 2010-11-09 23:55:55 +0100 (mar., 09 nov. 2010) | 4 lines Fix IMAP.login() to work properly. Also, add remote tests for imaplib (part of #4471). ........
* Merged revisions 86348 via svnmerge fromSenthil Kumaran2010-11-091-0/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86348 | senthil.kumaran | 2010-11-09 10:36:59 +0800 (Tue, 09 Nov 2010) | 3 lines Fix Issue10205 - XML QName error when different tags have same QName. ........
* Merged revisions 86239,86241 via svnmerge fromÉric Araujo2010-11-061-0/+1
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86239 | eric.araujo | 2010-11-06 05:09:29 +0100 (sam., 06 nov. 2010) | 2 lines Fix caching error found by regrtest -R (#10229) ........ r86241 | eric.araujo | 2010-11-06 05:24:00 +0100 (sam., 06 nov. 2010) | 2 lines Add missing NEWS entry for r86239. ........
* Merged revisions 86228 via svnmerge fromBrian Curtin2010-11-061-0/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86228 | brian.curtin | 2010-11-05 20:30:41 -0500 (Fri, 05 Nov 2010) | 2 lines Clear up ResourceWarnings ........
* Merged revisions 86209 via svnmerge fromBrian Curtin2010-11-051-0/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86209 | brian.curtin | 2010-11-05 12:22:46 -0500 (Fri, 05 Nov 2010) | 2 lines Close subprocess pipes to clean up ResourceWarnings ........
* Merged revisions 86207 via svnmerge fromBrian Curtin2010-11-051-0/+17
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86207 | brian.curtin | 2010-11-05 12:09:05 -0500 (Fri, 05 Nov 2010) | 2 lines Fix a number of ResourceWarnings on Windows due to open pipes. ........
* Merged revisions 86205 via svnmerge fromBrian Curtin2010-11-051-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86205 | brian.curtin | 2010-11-05 10:47:45 -0500 (Fri, 05 Nov 2010) | 2 lines Add socket cleanup for ResourceWarning and update test to use skip decorator ........
* Merged revisions 86202 via svnmerge fromBrian Curtin2010-11-051-0/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86202 | brian.curtin | 2010-11-05 10:40:27 -0500 (Fri, 05 Nov 2010) | 2 lines Fix ResourceWarning from subprocess pipes being left open. ........
* Merged revisions 86198 via svnmerge fromBrian Curtin2010-11-051-0/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86198 | brian.curtin | 2010-11-05 10:17:11 -0500 (Fri, 05 Nov 2010) | 2 lines Close subprocess pipes in _kill. Fixes a number of ResourceWarnings. ........
* Backport r85525 from #10098.Brian Curtin2010-11-051-1/+1
|
* Merged revisions 86185 via svnmerge fromBrian Curtin2010-11-051-0/+16
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86185 | brian.curtin | 2010-11-04 22:58:52 -0500 (Thu, 04 Nov 2010) | 2 lines Add cleanups to stdout/stderr pipes to remove ResourceWarnings. ........
* Merged revisions 86151 via svnmerge fromBrian Curtin2010-11-041-0/+5
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86151 | brian.curtin | 2010-11-03 22:41:43 -0500 (Wed, 03 Nov 2010) | 3 lines Fix three ResourceWarnings. Mimic the clientTearDown from ThreadedTCPSocketTest, closing the socket. ........
* Merged revisions 86130 via svnmerge fromAntoine Pitrou2010-11-021-24/+49
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86130 | antoine.pitrou | 2010-11-03 00:50:11 +0100 (mer., 03 nov. 2010) | 3 lines Issue #10173: test_multiprocessing shouldn't pickle TestCase instances ........
* Remove an assert which snuck in during merging from py3k.Brian Curtin2010-11-021-1/+0
|
* Merged revisions 86111 via svnmerge fromSteven Bethard2010-11-021-0/+22
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86111 | steven.bethard | 2010-11-02 13:47:22 +0100 (Tue, 02 Nov 2010) | 1 line Fix bug 9340 - argparse parse_known_args didn't work with subparsers ........
* Merged revisions 86107 via svnmerge fromBrian Curtin2010-11-021-0/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86107 | brian.curtin | 2010-11-01 22:59:09 -0500 (Mon, 01 Nov 2010) | 2 lines Clean up ResourceWarnings. Explictly close stdout from the subprocess. ........
* Merged revisions 86105 via svnmerge fromBrian Curtin2010-11-021-0/+26
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86105 | brian.curtin | 2010-11-01 21:07:09 -0500 (Mon, 01 Nov 2010) | 2 lines Clean up ResourceWarnings due to unclosed sockets. Added testDup which was not previously covered in 2.x. ........