summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert an earlier attempt (r76810) to fix the intermittent test_capi ↵Mark Dickinson2010-02-131-15/+0
| | | | failures fixed in r78172.
* Issue #7924: Fix an intermittent 'XXX undetected error' crash inMark Dickinson2010-02-132-0/+6
| | | | | test_capi, due to test_capsule failing to clear an exception. Many thanks to Florent Xicluna for the diagnosis and fix.
* Merged revisions 78166 via svnmerge fromMark Dickinson2010-02-121-0/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78166 | mark.dickinson | 2010-02-12 21:16:38 +0000 (Fri, 12 Feb 2010) | 1 line Check that 'd' isn't allowed as an exponent specifier in inputs to the float function. ........
* Merged revisions 78162 via svnmerge fromEzio Melotti2010-02-121-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78162 | ezio.melotti | 2010-02-12 01:50:57 +0200 (Fri, 12 Feb 2010) | 1 line #7907: fix wrong function name in doc. Patch by Brian Curtin. ........
* Merged revisions 78019 via svnmerge fromTarek Ziadé2010-02-111-80/+80
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78019 | georg.brandl | 2010-02-06 11:23:16 +0100 (Sat, 06 Feb 2010) | 1 line Review sysconfig docs. ........
* Merged revisions 78158 via svnmerge fromMichael Foord2010-02-111-1/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78158 | michael.foord | 2010-02-11 14:12:07 +0000 (Thu, 11 Feb 2010) | 1 line Adding TextTestResult to unittest.__all__ ........
* Merged revisions 78154 via svnmerge fromRonald Oussoren2010-02-112-9/+9
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78154 | ronald.oussoren | 2010-02-11 14:26:54 +0100 (Thu, 11 Feb 2010) | 2 lines Finish fix for issue 7715, after explicit search for calls to `arch` ........
* Fix for issue #7715: explicitly use the system arch instead of whatever isRonald Oussoren2010-02-112-7/+7
| | | | | on the user's path. This is needed because GNU arch is not necessarily compatible with Apple's version.
* Merged revisions 78148 via svnmerge fromRonald Oussoren2010-02-111-0/+3
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78148 | ronald.oussoren | 2010-02-11 14:13:08 +0100 (Thu, 11 Feb 2010) | 3 lines Add guard around the prototype for completion_matches to enable compilition with libedit on OSX 10.5 ........
* Merged revisions 78141-78142 via svnmerge fromR. David Murray2010-02-113-12/+27
| | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78141 | r.david.murray | 2010-02-10 20:38:42 -0500 (Wed, 10 Feb 2010) | 6 lines Issue 5754: tweak shelve doc wording to make it clearer that even when writeback=True values are written to the backing store when assigned to the shelf. Add test to confirm that this happens. Doc patch and added test by Robert Lehmann. I also fixed the cross references to the sync and close methods. ........ r78142 | r.david.murray | 2010-02-10 20:56:42 -0500 (Wed, 10 Feb 2010) | 3 lines Improve issue 7835 fix per MAL to handle the case that the module dictionary has also been cleared. ........
* fix commentBenjamin Peterson2010-02-111-1/+1
|
* Merged revisions 78137 via svnmerge fromR. David Murray2010-02-112-1/+8
| | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78137 | r.david.murray | 2010-02-10 17:42:04 -0500 (Wed, 10 Feb 2010) | 8 lines Issue 7835: Shelve's __del__ method calls its close method, and its close method refers to an identifier in the global module namespace. This means that when __del__ is called during interpreter shutdown (if, for example, the calling program still has a pointer to the shelf), sometimes that global identifier would wind up being None, causing mysterious 'ignored' exceptions. This patch checks for the possible None value first before using the global, thus avoiding the error messages. ........
* Merged revisions 78132 via svnmerge fromMichael Foord2010-02-101-3/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78132 | michael.foord | 2010-02-10 15:50:58 +0000 (Wed, 10 Feb 2010) | 1 line Fix for unittest tests, to be merged to py3k ........
* Merged revisions 78131 via svnmerge fromMichael Foord2010-02-101-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78131 | michael.foord | 2010-02-10 14:31:30 +0000 (Wed, 10 Feb 2010) | 1 line Remove deprecation on assert_. It is used too frequently. ........
* Merged revisions 78130 via svnmerge fromMichael Foord2010-02-107-46/+107
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78130 | michael.foord | 2010-02-10 14:25:12 +0000 (Wed, 10 Feb 2010) | 1 line Issue 7893 and Issue 7588 ........
* Merged revisions 78125 via svnmerge fromAntoine Pitrou2010-02-094-2/+28
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78125 | antoine.pitrou | 2010-02-09 18:08:05 +0100 (mar., 09 févr. 2010) | 7 lines Issue #2746: Don't escape ampersands and angle brackets ("&", "<", ">") in XML processing instructions and comments. These raw characters are allowed by the XML specification, and are necessary when outputting e.g. PHP code in a processing instruction. Patch by Neil Muller. ........
* Issue #6233: ElementTree failed converting unicode characters to XMLAntoine Pitrou2010-02-094-6/+25
| | | | | entities when they could't be represented in the requested output encoding. Patch by Jerry Chen.
* Fixing typo in unittest docs.Michael Foord2010-02-091-3/+3
|
* Blocked revisions 78119 via svnmergeMichael Foord2010-02-080-0/+0
| | | | | | | | ........ r78119 | michael.foord | 2010-02-08 23:15:22 +0000 (Mon, 08 Feb 2010) | 1 line Doc fix for unittest. ........
* Merged revisions 78116 via svnmerge fromMichael Foord2010-02-083-8/+21
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78116 | michael.foord | 2010-02-08 22:41:16 +0000 (Mon, 08 Feb 2010) | 1 line Make assertMultiLineEqual the default for comparing unicode strings. ........
* Merged revisions 78091,78094,78109 via svnmerge fromEzio Melotti2010-02-083-20/+20
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78091 | georg.brandl | 2010-02-07 19:02:22 +0200 (Sun, 07 Feb 2010) | 1 line Rename "exc_value" attribute on assertRaises context manager to "exception". ........ r78094 | michael.foord | 2010-02-07 20:44:12 +0200 (Sun, 07 Feb 2010) | 1 line assertRaises as context manager now allows you to access exception as documented ........ r78109 | ezio.melotti | 2010-02-08 23:52:08 +0200 (Mon, 08 Feb 2010) | 1 line Fix exc_value -> exception in docstring ........
* Merged revisions 78099 via svnmerge fromMark Dickinson2010-02-071-2/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78099 | mark.dickinson | 2010-02-07 20:31:10 +0000 (Sun, 07 Feb 2010) | 1 line Skip test_strtod entirely when correctly-rounded string->float isn't implemented ........
* Merged revisions 78097 via svnmerge fromRonald Oussoren2010-02-074-2/+29
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78097 | ronald.oussoren | 2010-02-07 21:18:02 +0100 (Sun, 07 Feb 2010) | 2 lines Issue 6003: ZipFile.writestr "compression_type" argument ........
* Forward port a number of OSX bugfixes from the trunk to 3.2Ronald Oussoren2010-02-076-8/+104
|
* Merged revisions 78088 via svnmerge fromAntoine Pitrou2010-02-071-19/+0
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78088 | antoine.pitrou | 2010-02-07 17:56:23 +0100 (dim., 07 févr. 2010) | 4 lines Issue #7870: Remove duplicate test methods. Reported by Georg Brandl. ........
* Merged revisions 78082,78086 via svnmerge fromMark Dickinson2010-02-071-10/+6
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78082 | mark.dickinson | 2010-02-07 13:01:56 +0000 (Sun, 07 Feb 2010) | 1 line Add missing global declarations for 'overflowok'; remove 'overflowrequired', which is no longer needed. ........ r78086 | mark.dickinson | 2010-02-07 13:09:52 +0000 (Sun, 07 Feb 2010) | 1 line Actually raise on failure, instead of doing nothing. ........
* * Checks that the SDK specified with --enable-universalsk=VALUE exists.Ronald Oussoren2010-02-072-1/+38
| | | | | | | * Fall back to the default system SDK when specifying --enable-universalsk without a value and the 10.4u SDK is not avaiable. Port of fix for issue 4834 from the trunk.
* Fix for issue 7714, ported from the trunk.Ronald Oussoren2010-02-072-18/+18
|
* Mention a configure warning that almost certainly indicates thatRonald Oussoren2010-02-071-0/+19
| | | | | configure is picking up a library that doesn't contain all architectures required for a universal build on OSX.
* Merged revisions 78056 via svnmerge fromRonald Oussoren2010-02-071-19/+1
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78056 | ronald.oussoren | 2010-02-07 12:29:31 +0100 (Sun, 07 Feb 2010) | 5 lines Remove call to gestalt('sysu') from platform.py. This gestalt call is not available on OSX an appearently causes problems for some users. Fixes issue 7812 ........
* Merged revisions 78041 via svnmerge fromMark Dickinson2010-02-061-25/+24
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78041 | mark.dickinson | 2010-02-06 23:11:25 +0000 (Sat, 06 Feb 2010) | 1 line testCopysign was defined twice in test_math; combine the definitions ........
* Remove Python 1.x or 2.x compatibility code.Georg Brandl2010-02-062-12/+3
|
* Recorded merge of revisions 78024 via svnmerge fromGeorg Brandl2010-02-0614-43/+46
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78024 | georg.brandl | 2010-02-06 19:44:44 +0100 (Sa, 06 Feb 2010) | 1 line #5341: fix "builtin" where used as an adjective ("built-in" is correct). ........
* Blocked revisions 78020,78022 via svnmergeBenjamin Peterson2010-02-060-0/+0
| | | | | | | | | | | | ........ r78020 | benjamin.peterson | 2010-02-06 10:37:32 -0600 (Sat, 06 Feb 2010) | 1 line bump version to 2.7a3 ........ r78022 | benjamin.peterson | 2010-02-06 12:26:27 -0600 (Sat, 06 Feb 2010) | 1 line post release updates ........
* Merged revisions 78014 via svnmerge fromR. David Murray2010-02-062-3/+8
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78014 | r.david.murray | 2010-02-05 23:27:21 -0500 (Fri, 05 Feb 2010) | 5 lines issue #7728: test_timeout was using a hardcoded port, which was causing buildbot failures. Changed to use test_support.bind_port. Patch by Florent Xicluna. ........
* Merged revisions 78010 via svnmerge fromMichael Foord2010-02-062-1/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78010 | michael.foord | 2010-02-06 00:22:26 +0000 (Sat, 06 Feb 2010) | 1 line unittest.TestLoader creates a TestSuite before calling load_tests. Issue 7799. ........
* Merged revisions 78007 via svnmerge fromMichael Foord2010-02-051-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78007 | michael.foord | 2010-02-05 23:28:12 +0000 (Fri, 05 Feb 2010) | 1 line Minor doc change. ........
* Merged revisions 78005 via svnmerge fromMichael Foord2010-02-051-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78005 | michael.foord | 2010-02-05 23:22:37 +0000 (Fri, 05 Feb 2010) | 1 line Correction to docstring correction. ........
* Merged revisions 78003 via svnmerge fromMichael Foord2010-02-051-5/+15
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78003 | michael.foord | 2010-02-05 22:55:09 +0000 (Fri, 05 Feb 2010) | 1 line Improving docstrings in unittest.TestCase ........
* Adding versionadded to the test skipping section of the unittest doc.Michael Foord2010-02-051-3/+2
|
* Merged revisions 77999 via svnmerge fromMichael Foord2010-02-051-3/+9
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77999 | michael.foord | 2010-02-05 21:07:38 +0000 (Fri, 05 Feb 2010) | 1 line Example of using assertRaises as a context manager in the unittest documentation. ........
* Merged revisions 77997 via svnmerge fromMichael Foord2010-02-051-1/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77997 | michael.foord | 2010-02-05 20:52:14 +0000 (Fri, 05 Feb 2010) | 1 line Closes issue 7030. ........
* Document the -J and -X options for CPython. Note that unlike for py2k, weBarry Warsaw2010-02-052-2/+17
| | | | don't need to document -U becuase it's gone in py3k.
* Blocked revisions 77992 via svnmergeBarry Warsaw2010-02-050-0/+0
| | | | | | | | | ........ r77992 | barry.warsaw | 2010-02-05 13:45:25 -0500 (Fri, 05 Feb 2010) | 4 lines Resolve bug 7847 by including documentation for -J, -U, and -X under "Options you shouldn't use". ........
* Blocked revisions 77989 via svnmergeAntoine Pitrou2010-02-050-0/+0
| | | | | | | | | | | ........ r77989 | antoine.pitrou | 2010-02-05 18:05:54 +0100 (ven., 05 févr. 2010) | 6 lines Issue #5677: Explicitly forbid write operations on read-only file objects, and read operations on write-only file objects. On Windows, the system C library would return a bogus result; on Solaris, it was possible to crash the interpreter. Patch by Stefan Krah. ........
* Fix raw_input->input in Popen doc patch.R. David Murray2010-02-051-1/+1
|
* Blocked revisions 77983 via svnmergeBenjamin Peterson2010-02-050-0/+0
| | | | | | | | | | | | | | | ........ r77983 | benjamin.peterson | 2010-02-04 20:12:14 -0600 (Thu, 04 Feb 2010) | 9 lines normalize exceptions passed to the __exit__ method #7853 In Python 2.x, exceptions in finally blocks are not normalized. Since with statements are implemented using finally blocks, ceval.c had to be tweaked to distinguish between with finally blocks and normal ones. A test for the finalization of generators containing with statements was also added. ........
* this works correctly in py3 alreadyBenjamin Peterson2010-02-051-1/+0
|
* Merged revisions 77980 via svnmerge fromBenjamin Peterson2010-02-051-3/+20
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77980 | benjamin.peterson | 2010-02-04 19:53:27 -0600 (Thu, 04 Feb 2010) | 1 line add a test for #7853; the exception must be normalized for with ........
* Merged revisions 77968 via svnmerge fromEzio Melotti2010-02-041-10/+10
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77968 | ezio.melotti | 2010-02-04 22:06:38 +0200 (Thu, 04 Feb 2010) | 1 line Use correct assert* methods in the examples. ........