summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 77160 via svnmerge fromBenjamin Peterson2009-12-301-0/+5
| | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ................ r77160 | benjamin.peterson | 2009-12-30 13:44:23 -0600 (Wed, 30 Dec 2009) | 9 lines Merged revisions 77158 via svnmerge from svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r77158 | benjamin.peterson | 2009-12-30 13:41:03 -0600 (Wed, 30 Dec 2009) | 1 line clean up logging's global state after the test finishes ........ ................
* Merged revisions 77157 via svnmerge fromBenjamin Peterson2009-12-304-6/+27
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77157 | benjamin.peterson | 2009-12-30 13:34:10 -0600 (Wed, 30 Dec 2009) | 5 lines check if the attribute is set before deleting it with T_OBJECT_EX (fixes #7604) Also, add a note to the docs about the better behavior of T_OBJECT_EX as compared to T_OBJECT. ........
* Merged revisions 77145 via svnmerge fromGeorg Brandl2009-12-301-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77145 | georg.brandl | 2009-12-30 17:21:26 +0100 (Mi, 30 Dez 2009) | 1 line Use new Pygments version. ........
* Merged revisions 77139-77140 via svnmerge fromMark Dickinson2009-12-305-25/+294
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77139 | mark.dickinson | 2009-12-30 12:12:23 +0000 (Wed, 30 Dec 2009) | 3 lines Issue #7534: Fix handling of nans, infinities, and negative zero in ** operator, on IEEE 754 platforms. Thanks Marcos Donolo for original patch. ........ r77140 | mark.dickinson | 2009-12-30 12:22:49 +0000 (Wed, 30 Dec 2009) | 1 line Add Marcos Donolo for work on issue 7534 patch. ........
* Merged revisions 77136 via svnmerge fromEzio Melotti2009-12-304-502/+483
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77136 | ezio.melotti | 2009-12-30 08:14:51 +0200 (Wed, 30 Dec 2009) | 1 line #5511: Added the ability to use ZipFile as a context manager. Patch by Brian Curtin. ........
* Merged revisions 77130 via svnmerge fromBenjamin Peterson2009-12-301-1/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77130 | benjamin.peterson | 2009-12-29 21:02:34 -0600 (Tue, 29 Dec 2009) | 1 line wrap long line ........
* Merged revisions 77128 via svnmerge fromBenjamin Peterson2009-12-302-1/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77128 | benjamin.peterson | 2009-12-29 20:58:50 -0600 (Tue, 29 Dec 2009) | 1 line only build the nis module when the headers are found #7589 ........
* (issue 7413 does not concern py3k, I merge the test nonetheless)Amaury Forgeot d'Arc2009-12-291-0/+1
| | | | | | | | | | | | Merged revisions 77122 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r77122 | amaury.forgeotdarc | 2009-12-29 23:03:38 +0100 (mar., 29 déc. 2009) | 3 lines #7413: Passing '\0' as the separator to datetime.datetime.isoformat() used to drop the time part of the result. ........
* #7590: exception classes no longer are in the "exceptions" module. Also ↵Georg Brandl2009-12-291-13/+5
| | | | clean up text that was written with string exceptions in mind.
* Merged revisions 77116 via svnmerge fromMark Dickinson2009-12-291-1/+7
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77116 | mark.dickinson | 2009-12-29 20:51:24 +0000 (Tue, 29 Dec 2009) | 6 lines Issue #7575: An overflow test for math.expm1 was failing on OS X 10.4/Intel, due to a defect in the platform's implementation of expm1. Since the issue is of low severity, and appears to be fixed in OS X 10.5 and 10.6, it doesn't seem worth working around, so I'm just weakening the relevant test so that it passes on 10.4. ........
* Blocked revisions 77111 via svnmergeGeorg Brandl2009-12-290-0/+0
| | | | | | | | ........ r77111 | georg.brandl | 2009-12-29 12:25:38 +0100 (Di, 29 Dez 2009) | 1 line Fix wrong markup. ........
* Merged revisions 77108-77109 via svnmerge fromGeorg Brandl2009-12-291-229/+235
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77108 | georg.brandl | 2009-12-29 11:34:34 +0100 (Di, 29 Dez 2009) | 1 line #7569: clarification about c_char_p. ........ r77109 | georg.brandl | 2009-12-29 12:06:31 +0100 (Di, 29 Dez 2009) | 1 line Improve markup of ctypes docs. ........
* Merged revisions 77104 via svnmerge fromBenjamin Peterson2009-12-291-2/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77104 | benjamin.peterson | 2009-12-28 18:09:33 -0600 (Mon, 28 Dec 2009) | 1 line enable test_main.py ........
* fix test on py3Benjamin Peterson2009-12-291-2/+2
|
* Merged revisions 77102 via svnmerge fromBenjamin Peterson2009-12-296-19/+122
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ................ r77102 | benjamin.peterson | 2009-12-28 17:50:41 -0600 (Mon, 28 Dec 2009) | 50 lines Merged revisions 76871-76872,77093-77095,77097-77101 via svnmerge from svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r76871 | benjamin.peterson | 2009-12-17 20:49:21 -0600 (Thu, 17 Dec 2009) | 1 line handle unencodable diffs gracefully #5093 ........ r76872 | benjamin.peterson | 2009-12-17 20:51:37 -0600 (Thu, 17 Dec 2009) | 1 line fix emacs header ........ r77093 | benjamin.peterson | 2009-12-28 14:43:32 -0600 (Mon, 28 Dec 2009) | 7 lines replace callable(x) with isinstance(x, collections.Callable) #7006 This is a more accurate translation than hasattr(x, '__call__') which failed in the case that somebody had put __call__ in the instance dictionary. Patch mostly by Joe Amenta. ........ r77094 | benjamin.peterson | 2009-12-28 14:45:13 -0600 (Mon, 28 Dec 2009) | 2 lines deuglify imports ........ r77095 | benjamin.peterson | 2009-12-28 14:49:23 -0600 (Mon, 28 Dec 2009) | 1 line remove unused flag ........ r77097 | benjamin.peterson | 2009-12-28 16:12:13 -0600 (Mon, 28 Dec 2009) | 2 lines clean up imports and whitespace ........ r77098 | benjamin.peterson | 2009-12-28 16:43:35 -0600 (Mon, 28 Dec 2009) | 1 line *** empty log message *** ........ r77099 | benjamin.peterson | 2009-12-28 16:45:10 -0600 (Mon, 28 Dec 2009) | 1 line revert unintended change ........ r77100 | benjamin.peterson | 2009-12-28 16:53:21 -0600 (Mon, 28 Dec 2009) | 1 line revert unintended changes ........ r77101 | benjamin.peterson | 2009-12-28 17:46:02 -0600 (Mon, 28 Dec 2009) | 1 line normalize whitespace ........ ................
* Merged revisions 77088 via svnmerge fromGeorg Brandl2009-12-287-2/+118
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77088 | georg.brandl | 2009-12-28 09:34:58 +0100 (Mo, 28 Dez 2009) | 1 line #7033: add new API function PyErr_NewExceptionWithDoc, for easily giving new exceptions a docstring. ........
* Recorded merge of revisions 77086 via svnmerge fromGeorg Brandl2009-12-281-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77086 | georg.brandl | 2009-12-28 09:09:32 +0100 (Mo, 28 Dez 2009) | 1 line #7381: consistency update, and backport avoiding ``None >= 0`` check from py3k. ........
* Merged revisions 77084 via svnmerge fromGeorg Brandl2009-12-281-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77084 | georg.brandl | 2009-12-28 09:01:59 +0100 (Mo, 28 Dez 2009) | 1 line #7586: fix typo. ........
* Merged revisions 77081 via svnmerge fromGeorg Brandl2009-12-281-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77081 | georg.brandl | 2009-12-28 08:59:05 +0100 (Mo, 28 Dez 2009) | 1 line #7577: fix signature of PyBuffer_FillInfo(). ........
* #7577: fix signature info for getbufferproc.Georg Brandl2009-12-281-1/+1
|
* Merged revisions 77071 via svnmerge fromMark Dickinson2009-12-271-3/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77071 | mark.dickinson | 2009-12-27 21:31:50 +0000 (Sun, 27 Dec 2009) | 1 line Use a more idiomatic check in check_truediv. ........
* Merged revisions 77066 via svnmerge fromMark Dickinson2009-12-271-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77066 | mark.dickinson | 2009-12-27 16:16:02 +0000 (Sun, 27 Dec 2009) | 1 line Use ldexp(q, exp) instead of q*2.**exp in true division test, to avoid bogus failures on platforms with broken pow (e.g., Ubuntu/ia64). ........
* Merged revisions 77062 via svnmerge fromMark Dickinson2009-12-273-34/+419
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77062 | mark.dickinson | 2009-12-27 14:55:57 +0000 (Sun, 27 Dec 2009) | 2 lines Issue #1811: Improve accuracy and consistency of true division for integers. ........
* Merged revisions 77058 via svnmerge fromSenthil Kumaran2009-12-271-5/+6
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77058 | senthil.kumaran | 2009-12-27 14:41:09 +0530 (Sun, 27 Dec 2009) | 4 lines Fix for issue5625 - test_urllib2 fails - urlopen error file not on local host. This is on hosts with multiple ip addresses. ........
* Fix merge issue where I forgot to replace sys.maxint by sys.maxsize.Ronald Oussoren2009-12-261-1/+30
|
* Merged revisions 77050 via svnmerge fromEzio Melotti2009-12-251-5/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77050 | ezio.melotti | 2009-12-25 04:12:01 +0200 (Fri, 25 Dec 2009) | 1 line Updated sys.flags table in Doc ........
* Blocked revisions 77045 via svnmergeEzio Melotti2009-12-240-0/+0
| | | | | | | | ........ r77045 | ezio.melotti | 2009-12-25 00:25:17 +0200 (Fri, 25 Dec 2009) | 1 line #6108: unicode(exception) and str(exception) should return the same message ........
* Remove test for unicode(e) converted to str(e) by 2to3Ezio Melotti2009-12-241-5/+3
|
* Merged revisions 77041 via svnmerge fromMark Dickinson2009-12-241-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77041 | mark.dickinson | 2009-12-24 16:06:58 +0000 (Thu, 24 Dec 2009) | 1 line Issue #7568: typo in docstring. Thanks Mike Putnam. ........
* Blocked revisions 77038 via svnmergeBenjamin Peterson2009-12-240-0/+0
| | | | | | | | ........ r77038 | benjamin.peterson | 2009-12-24 09:19:40 -0600 (Thu, 24 Dec 2009) | 1 line allow Process name to be unicode #7571 ........
* Merged revisions 77033 via svnmerge fromRonald Oussoren2009-12-242-0/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77033 | ronald.oussoren | 2009-12-24 15:17:19 +0100 (Thu, 24 Dec 2009) | 2 lines Fix for issue #7541: python-config --ldflags doesn't pick up libpython2.5.a ........
* Merged revisions 77031 via svnmerge fromRonald Oussoren2009-12-248-118/+265
| | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77031 | ronald.oussoren | 2009-12-24 14:30:58 +0100 (Thu, 24 Dec 2009) | 15 lines Issue #6834: replace the implementation for the 'python' and 'pythonw' executables on OSX. The previous implementation used execv(2) to run the real interpreter, which means that you cannot use the arch(1) tool to select the architecture you want to use for a universal build because that only affects the python/pythonw wrapper and not the actual interpreter. The new version uses posix_spawnv with a number of OSX-specific options that ensure that the real interpreter is started using the same CPU architecture as the wrapper, and that means that 'arch -ppc python' now actually works. I've also changed the way that the wrapper looks for the framework: it is now linked to the framework rather than hardcoding the framework path. This should make it easier to provide pythonw support in tools like virtualenv. ........
* Merged revisions 77026 via svnmerge fromRonald Oussoren2009-12-241-0/+10
| | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77026 | ronald.oussoren | 2009-12-24 14:06:39 +0100 (Thu, 24 Dec 2009) | 8 lines On OSX the output of "uname -m" always reflects the 32-bit architecture for the machine ("i386" or "ppc"), even if the executable is 64-bit. This patchs ensures that the distutils platform architecture represents the architecture for the executable when running a 64-bit only executable on OSX. ........
* Merged revisions 77022 via svnmerge fromEzio Melotti2009-12-241-6/+6
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77022 | ezio.melotti | 2009-12-24 04:54:53 +0200 (Thu, 24 Dec 2009) | 1 line Added markup and default arg, fixed example ........
* Merged revisions 77018 via svnmerge fromSenthil Kumaran2009-12-241-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77018 | senthil.kumaran | 2009-12-24 07:48:14 +0530 (Thu, 24 Dec 2009) | 3 lines Fix for Issue7570: Error in urllib2 example. ........
* Merged revisions 77014 via svnmerge fromBenjamin Peterson2009-12-241-3/+8
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77014 | benjamin.peterson | 2009-12-23 19:09:53 -0600 (Wed, 23 Dec 2009) | 1 line fix alleged refleak ........
* Rephrased the introduction, added missing commas and my name for UnicodeEzio Melotti2009-12-231-17/+15
|
* #7417: add signature to open() docstring.Georg Brandl2009-12-231-0/+3
|
* Merged revisions 76990-76991 via svnmerge fromMartin v. Löwis2009-12-224-4/+6
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76990 | martin.v.loewis | 2009-12-21 20:27:15 +0100 (Mo, 21 Dez 2009) | 1 line Switch to OpenSSL 0.9.8l. ........ r76991 | martin.v.loewis | 2009-12-21 20:29:59 +0100 (Mo, 21 Dez 2009) | 1 line Add NEWS for OpenSSL changes. ........
* Merged revisions 76989 via svnmerge fromMartin v. Löwis2009-12-221-5/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76989 | martin.v.loewis | 2009-12-21 20:25:56 +0100 (Mo, 21 Dez 2009) | 1 line Drop 2.4 compatibility. ........
* Blocked revisions 76998 via svnmergeTarek Ziadé2009-12-210-0/+0
| | | | | | | | ........ r76998 | tarek.ziade | 2009-12-22 00:37:44 +0100 (Tue, 22 Dec 2009) | 1 line added a note about #7556 in Misc/NEWS ........
* forgot to add the win32 test in the unittest skip callTarek Ziadé2009-12-211-1/+1
|
* Fixed #7556: editing the MSVC manifest file with a regexp was throwing an errorTarek Ziadé2009-12-213-29/+113
|
* Blocked revisions 76984 via svnmergeMark Dickinson2009-12-210-0/+0
| | | | | | | | | ........ r76984 | mark.dickinson | 2009-12-21 16:29:21 +0000 (Mon, 21 Dec 2009) | 3 lines Issue #7553: test_long_future wasn't testing properly. Thanks Florent Xicluna for bug report and patch. ........
* Merged revisions 76982 via svnmerge fromMark Dickinson2009-12-211-4/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76982 | mark.dickinson | 2009-12-21 15:40:33 +0000 (Mon, 21 Dec 2009) | 2 lines Inverse hyperbolic trigonometric functions should call m_log1p, not log1p. ........
* Merged revisions 76978 via svnmerge fromMark Dickinson2009-12-218-231/+250
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76978 | mark.dickinson | 2009-12-21 15:22:00 +0000 (Mon, 21 Dec 2009) | 3 lines Issue #7518: Move substitute definitions of C99 math functions from pymath.c to Modules/_math.c. ........
* Merged revisions 76973 via svnmerge fromR. David Murray2009-12-211-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76973 | r.david.murray | 2009-12-21 07:45:41 -0500 (Mon, 21 Dec 2009) | 2 lines Remove a leftover from a previous iteration of the issue 7376 patch. ........
* Keep PyLong_AsLongAndOverflow documentation and implementation in syncMark Dickinson2009-12-213-13/+184
| | | | | between py3k and trunk; merge new tests from trunk to py3k. (See issue #7528.)
* Blocked revisions 76967-76968 via svnmergeMark Dickinson2009-12-210-0/+0
| | | | | | | | | | | | ........ r76967 | mark.dickinson | 2009-12-21 11:31:54 +0000 (Mon, 21 Dec 2009) | 1 line Fix reference counts for test_long_and_overflow. ........ r76968 | mark.dickinson | 2009-12-21 12:15:48 +0000 (Mon, 21 Dec 2009) | 1 line Additional edge-case tests for test_long_and_overflow. ........
* Blocked revisions 76963 via svnmergeMark Dickinson2009-12-210-0/+0
| | | | | | | | | ........ r76963 | mark.dickinson | 2009-12-21 11:21:25 +0000 (Mon, 21 Dec 2009) | 3 lines Issue #7528: Backport PyLong_AsLongAndOverflow from py3k to trunk. Thanks Case Van Horsen for the patch. ........