summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* #6509: fix re.sub to work properly when the pattern, the string, and the ↵Ezio Melotti2010-03-063-1/+28
| | | | 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. ........
* Blocked revisions 78706,78710 via svnmergeTarek Ziadé2010-03-060-0/+0
| | | | | | | | | | | | ........ r78706 | tarek.ziade | 2010-03-06 02:04:14 +0100 (Sat, 06 Mar 2010) | 1 line copied back the build_ext tests from 2.6 ........ r78710 | tarek.ziade | 2010-03-06 02:27:09 +0100 (Sat, 06 Mar 2010) | 1 line files used by win32 tests ........
* 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-0524-128/+601
|
* 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.
* Blocked revisions 78694 via svnmergeMark Dickinson2010-03-050-0/+0
| | | | | | | | ........ r78694 | mark.dickinson | 2010-03-05 14:50:22 +0000 (Fri, 05 Mar 2010) | 1 line Remove the redundant #define: PY_STRUCT_FLOAT_COERCE ........
* Remove unused imports & clean up sys imports in test_struct.Mark Dickinson2010-03-051-6/+2
|
* Blocked revisions 78690 via svnmergeMark Dickinson2010-03-050-0/+0
| | | | | | | | | | ........ r78690 | mark.dickinson | 2010-03-05 14:36:20 +0000 (Fri, 05 Mar 2010) | 3 lines Fix incorrect stacklevel for DeprecationWarnings originating from the struct module. Also clean up related tests in test_struct. The stacklevel fix should be backported to 2.6 once that branch is unfrozen. ........
* 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. ........
* Blocked revisions 78666-78667 via svnmergeTarek Ziadé2010-03-050-0/+0
| | | | | | | | | | | | ........ r78666 | tarek.ziade | 2010-03-05 01:16:02 +0100 (Fri, 05 Mar 2010) | 1 line reverting partially distutils to its 2.6.x state so 2.7a4 looks more like the 2.7b1 in this. the whole revert will occur after a4 is tagged ........ r78667 | tarek.ziade | 2010-03-05 01:29:38 +0100 (Fri, 05 Mar 2010) | 1 line reverted the usage of compiler_obj in Python's setup.py ........
* Issue #3299: replace PyObject_DEL() by Py_DECREF() in _sre module to fix aVictor Stinner2010-03-042-1/+2
| | | | 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.
* Merged revisions 78656 via svnmerge fromR. David Murray2010-03-041-3/+4
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78656 | r.david.murray | 2010-03-04 12:34:05 -0500 (Thu, 04 Mar 2010) | 3 lines Fix documentation of email.Message.get_filename to match the fix applied in Issue 7082. ........
* 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-043-1/+9
| | | | | | | | | | | | | 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 78641 via svnmerge fromVictor Stinner2010-03-042-1/+9
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78641 | victor.stinner | 2010-03-04 01:10:12 +0100 (jeu., 04 mars 2010) | 3 lines Issue #7494: fix a crash in _lsprof (cProfile) after clearing the profiler, reset also the pointer to the current pointer context. ........
* Merged revisions 78638 via svnmerge fromVictor Stinner2010-03-034-7/+39
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78638 | victor.stinner | 2010-03-04 00:20:25 +0100 (jeu., 04 mars 2010) | 3 lines Issue #7544: Preallocate thread memory before creating the thread to avoid a fatal error in low memory condition. ........
* Merged revisions 78635 via svnmerge fromVictor Stinner2010-03-031-5/+8
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78635 | victor.stinner | 2010-03-03 22:53:41 +0100 (mer., 03 mars 2010) | 5 lines Issue #3299: fix curses.panel.new_panel() error handler, replace PyObject_DEL() by Py_DECREF() to avoid a crash in pydebug mode. Use po->wo==NULL to detect than the panel is in the lop list or not. ........
* Add the argparse module and Steven as its maintainer.Ezio Melotti2010-03-031-0/+1
|
* Merged revisions 78623 via svnmerge fromLars Gustäbel2010-03-034-0/+92
| | | | | | | | | | | 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 78620 via svnmerge fromFlorent Xicluna2010-03-031-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78620 | florent.xicluna | 2010-03-03 12:49:53 +0100 (mer, 03 mar 2010) | 2 lines Revert a nonexistent docstring typo, r42805. ........
* convert to print functionBenjamin Peterson2010-03-031-4/+4
|
* Merged revisions 78613-78614 via svnmerge fromBenjamin Peterson2010-03-031-249/+221
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78613 | benjamin.peterson | 2010-03-02 19:55:09 -0600 (Tue, 02 Mar 2010) | 1 line edit for style ........ r78614 | benjamin.peterson | 2010-03-02 20:04:24 -0600 (Tue, 02 Mar 2010) | 1 line fix Sphinx warnings ........
* Merged revisions 78610 via svnmerge fromVictor Stinner2010-03-031-8/+9
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78610 | victor.stinner | 2010-03-03 01:43:44 +0100 (mer., 03 mars 2010) | 3 lines Issue #3299: fix thread.allocate_lock() error handler, replace PyObject_Del() by Py_DECREF() to fix a crash in pydebug mode. ........
* Merged revisions 78603 via svnmerge fromVictor Stinner2010-03-033-23/+42
| | | | | | | | | | | | | 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-032-4/+13
| | | | | | | | | | | | | | | | | | 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 78596 via svnmerge fromVictor Stinner2010-03-021-0/+5
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78596 | victor.stinner | 2010-03-02 23:44:42 +0100 (mar., 02 mars 2010) | 4 lines Issue #2973: Fix gcc warning on the 2nd argument of ASN1_item_d2i() and method->d2i(): OpenSSL API changed in OpenSSL 0.9.6m. Patch written by Daniel Black. ........
* Merged revisions 78586-78593 via svnmerge fromBenjamin Peterson2010-03-023-8317/+8316
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-028-6/+8326
| | | | | | | | | | | | 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-012-0/+7
| | | | | because I did this in the wrong order and couldn't smack svnmerge into submission.
* Merged revisions 78531 via svnmerge fromGregory P. Smith2010-03-011-4/+7
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78531 | gregory.p.smith | 2010-02-28 18:31:33 -0800 (Sun, 28 Feb 2010) | 2 lines Fix for r78527. It left out updating forkpty. ........