summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Issue #7845: Make 1j.__le__(2j) return NotImplemented rather than raising ↵Mark Dickinson2010-03-134-11/+24
| | | | TypeError.
* Merged revisions 78900 via svnmerge fromEzio Melotti2010-03-131-8/+8
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78900 | ezio.melotti | 2010-03-13 06:39:51 +0200 (Sat, 13 Mar 2010) | 1 line Silence compiler warnings. ........
* Merged revisions 78898 via svnmerge fromVictor Stinner2010-03-132-7/+18
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78898 | victor.stinner | 2010-03-13 04:27:07 +0100 (sam., 13 mars 2010) | 7 lines sqlite3: Fix a segfault on calling a connection with something else than a string. Initialize all attributes to be able to call the statement destructor on error. Avoid also a duplicate connection in some tests: setUp() does already open a connection (":memory:"). ........
* Merged revisions 78895 via svnmerge fromEzio Melotti2010-03-131-9/+9
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78895 | ezio.melotti | 2010-03-13 03:21:34 +0200 (Sat, 13 Mar 2010) | 1 line #8011: use exc.tb_lineno instead of traceback.tb_lineno() and pep8ify variable names. ........
* sqlite3: Fix _PyUnicode_AsStringAndSize() error handler.Victor Stinner2010-03-131-1/+1
| | | | Destroy begin_statement (not statement) on error.
* Fix wrong indentation that was causing a Sphinx warning and a typo.Ezio Melotti2010-03-131-2/+2
| | | | | | | | | | | Merged revisions 78112 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r78112 | ezio.melotti | 2010-02-09 00:22:41 +0200 (Tue, 09 Feb 2010) | 1 line Fix typo ........
* Merged revisions 78887 via svnmerge fromEzio Melotti2010-03-131-2/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78887 | ezio.melotti | 2010-03-13 02:15:36 +0200 (Sat, 13 Mar 2010) | 1 line fix broken links ........
* Merged revisions 78886 via svnmerge fromVictor Stinner2010-03-132-2/+16
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78886 | victor.stinner | 2010-03-13 01:13:22 +0100 (sam., 13 mars 2010) | 2 lines Issue #7818: set().test_c_api() doesn't expect a set('abc'), modify the set. ........
* #8057: fix strings -> byte stringsEzio Melotti2010-03-121-10/+12
|
* Merged revisions 78880 via svnmerge fromGeorg Brandl2010-03-121-5/+6
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78880 | georg.brandl | 2010-03-12 22:27:23 +0100 (Fr, 12 Mär 2010) | 1 line Deactivate automatic upload of the docs to python.org, they will now be built by a job on that machine. ........
* Issue #6697: catch _PyUnicode_AsString() errors in getattr() and setattr()Victor Stinner2010-03-122-5/+14
| | | | builtin functions.
* Issue #6697: use %U format instead of _PyUnicode_AsString(), becauseVictor Stinner2010-03-126-20/+19
| | | | | | _PyUnicode_AsString() was not checked for error (NULL). The unicode string is no more truncated to 200 or 400 *bytes*.
* Blocked revisions 78827 via svnmergeVictor Stinner2010-03-120-0/+0
| | | | | | | | | | ........ r78827 | victor.stinner | 2010-03-10 23:45:04 +0100 (mer., 10 mars 2010) | 4 lines ooops, fix error message in execusercustomize() Copy/paste failure :-) ........
* Merged revisions 78826 via svnmerge fromVictor Stinner2010-03-126-32/+50
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78826 | victor.stinner | 2010-03-10 23:30:19 +0100 (mer., 10 mars 2010) | 5 lines Issue #3137: Don't ignore errors at startup, especially a keyboard interrupt (SIGINT). If an error occurs while importing the site module, the error is printed and Python exits. Initialize the GIL before importing the site module. ........
* Blocked revisions 78870 via svnmergeVictor Stinner2010-03-120-0/+0
| | | | | | | | ........ r78870 | victor.stinner | 2010-03-12 15:30:26 +0100 (ven., 12 mars 2010) | 1 line NEWS: issue #7774 is related to Library (sys), not Core and Builtins ........
* Oops, I loose the NEWS change in my previous backport (r78868) of r78835.Victor Stinner2010-03-121-0/+4
|
* Merged revisions 78835-78837 via svnmerge fromVictor Stinner2010-03-123-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78835 | victor.stinner | 2010-03-11 13:34:39 +0100 (jeu., 11 mars 2010) | 7 lines Issue #7774: Set sys.executable to an empty string if argv[0] has been set to an non existent program name and Python is unable to retrieve the real program name. Fix also sysconfig: if sys.executable is an empty string, use the current working directory. ........ r78836 | victor.stinner | 2010-03-11 14:27:35 +0100 (jeu., 11 mars 2010) | 4 lines Fix test_executable introduce in previous commit (r78835): Windows is able to retrieve the absolute Python path even if argv[0] has been set to a non existent program name. ........ r78837 | victor.stinner | 2010-03-11 14:46:06 +0100 (jeu., 11 mars 2010) | 3 lines Another fix to test_executable() of test_sys: set the current working to avoid the #7774 bug. ........
* Commit merge properties (missing from r78862).Georg Brandl2010-03-120-0/+0
| | | | | | | | | | | | | | | Merged revisions 78859-78860 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r78859 | georg.brandl | 2010-03-12 10:57:43 +0100 (Fr, 12 Mär 2010) | 1 line Get rid of backticks. ........ r78860 | georg.brandl | 2010-03-12 11:02:03 +0100 (Fr, 12 Mär 2010) | 1 line Fix warnings from "make check". ........
* Merged revisions 78859-78860 via svnmerge fromGeorg Brandl2010-03-1210-24/+24
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78859 | georg.brandl | 2010-03-12 10:57:43 +0100 (Fr, 12 Mär 2010) | 1 line Get rid of backticks. ........ r78860 | georg.brandl | 2010-03-12 11:02:03 +0100 (Fr, 12 Mär 2010) | 1 line Fix warnings from "make check". ........
* Make tool compatible with 2.x and 3.x.Georg Brandl2010-03-121-3/+1
|
* take into account shebang line changeBenjamin Peterson2010-03-111-1/+1
|
* fix bootstrapping on machines with only 2.x installedBenjamin Peterson2010-03-111-1/+1
|
* convert shebang lines: python -> python3Benjamin Peterson2010-03-11212-212/+212
|
* Merged revisions 78847 via svnmerge fromBenjamin Peterson2010-03-111-2/+0
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78847 | benjamin.peterson | 2010-03-11 16:34:12 -0600 (Thu, 11 Mar 2010) | 1 line remove shebang line from non-executable test ........
* Blocked revisions 78846 via svnmergeBenjamin Peterson2010-03-110-0/+0
| | | | | | | | ........ r78846 | benjamin.peterson | 2010-03-11 16:33:25 -0600 (Thu, 11 Mar 2010) | 1 line normalize shebang lines to #!/usr/bin/env python ........
* Merged revisions 78844 via svnmerge fromBenjamin Peterson2010-03-111-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78844 | benjamin.peterson | 2010-03-11 16:03:45 -0600 (Thu, 11 Mar 2010) | 1 line revert r78842 cgi.py change ........
* Merged revisions 78841-78842 via svnmerge fromBenjamin Peterson2010-03-111-1/+1
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78841 | benjamin.peterson | 2010-03-11 15:50:45 -0600 (Thu, 11 Mar 2010) | 1 line remove executable property from doc files ........ r78842 | benjamin.peterson | 2010-03-11 15:53:25 -0600 (Thu, 11 Mar 2010) | 1 line use proper shebang lines ........
* Merged revisions 78833 via svnmerge fromFlorent Xicluna2010-03-112-4/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78833 | florent.xicluna | 2010-03-11 02:50:48 +0100 (jeu, 11 mar 2010) | 2 lines Revert r78830: realpath() should really be applied to sys.executable. ........
* Merged revisions 78830 via svnmerge fromFlorent Xicluna2010-03-112-3/+4
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78830 | florent.xicluna | 2010-03-11 01:56:59 +0100 (jeu, 11 mar 2010) | 3 lines Fix the test_subprocess failure when sys.executable is meaningless: '' or a directory. It does not fix #7774. ........
* Merged revisions 78828 via svnmerge fromFlorent Xicluna2010-03-113-7/+27
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78828 | florent.xicluna | 2010-03-11 00:58:42 +0100 (jeu, 11 mar 2010) | 2 lines Issue #7880: Fix sysconfig when the python executable is a symbolic link. ........
* Merged revisions 78819 via svnmerge fromBenjamin Peterson2010-03-092-43/+45
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78819 | benjamin.peterson | 2010-03-09 15:46:54 -0600 (Tue, 09 Mar 2010) | 1 line fix ugly configure output (follow up to #6943) ........
* Merged revisions 78817 via svnmerge fromBenjamin Peterson2010-03-092-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78817 | benjamin.peterson | 2010-03-09 15:43:36 -0600 (Tue, 09 Mar 2010) | 1 line handle an empty OPT variable correctly #8100 ........
* Bugfix for the fix for issue 8067Ronald Oussoren2010-03-092-3/+3
|
* Merged revisions 78806 via svnmerge fromBenjamin Peterson2010-03-083-456/+454
| | | | | | | | | | 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 ........
* Merged revisions 78416,78430 via svnmerge fromR. David Murray2010-03-084-0/+39
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78416 | dirkjan.ochtman | 2010-02-23 23:12:11 -0500 (Tue, 23 Feb 2010) | 1 line Issue #8004: add a serve target to the Doc Makefile. ........ r78430 | dirkjan.ochtman | 2010-02-24 12:06:31 -0500 (Wed, 24 Feb 2010) | 1 line Add some notes about Tools/scripts/serve.py. ........
* Blocked revisions 78558 via svnmergeR. David Murray2010-03-080-0/+0
| | | | | | | | | | | | ........ r78558 | r.david.murray | 2010-03-01 14:14:16 -0500 (Mon, 01 Mar 2010) | 6 lines Issue 3892 again. The bsddb3 replication test still fails randomly. Since this module is unmaintained in the library and gone in py3k, this patch skips the remainder of the replication test if a second timeout occurs, as it randomly does. This should improve buildbot stability. ........
* 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-083-39/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-085-233/+214
| | | | | | | | | | | | | | 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. ........
* Merged revisions 78784 via svnmerge fromRonald Oussoren2010-03-081-0/+3
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78784 | ronald.oussoren | 2010-03-08 08:06:47 +0100 (Mon, 08 Mar 2010) | 3 lines Fix for issue 8066: readline should not be linked against libedit when the deployment target is 10.4, libedit on 10.4 is too broken. ........
* Fix for issue 8067Ronald Oussoren2010-03-082-16/+20
|
* bdecode was already gone in email 5. This merge adds the test fromR. David Murray2010-03-084-2/+13
| | | | | | | | | | | | | | | | | | | | | 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-073-2/+19
|
* Blocked revisions 78764 via svnmergeMark Dickinson2010-03-070-0/+0
| | | | | | | | ........ r78764 | mark.dickinson | 2010-03-07 17:10:19 +0000 (Sun, 07 Mar 2010) | 1 line Silence compiler warning. ........
* Blocked revisions 78762 via svnmergeMark Dickinson2010-03-070-0/+0
| | | | | | | | | | | | | | ........ r78762 | mark.dickinson | 2010-03-07 16:24:45 +0000 (Sun, 07 Mar 2010) | 8 lines Issue #1530559: When packing a non-integer with any integer conversion code using struct.pack, attempt to convert to an integer first using the argument's __int__ method (if present). Also raise a DeprecationWarning for any such usage of __int__. This fixes a regression from 2.6, where some (but not all) integer conversion codes already used __int__. ........