summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 78806 via svnmerge fromBenjamin Peterson2010-03-081-311/+309
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78806 | benjamin.peterson | 2010-03-08 16:15:11 -0600 (Mon, 08 Mar 2010) | 1 line set svn:eol-style on various files ........
* Backport the tests only.Florent Xicluna2010-03-081-0/+17
| | | | | | | | | | | Merged revisions 78800 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r78800 | florent.xicluna | 2010-03-08 16:20:28 +0100 (lun, 08 mar 2010) | 2 lines #7624: Fix isinstance(foo(), collections.Callable) for old-style classes. ........
* Fix ntpath abspath to deal with bytes.Florent Xicluna2010-03-081-0/+2
|
* Merged revisions 78777,78787,78790 via svnmerge fromFlorent Xicluna2010-03-082-6/+9
| | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78777 | florent.xicluna | 2010-03-08 00:49:03 +0100 (lun, 08 mar 2010) | 4 lines Backport the Popen.poll() protection from subprocess to multiprocessing. See #1731717. It should fix transient failures on test_multiprocessing. ........ r78787 | florent.xicluna | 2010-03-08 08:21:16 +0100 (lun, 08 mar 2010) | 2 lines Don't fail on a debug() statement, if the worker PID is (still) None. ........ r78790 | florent.xicluna | 2010-03-08 12:01:39 +0100 (lun, 08 mar 2010) | 2 lines On finalize, don't try to join not started process. ........
* Merged revisions 78736,78759,78761,78767,78788-78789 via svnmerge fromFlorent Xicluna2010-03-082-38/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78736 | florent.xicluna | 2010-03-06 20:43:41 +0100 (sam, 06 mar 2010) | 2 lines Skip test_send_signal, test_kill, test_terminate on win32 platforms, for 2.7a4 release. ........ r78759 | florent.xicluna | 2010-03-07 13:21:36 +0100 (dim, 07 mar 2010) | 2 lines #2777: Enable test_send_signal, test_terminate and test_kill on win32 platforms. ........ r78761 | florent.xicluna | 2010-03-07 16:27:39 +0100 (dim, 07 mar 2010) | 4 lines Do not fail if returncode is 0 on send_signal/kill/terminate, for win32 platforms. Do not hide the KeyboardInterrupt on POSIX platforms. ........ r78767 | florent.xicluna | 2010-03-07 18:12:23 +0100 (dim, 07 mar 2010) | 2 lines #2777: Try hard to make Win7 buildbot happy... ........ r78788 | florent.xicluna | 2010-03-08 11:58:12 +0100 (lun, 08 mar 2010) | 2 lines Fix syntax: "rc != None" -> "rc is not None" ........ r78789 | florent.xicluna | 2010-03-08 11:59:33 +0100 (lun, 08 mar 2010) | 2 lines Replace the stderr logging with assertNotEqual(returncode, 0). ........
* Fix string-> bytes conversion on backport from 2.x.Florent Xicluna2010-03-081-1/+1
|
* Merge other tests from test_*path.py into test_genericpath.CommonTest, and ↵Florent Xicluna2010-03-083-130/+57
| | | | do some cleanup.
* Fix macpath to deal with bytesFlorent Xicluna2010-03-081-1/+5
|
* Merged revisions 78734-78735 via svnmerge fromFlorent Xicluna2010-03-084-233/+211
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78734 | florent.xicluna | 2010-03-06 19:07:18 +0100 (sam, 06 mar 2010) | 2 lines Create test_genericpath.CommonTest and reuse it to test other path modules. ........ r78735 | florent.xicluna | 2010-03-06 19:52:52 +0100 (sam, 06 mar 2010) | 2 lines Minor tweaking of previous r78734, and add a NEWS entry. ........
* bdecode was already gone in email 5. This merge adds the test fromR. David Murray2010-03-083-2/+12
| | | | | | | | | | | | | | | | | | | | | the trunk patch, and removes the last trace of bdecode, which was a commented out call in message.py. Merged revisions 78778 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r78778 | r.david.murray | 2010-03-07 21:04:06 -0500 (Sun, 07 Mar 2010) | 9 lines Issue #7143: get_payload used to strip any trailing newline from a base64 transfer-encoded payload *after* decoding it; it no longer does. email had a special method in utils, _bdecode, specifically to do this, so it must have served a purpose at some point, yet it is clearly wrong per RFC. Fixed with Barry's approval, but no backport. Email package minor version number is bumped, now version 4.0.1. Patch by Joaquin Cuenca Abela. ........
* prevent generator finalization from invalidating sys.exc_info() #7173Benjamin Peterson2010-03-071-1/+16
|
* Reverting the changes made in r78433.Senthil Kumaran2010-03-072-4/+0
|
* Merged revisions 78718 via svnmerge fromBenjamin Peterson2010-03-061-2/+16
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78718 | gregory.p.smith | 2010-03-06 01:35:19 -0600 (Sat, 06 Mar 2010) | 3 lines Call setreuid and setregid in a subprocess to avoid altering the test runner's process state. Should fix issue8045. ........
* Merged revisions 78732 via svnmerge fromFlorent Xicluna2010-03-061-6/+8
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78732 | florent.xicluna | 2010-03-06 18:24:36 +0100 (sam, 06 mar 2010) | 2 lines Do not print the header lines when running a single test. ........
* #6509: fix re.sub to work properly when the pattern, the string, and the ↵Ezio Melotti2010-03-062-1/+25
| | | | replacement were all bytes. Patch by Antoine Pitrou.
* Fix TypeError on usage() when using regrtest switches which are not compatible.Florent Xicluna2010-03-061-2/+3
|
* Fix test_pydoc when sys.modules["test"] is first imported using ↵Florent Xicluna2010-03-061-0/+4
| | | | importlib.import_module.
* Merged revisions 78721 via svnmerge fromFlorent Xicluna2010-03-061-3/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78721 | florent.xicluna | 2010-03-06 10:54:14 +0100 (sam, 06 mar 2010) | 2 lines #2777: Apply same recipe on win32, i.e. do not inherit file handles. ........
* Merged revisions 78719-78720 via svnmerge fromFlorent Xicluna2010-03-061-46/+42
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78719 | florent.xicluna | 2010-03-06 09:07:44 +0100 (sam, 06 mar 2010) | 3 lines Keep the test files in the ./build/ subdirectory, if Python is not installed. Remove two hacks which are no longer needed after #7712, because all __file__ attributes are absolute. ........ r78720 | florent.xicluna | 2010-03-06 10:11:55 +0100 (sam, 06 mar 2010) | 2 lines Print platform information to stdout, to help troubleshooting platform-specific failures. ........
* The test was failing because the curdir was missing from sys.path. This ↵Ezio Melotti2010-03-061-0/+4
| | | | should fix the problem.
* Cleanup and minor fixes.Ezio Melotti2010-03-061-17/+13
|
* Merged revisions 78704 via svnmerge fromFlorent Xicluna2010-03-061-2/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78704 | florent.xicluna | 2010-03-06 01:16:57 +0100 (sam, 06 mar 2010) | 2 lines #2777: Apply same recipe for test_terminate and test_kill, i.e. close or redirect fds. ........
* Merged revisions 78701 via svnmerge fromFlorent Xicluna2010-03-051-3/+6
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78701 | florent.xicluna | 2010-03-05 20:31:21 +0100 (ven, 05 mar 2010) | 2 lines #2777: Handle fds more carefully to try to fix some x86-Linux failures (namely, neal bot and twisted bot). ........
* Merged new pysqlite version 2.6.0 from trunk.Gerhard Häring2010-03-053-18/+228
|
* sys.getdefaultencoding() can return None.Ezio Melotti2010-03-051-0/+1
|
* r78689 enabled the test on more platforms but the buildbot did not like it. ↵Ezio Melotti2010-03-051-6/+5
| | | | Using the filesystem encoding might work better. Also see #5604.
* Remove unused imports & clean up sys imports in test_struct.Mark Dickinson2010-03-051-6/+2
|
* This fixes a missing .lower() on the encoding name, a wrong byte undecodable ↵Ezio Melotti2010-03-051-42/+45
| | | | by UTF-8, a wrong variable name, hopefully some windows buildbot on 3.x and adds a proper skip. It might break other things though.
* Merged revisions 78678,78680,78682 via svnmerge fromBenjamin Peterson2010-03-0511-0/+0
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78678 | benjamin.peterson | 2010-03-04 21:07:59 -0600 (Thu, 04 Mar 2010) | 1 line set svn:eol-style ........ r78680 | benjamin.peterson | 2010-03-04 21:15:07 -0600 (Thu, 04 Mar 2010) | 1 line set svn:eol-style on Lib files ........ r78682 | benjamin.peterson | 2010-03-04 21:20:06 -0600 (Thu, 04 Mar 2010) | 1 line remove the svn:executable property from files that don't have shebang lines ........
* Merged revisions 78683 via svnmerge fromBenjamin Peterson2010-03-052-0/+0
| | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ................ r78683 | benjamin.peterson | 2010-03-04 21:24:17 -0600 (Thu, 04 Mar 2010) | 13 lines Merged revisions 78679,78681 via svnmerge from svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r78679 | benjamin.peterson | 2010-03-04 21:10:46 -0600 (Thu, 04 Mar 2010) | 1 line set svn:eol-style ........ r78681 | benjamin.peterson | 2010-03-04 21:19:06 -0600 (Thu, 04 Mar 2010) | 1 line remove svn:executable property ........ ................
* Merged revisions 78673 via svnmerge fromFlorent Xicluna2010-03-051-5/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78673 | florent.xicluna | 2010-03-05 02:05:55 +0100 (ven, 05 mar 2010) | 2 lines Let's use assertIsNone / assertIsNotNone. It's hype. ........
* Remove some debug line...Florent Xicluna2010-03-051-1/+0
|
* Merged revisions 78671 via svnmerge fromFlorent Xicluna2010-03-051-2/+14
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78671 | florent.xicluna | 2010-03-05 01:47:40 +0100 (ven, 05 mar 2010) | 3 lines Workaround #3137: Retry SIGINT if it is not received the first time. test_send_signal should not hang anymore on various Linux distributions. ........
* Issue #3299: replace PyObject_DEL() by Py_DECREF() in _sre module to fix aVictor Stinner2010-03-041-0/+1
| | | | crash in pydebug mode.
* Merged revisions 78661-78662 via svnmerge fromFlorent Xicluna2010-03-041-10/+24
| | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78661 | florent.xicluna | 2010-03-04 20:40:48 +0100 (jeu, 04 mar 2010) | 2 lines Cleanup. ........ r78662 | florent.xicluna | 2010-03-04 22:31:58 +0100 (jeu, 04 mar 2010) | 2 lines #2777: Enable test_send_signal, test_kill and test_terminate on all platforms. ........ And fix an oversight of changeset 78510.
* Missing part from r78654Florent Xicluna2010-03-041-1/+1
|
* Merged revisions 78653 via svnmerge fromFlorent Xicluna2010-03-041-1/+9
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78653 | florent.xicluna | 2010-03-04 16:58:54 +0100 (jeu, 04 mar 2010) | 2 lines #7805: wait until all workers are started before collecting their PIDs ........
* oops, fix the test of my previous commit about unicodedata and PR #29 (r78647)Victor Stinner2010-03-041-1/+1
|
* Merged revisions 78646 via svnmerge fromVictor Stinner2010-03-041-0/+5
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78646 | victor.stinner | 2010-03-04 13:09:33 +0100 (jeu., 04 mars 2010) | 5 lines Issue #1054943: Fix unicodedata.normalize('NFC', text) for the Public Review Issue #29. PR #29 was released in february 2004! ........
* Merged revisions 78644 via svnmerge fromBenjamin Peterson2010-03-046-0/+0
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78644 | benjamin.peterson | 2010-03-03 20:07:55 -0600 (Wed, 03 Mar 2010) | 1 line set svn:executable on all regen scripts ........
* Merged revisions 78623 via svnmerge fromLars Gustäbel2010-03-032-0/+74
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78623 | lars.gustaebel | 2010-03-03 12:55:48 +0100 (Wed, 03 Mar 2010) | 3 lines Issue #7232: Add support for the context manager protocol to the TarFile class. ........
* Merged revisions 78603 via svnmerge fromVictor Stinner2010-03-031-0/+11
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78603 | victor.stinner | 2010-03-03 00:20:02 +0100 (mer., 03 mars 2010) | 5 lines Issue #7820: The parser tokenizer restores all bytes in the right if the BOM check fails. Fix an assertion in pydebug mode. ........
* Merged revisions 78585,78594,78606 via svnmerge fromFlorent Xicluna2010-03-031-4/+10
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78585 | florent.xicluna | 2010-03-02 22:34:45 +0100 (mar, 02 mar 2010) | 2 lines Tentatively enable test_pep277 on all platforms. ........ r78594 | florent.xicluna | 2010-03-02 23:34:11 +0100 (mar, 02 mar 2010) | 2 lines Test test_pep277 is only relevant for Unicode-friendly filesystems. ........ r78606 | florent.xicluna | 2010-03-03 00:56:38 +0100 (mer, 03 mar 2010) | 2 lines Fix wording. ........
* Merged revisions 78604 via svnmerge fromBenjamin Peterson2010-03-021-0/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78604 | benjamin.peterson | 2010-03-02 17:43:47 -0600 (Tue, 02 Mar 2010) | 1 line plug ref leaks ........
* Merged revisions 78600-78601 via svnmerge fromBenjamin Peterson2010-03-022-65/+9
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78600 | benjamin.peterson | 2010-03-02 16:58:01 -0600 (Tue, 02 Mar 2010) | 1 line remove code to avoid BaseException.message bug ........ r78601 | benjamin.peterson | 2010-03-02 17:02:02 -0600 (Tue, 02 Mar 2010) | 1 line remove cross-version compatibility code ........
* Merged revisions 78586-78593 via svnmerge fromBenjamin Peterson2010-03-022-6559/+6561
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78586 | benjamin.peterson | 2010-03-02 16:03:03 -0600 (Tue, 02 Mar 2010) | 1 line remove coding cookie as mandated by PEP 8 ........ r78587 | benjamin.peterson | 2010-03-02 16:05:59 -0600 (Tue, 02 Mar 2010) | 1 line set svn:eol-style ........ r78588 | benjamin.peterson | 2010-03-02 16:08:40 -0600 (Tue, 02 Mar 2010) | 1 line remove another coding cookie ........ r78589 | georg.brandl | 2010-03-02 16:17:38 -0600 (Tue, 02 Mar 2010) | 1 line Add some x-refs. ........ r78590 | benjamin.peterson | 2010-03-02 16:20:10 -0600 (Tue, 02 Mar 2010) | 1 line enable running of argparse tests and fix two that failed in the new environment ........ r78591 | benjamin.peterson | 2010-03-02 16:23:33 -0600 (Tue, 02 Mar 2010) | 1 line prevent warning filter adjustment from altering other tests ........ r78592 | benjamin.peterson | 2010-03-02 16:24:30 -0600 (Tue, 02 Mar 2010) | 1 line use test_main() in __main__ section ........ r78593 | benjamin.peterson | 2010-03-02 16:26:25 -0600 (Tue, 02 Mar 2010) | 1 line convert deprecated fail* methods to assert* variants ........
* Recorded merge of revisions 78582 via svnmerge fromFlorent Xicluna2010-03-021-92/+79
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78582 | florent.xicluna | 2010-03-02 17:00:00 +0100 (mar, 02 mar 2010) | 2 lines Refactor test_dict using assertRaises. ........
* Merged revisions 78576 via svnmerge fromSteven Bethard2010-03-022-0/+6559
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78576 | steven.bethard | 2010-03-02 00:38:09 -0800 (Tue, 02 Mar 2010) | 3 lines Initial commit of the argparse library, based on argparse 1.1. Docs still need some updating to make getopt and optparse match the wording promised in the PEP. There are also probably a number of :class:ArgumentParser etc. links that could be added to the argparse documentation. ........
* Manually copy patch for bug 7250 from the release26-maint branch. I suckBarry Warsaw2010-03-011-0/+4
| | | | | because I did this in the wrong order and couldn't smack svnmerge into submission.
* Merged revisions 78527,78550 via svnmerge fromGregory P. Smith2010-03-011-1/+41
| | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78527 | gregory.p.smith | 2010-02-28 17:22:39 -0800 (Sun, 28 Feb 2010) | 4 lines Issue #7242: On Solaris 9 and earlier calling os.fork() from within a thread could raise an incorrect RuntimeError about not holding the import lock. The import lock is now reinitialized after fork. ........ r78550 | gregory.p.smith | 2010-02-28 22:01:02 -0800 (Sun, 28 Feb 2010) | 2 lines Fix test to be skipped on windows. ........