]>
granicus.if.org Git - python/log
Georg Brandl [Tue, 29 Dec 2009 11:24:00 +0000 (11:24 +0000)]
Merged revisions 77108-77109 via svnmerge from
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.
........
Benjamin Peterson [Tue, 29 Dec 2009 00:38:47 +0000 (00:38 +0000)]
Merged revisions 77104 via svnmerge from
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
........
Benjamin Peterson [Tue, 29 Dec 2009 00:37:04 +0000 (00:37 +0000)]
fix test on py3
Benjamin Peterson [Tue, 29 Dec 2009 00:06:20 +0000 (00:06 +0000)]
Merged revisions 77102 via svnmerge from
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
........
................
Georg Brandl [Mon, 28 Dec 2009 08:41:01 +0000 (08:41 +0000)]
Merged revisions 77088 via svnmerge from
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.
........
Georg Brandl [Mon, 28 Dec 2009 08:10:38 +0000 (08:10 +0000)]
Recorded merge of revisions 77086 via svnmerge from
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.
........
Georg Brandl [Mon, 28 Dec 2009 08:02:38 +0000 (08:02 +0000)]
Merged revisions 77084 via svnmerge from
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.
........
Georg Brandl [Mon, 28 Dec 2009 08:00:47 +0000 (08:00 +0000)]
Merged revisions 77081 via svnmerge from
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().
........
Georg Brandl [Mon, 28 Dec 2009 07:59:20 +0000 (07:59 +0000)]
#7577: fix signature info for getbufferproc.
Mark Dickinson [Sun, 27 Dec 2009 21:34:05 +0000 (21:34 +0000)]
Merged revisions 77071 via svnmerge from
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.
........
Mark Dickinson [Sun, 27 Dec 2009 19:03:31 +0000 (19:03 +0000)]
Merged revisions 77066 via svnmerge from
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).
........
Mark Dickinson [Sun, 27 Dec 2009 15:09:50 +0000 (15:09 +0000)]
Merged revisions 77062 via svnmerge from
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.
........
Senthil Kumaran [Sun, 27 Dec 2009 10:13:39 +0000 (10:13 +0000)]
Merged revisions 77058 via svnmerge from
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.
........
Ronald Oussoren [Sat, 26 Dec 2009 13:16:15 +0000 (13:16 +0000)]
Fix merge issue where I forgot to replace sys.maxint by sys.maxsize.
Ezio Melotti [Fri, 25 Dec 2009 02:16:56 +0000 (02:16 +0000)]
Merged revisions 77050 via svnmerge from
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
........
Ezio Melotti [Thu, 24 Dec 2009 23:01:34 +0000 (23:01 +0000)]
Blocked revisions 77045 via svnmerge
........
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
........
Ezio Melotti [Thu, 24 Dec 2009 22:54:06 +0000 (22:54 +0000)]
Remove test for unicode(e) converted to str(e) by 2to3
Mark Dickinson [Thu, 24 Dec 2009 16:12:49 +0000 (16:12 +0000)]
Merged revisions 77041 via svnmerge from
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.
........
Benjamin Peterson [Thu, 24 Dec 2009 15:21:26 +0000 (15:21 +0000)]
Blocked revisions 77038 via svnmerge
........
r77038 | benjamin.peterson | 2009-12-24 09:19:40 -0600 (Thu, 24 Dec 2009) | 1 line
allow Process name to be unicode #7571
........
Ronald Oussoren [Thu, 24 Dec 2009 14:21:55 +0000 (14:21 +0000)]
Merged revisions 77033 via svnmerge from
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
........
Ronald Oussoren [Thu, 24 Dec 2009 14:03:19 +0000 (14:03 +0000)]
Merged revisions 77031 via svnmerge from
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.
........
Ronald Oussoren [Thu, 24 Dec 2009 13:14:21 +0000 (13:14 +0000)]
Merged revisions 77026 via svnmerge from
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.
........
Ezio Melotti [Thu, 24 Dec 2009 03:23:23 +0000 (03:23 +0000)]
Merged revisions 77022 via svnmerge from
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
........
Senthil Kumaran [Thu, 24 Dec 2009 02:24:37 +0000 (02:24 +0000)]
Merged revisions 77018 via svnmerge from
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.
........
Benjamin Peterson [Thu, 24 Dec 2009 01:14:05 +0000 (01:14 +0000)]
Merged revisions 77014 via svnmerge from
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
........
Ezio Melotti [Wed, 23 Dec 2009 20:56:09 +0000 (20:56 +0000)]
Rephrased the introduction, added missing commas and my name for Unicode
Georg Brandl [Wed, 23 Dec 2009 10:30:45 +0000 (10:30 +0000)]
#7417: add signature to open() docstring.
Martin v. Löwis [Tue, 22 Dec 2009 08:57:39 +0000 (08:57 +0000)]
Merged revisions 76990-76991 via svnmerge from
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.
........
Martin v. Löwis [Tue, 22 Dec 2009 08:54:52 +0000 (08:54 +0000)]
Merged revisions 76989 via svnmerge from
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.
........
Tarek Ziadé [Mon, 21 Dec 2009 23:39:47 +0000 (23:39 +0000)]
Blocked revisions 76998 via svnmerge
........
r76998 | tarek.ziade | 2009-12-22 00:37:44 +0100 (Tue, 22 Dec 2009) | 1 line
added a note about #7556 in Misc/NEWS
........
Tarek Ziadé [Mon, 21 Dec 2009 23:16:09 +0000 (23:16 +0000)]
forgot to add the win32 test in the unittest skip call
Tarek Ziadé [Mon, 21 Dec 2009 23:12:41 +0000 (23:12 +0000)]
Fixed #7556: editing the MSVC manifest file with a regexp was throwing an error
Mark Dickinson [Mon, 21 Dec 2009 16:30:51 +0000 (16:30 +0000)]
Blocked revisions 76984 via svnmerge
........
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.
........
Mark Dickinson [Mon, 21 Dec 2009 15:42:00 +0000 (15:42 +0000)]
Merged revisions 76982 via svnmerge from
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.
........
Mark Dickinson [Mon, 21 Dec 2009 15:27:41 +0000 (15:27 +0000)]
Merged revisions 76978 via svnmerge from
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.
........
R. David Murray [Mon, 21 Dec 2009 12:50:02 +0000 (12:50 +0000)]
Merged revisions 76973 via svnmerge from
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.
........
Mark Dickinson [Mon, 21 Dec 2009 12:37:06 +0000 (12:37 +0000)]
Keep PyLong_AsLongAndOverflow documentation and implementation in sync
between py3k and trunk; merge new tests from trunk to py3k.
(See issue #7528.)
Mark Dickinson [Mon, 21 Dec 2009 12:18:09 +0000 (12:18 +0000)]
Blocked revisions 76967-76968 via svnmerge
........
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.
........
Mark Dickinson [Mon, 21 Dec 2009 11:22:47 +0000 (11:22 +0000)]
Blocked revisions 76963 via svnmerge
........
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.
........
Tarek Ziadé [Mon, 21 Dec 2009 01:49:00 +0000 (01:49 +0000)]
Merged revisions 76956 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76956 | tarek.ziade | 2009-12-21 02:22:46 +0100 (Mon, 21 Dec 2009) | 1 line
massive import cleaning in Distutils
........
Tarek Ziadé [Mon, 21 Dec 2009 00:02:20 +0000 (00:02 +0000)]
Merged revisions 76952 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76952 | tarek.ziade | 2009-12-21 00:23:34 +0100 (Mon, 21 Dec 2009) | 1 line
Fixed #7552: fixed distutils.command.upload failure on very long passwords
........
Mark Dickinson [Sun, 20 Dec 2009 20:37:56 +0000 (20:37 +0000)]
Merged revisions 76948 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76948 | mark.dickinson | 2009-12-20 20:34:44 +0000 (Sun, 20 Dec 2009) | 3 lines
Issue #7554: Various fixups in test_cmath.py: remove code duplication,
use new-style formatting. Thanks Florent Xicluna for the patch.
........
Mark Dickinson [Sun, 20 Dec 2009 20:24:18 +0000 (20:24 +0000)]
Blocked revisions 76945 via svnmerge
........
r76945 | mark.dickinson | 2009-12-20 20:23:01 +0000 (Sun, 20 Dec 2009) | 1 line
Silence -3 warnings. Thanks Florent Xicluna.
........
Mark Dickinson [Sun, 20 Dec 2009 19:56:09 +0000 (19:56 +0000)]
Merged revisions 76939,76941 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76939 | mark.dickinson | 2009-12-20 19:45:37 +0000 (Sun, 20 Dec 2009) | 1 line
Issue #7554: Fix incorrect usage of rAssertAlmostEqual. Thanks Florent Xicluna.
........
r76941 | mark.dickinson | 2009-12-20 19:52:36 +0000 (Sun, 20 Dec 2009) | 1 line
Fix for consistency with py3k keyword-only version of assertAlmostEqual
........
R. David Murray [Sun, 20 Dec 2009 17:28:31 +0000 (17:28 +0000)]
Merged revisions 76934-76935 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76934 | r.david.murray | 2009-12-20 11:24:46 -0500 (Sun, 20 Dec 2009) | 2 lines
Fix comment typo.
........
r76935 | r.david.murray | 2009-12-20 11:46:06 -0500 (Sun, 20 Dec 2009) | 10 lines
Issue #7376: When called with no arguments doctest was running a
self-test. Because of a change to the way tracebacks are printed,
this self-test was failing. The test is run (and passes) during normal
regression testing. So instead of running the failing self-test this
patch makes doctest emit a usage message. This is better behavior anyway
since passing in arguments is the real reason to run doctest as a command.
Bug discovery and initial patch by Florent Xicluna.
........
Mark Dickinson [Sun, 20 Dec 2009 16:03:30 +0000 (16:03 +0000)]
Merged revisions 76930 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76930 | mark.dickinson | 2009-12-20 15:57:56 +0000 (Sun, 20 Dec 2009) | 1 line
Add missing tests for PyArg_Parse* with format 'h'
........
Benjamin Peterson [Sun, 20 Dec 2009 15:24:32 +0000 (15:24 +0000)]
Blocked revisions 76927 via svnmerge
........
r76927 | benjamin.peterson | 2009-12-20 09:23:22 -0600 (Sun, 20 Dec 2009) | 1 line
builtin-ins -> builtins
........
Georg Brandl [Sun, 20 Dec 2009 14:38:23 +0000 (14:38 +0000)]
Recorded merge of revisions 76925 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76925 | georg.brandl | 2009-12-20 15:33:20 +0100 (So, 20 Dez 2009) | 1 line
#7381: subprocess documentation and library docstring consistency fixes.
........
Georg Brandl [Sun, 20 Dec 2009 14:24:06 +0000 (14:24 +0000)]
#7493: more review fixes.
Georg Brandl [Sun, 20 Dec 2009 14:21:27 +0000 (14:21 +0000)]
#7495: more review fixes.
Georg Brandl [Sun, 20 Dec 2009 14:20:59 +0000 (14:20 +0000)]
Blocked revisions 76920 via svnmerge
........
r76920 | georg.brandl | 2009-12-20 15:20:16 +0100 (So, 20 Dez 2009) | 1 line
#7495: backport Programming FAQ review to trunk.
........
Mark Dickinson [Sun, 20 Dec 2009 14:07:47 +0000 (14:07 +0000)]
Merged revisions 76916 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76916 | mark.dickinson | 2009-12-20 13:58:18 +0000 (Sun, 20 Dec 2009) | 3 lines
math.factorial depends on PyLong_AsLong correctly converting floats; rewrite
it to do the conversion explicitly instead. See issue #7550.
........
Ezio Melotti [Sun, 20 Dec 2009 12:24:57 +0000 (12:24 +0000)]
Fixed capitalization and markup; added imports in the example
Senthil Kumaran [Sun, 20 Dec 2009 07:31:21 +0000 (07:31 +0000)]
Document the headers parameter for set_tunnel.
Senthil Kumaran [Sun, 20 Dec 2009 07:10:31 +0000 (07:10 +0000)]
Merged revisions 76908 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76908 | senthil.kumaran | 2009-12-20 11:35:13 +0530 (Sun, 20 Dec 2009) | 4 lines
Fix for issue 7291 - urllib2 cannot handle https with proxy requiring auth
Refactored HTTPHandler tests and added testcase for proxy authorization.
........
Ezio Melotti [Sat, 19 Dec 2009 23:26:38 +0000 (23:26 +0000)]
Merged revisions 76904 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76904 | ezio.melotti | 2009-12-20 00:41:49 +0200 (Sun, 20 Dec 2009) | 1 line
#7388: "python".capitalize() in the Doc
........
Mark Dickinson [Sat, 19 Dec 2009 21:19:35 +0000 (21:19 +0000)]
Fix typo (reported by terlop on IRC)
Antoine Pitrou [Sat, 19 Dec 2009 21:08:31 +0000 (21:08 +0000)]
Merged revisions 76896,76898 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76896 | antoine.pitrou | 2009-12-19 22:01:10 +0100 (sam., 19 déc. 2009) | 3 lines
Issue #7545: improve documentation of the `buffering` argument in io.open().
........
r76898 | antoine.pitrou | 2009-12-19 22:06:36 +0100 (sam., 19 déc. 2009) | 3 lines
Remove superfetatory paragraph (left there by mistake).
........
Georg Brandl [Sat, 19 Dec 2009 18:23:28 +0000 (18:23 +0000)]
#7380: Fix some str/bytearray/bytes issues in uuid docs and implementation.
Antoine Pitrou [Sat, 19 Dec 2009 18:22:15 +0000 (18:22 +0000)]
Issue #7508: remove obsolete documentation about built-in file objects.
Georg Brandl [Sat, 19 Dec 2009 17:59:59 +0000 (17:59 +0000)]
#7500: add "Python 3 review needed" comments and fix a few obvious errors.
Georg Brandl [Sat, 19 Dec 2009 17:57:51 +0000 (17:57 +0000)]
#7499: Review of Library FAQ by Florent Xicluna.
Georg Brandl [Sat, 19 Dec 2009 17:51:41 +0000 (17:51 +0000)]
#7495: Review of Programming FAQ by Florent Xicluna.
Georg Brandl [Sat, 19 Dec 2009 17:46:40 +0000 (17:46 +0000)]
Recorded merge of revisions 76886 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76886 | georg.brandl | 2009-12-19 18:43:33 +0100 (Sa, 19 Dez 2009) | 1 line
#7493: review of Design FAQ by Florent Xicluna.
........
Georg Brandl [Sat, 19 Dec 2009 17:36:20 +0000 (17:36 +0000)]
#7521: remove PyEval_GetRestricted() from the docs.
Georg Brandl [Sat, 19 Dec 2009 17:35:49 +0000 (17:35 +0000)]
Merged revisions 76883 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76883 | georg.brandl | 2009-12-19 18:34:32 +0100 (Sa, 19 Dez 2009) | 1 line
#7521: remove Py_GetBuildNumber(), which was removed in favor of Py_GetBuildInfo().
........
Mark Dickinson [Sat, 19 Dec 2009 11:20:49 +0000 (11:20 +0000)]
Merged revisions 76878 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76878 | mark.dickinson | 2009-12-19 11:07:23 +0000 (Sat, 19 Dec 2009) | 3 lines
Issue #3366: Add error function and complementary error function to
math module.
........
Ezio Melotti [Fri, 18 Dec 2009 15:35:27 +0000 (15:35 +0000)]
Merged revisions 76804 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76804 | ezio.melotti | 2009-12-13 20:54:53 +0200 (Sun, 13 Dec 2009) | 1 line
#7342: make sure that the datetime object in test_fraction always has a number of microseconds != 0
........
Mark Dickinson [Thu, 17 Dec 2009 08:35:56 +0000 (08:35 +0000)]
Merged revisions 76865 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76865 | mark.dickinson | 2009-12-17 08:33:56 +0000 (Thu, 17 Dec 2009) | 1 line
Add _math.h to math module dependencies in setup.py.
........
Mark Dickinson [Wed, 16 Dec 2009 20:23:42 +0000 (20:23 +0000)]
Merged revisions 76861 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76861 | mark.dickinson | 2009-12-16 20:13:40 +0000 (Wed, 16 Dec 2009) | 3 lines
Issue #3366: Add expm1 function to math module. Thanks Eric Smith for
testing on Windows.
........
R. David Murray [Wed, 16 Dec 2009 15:19:27 +0000 (15:19 +0000)]
Merged revisions 76856 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76856 | r.david.murray | 2009-12-16 06:49:46 -0500 (Wed, 16 Dec 2009) | 2 lines
Issue #7396: fix -s, which was broken by the -j enhancement.
........
Kristján Valur Jónsson [Wed, 16 Dec 2009 10:50:44 +0000 (10:50 +0000)]
Merged revisions 74558 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74558 | kristjan.jonsson | 2009-08-27 23:13:18 +0000 (fim., 27 ßg·. 2009) | 2 lines
Issue 6654
Allow the XML-RPC server to use the HTTP request path when dispatching. Added a MultiPathXMLRPCServer class that uses the feature, plus unit tests.
........
Tarek Ziadé [Tue, 15 Dec 2009 06:30:35 +0000 (06:30 +0000)]
Blocked revisions 76849 via svnmerge
........
r76849 | tarek.ziade | 2009-12-15 07:29:19 +0100 (Tue, 15 Dec 2009) | 1 line
cleaned up the module (PEP 8 + old fashion test removal)
........
R. David Murray [Mon, 14 Dec 2009 23:06:11 +0000 (23:06 +0000)]
Fix typo in NEWS item for Issue 7498.
R. David Murray [Mon, 14 Dec 2009 22:45:15 +0000 (22:45 +0000)]
Merged revisions 76840 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76840 | r.david.murray | 2009-12-14 16:57:39 -0500 (Mon, 14 Dec 2009) | 3 lines
Issue #7498: make test_multiprocessing use test_support.find_unused_port
instead of a hard coded port number in test_rapid_restart.
........
Antoine Pitrou [Mon, 14 Dec 2009 18:00:06 +0000 (18:00 +0000)]
Issue #4757: `zlib.compress` and other methods in the zlib module now
raise a TypeError when given an `str` object (rather than a `bytes`-like
object). Patch by Victor Stinner and Florent Xicluna.
R. David Murray [Mon, 14 Dec 2009 17:27:08 +0000 (17:27 +0000)]
Merged revisions 76819,76830 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76819 | benjamin.peterson | 2009-12-13 16:15:31 -0500 (Sun, 13 Dec 2009) | 1 line
avoid having to update this statement all the time
........
r76830 | r.david.murray | 2009-12-13 21:50:32 -0500 (Sun, 13 Dec 2009) | 2 lines
Clarify phrasing that explains that there are currently two branches.
........
R. David Murray [Mon, 14 Dec 2009 17:11:00 +0000 (17:11 +0000)]
Blocked revisions 76831 via svnmerge
........
r76831 | r.david.murray | 2009-12-14 11:28:26 -0500 (Mon, 14 Dec 2009) | 6 lines
Issue #
1680159 : unicode coercion during an 'in' operation was masking
any errors that might occur during coercion of the left operand and
turning them into a TypeError with a message text that was confusing in
the given context. This patch lets any errors through, as was already
done during coercion of the right hand side.
........
Tarek Ziadé [Sun, 13 Dec 2009 23:26:18 +0000 (23:26 +0000)]
Merged revisions 76826 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76826 | tarek.ziade | 2009-12-14 00:24:13 +0100 (Mon, 14 Dec 2009) | 1 line
reorganized the distutils doc a bit : the MANIFEST.in template system has its own section now. This is easier to find and follow
........
Benjamin Peterson [Sun, 13 Dec 2009 21:30:54 +0000 (21:30 +0000)]
Merged revisions 76822,76824 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76822 | benjamin.peterson | 2009-12-13 15:21:43 -0600 (Sun, 13 Dec 2009) | 1 line
initialize to NULL
........
r76824 | benjamin.peterson | 2009-12-13 15:27:53 -0600 (Sun, 13 Dec 2009) | 1 line
add a test of loading the datetime capi
........
Brett Cannon [Sun, 13 Dec 2009 21:25:28 +0000 (21:25 +0000)]
Fix a minor grammatical error.
Brett Cannon [Sun, 13 Dec 2009 21:15:41 +0000 (21:15 +0000)]
Make the example paths in Mac/README no longer directly refer to 2.6.
Mark Dickinson [Sun, 13 Dec 2009 21:10:57 +0000 (21:10 +0000)]
Merged revisions 76813 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76813 | mark.dickinson | 2009-12-13 21:06:06 +0000 (Sun, 13 Dec 2009) | 3 lines
Issue #7492: Autoconf tests were leaving semaphore files behind. Add
sem_unlink calls to delete those semaphore files.
........
Benjamin Peterson [Sun, 13 Dec 2009 21:04:16 +0000 (21:04 +0000)]
remove references to cPickle
Mark Dickinson [Sun, 13 Dec 2009 20:03:21 +0000 (20:03 +0000)]
Make sure that test_capsule always returns NULL on error; this may
help diagnose the sporadic test_capi failures on Solaris.
Benjamin Peterson [Sun, 13 Dec 2009 19:28:09 +0000 (19:28 +0000)]
Merged revisions 76807 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76807 | benjamin.peterson | 2009-12-13 13:27:02 -0600 (Sun, 13 Dec 2009) | 1 line
remove unused variable
........
Benjamin Peterson [Sun, 13 Dec 2009 19:25:34 +0000 (19:25 +0000)]
Merged revisions 76805 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76805 | benjamin.peterson | 2009-12-13 13:19:07 -0600 (Sun, 13 Dec 2009) | 7 lines
accept None as the same as having passed no argument in file types #7349
This is for consistency with imitation file objects like StringIO and BytesIO.
This commit also adds a few tests, where they were lacking for concerned
methods.
........
Benjamin Peterson [Sun, 13 Dec 2009 17:32:59 +0000 (17:32 +0000)]
Blocked revisions 76798-76799 via svnmerge
........
r76798 | benjamin.peterson | 2009-12-13 11:29:16 -0600 (Sun, 13 Dec 2009) | 1 line
make StringIO like other file objects in that readline(-1) has no effect #7348
........
r76799 | benjamin.peterson | 2009-12-13 11:31:31 -0600 (Sun, 13 Dec 2009) | 1 line
add NEWS note
........
Benjamin Peterson [Sun, 13 Dec 2009 16:42:09 +0000 (16:42 +0000)]
Blocked revisions 76738 via svnmerge
........
r76738 | ronald.oussoren | 2009-12-10 04:27:09 -0600 (Thu, 10 Dec 2009) | 6 lines
Fix an issue with the detection of a non-existing SDK
on OSX. Without this patch it wasn't possible after all
to compile extensions on OSX 10.6 with the binary
installer unless the user had installed the (non-default)
10.4u SDK.
........
Benjamin Peterson [Sun, 13 Dec 2009 16:39:38 +0000 (16:39 +0000)]
Blocked revisions 76794 via svnmerge
........
r76794 | benjamin.peterson | 2009-12-13 10:36:53 -0600 (Sun, 13 Dec 2009) | 2 lines
fix the ignoring of __cmp__ method on metaclasses #7491
........
Antoine Pitrou [Sun, 13 Dec 2009 16:19:46 +0000 (16:19 +0000)]
Blocked revisions 76791 via svnmerge
........
r76791 | antoine.pitrou | 2009-12-13 17:18:14 +0100 (dim., 13 déc. 2009) | 5 lines
Add NEWS entry as per RDM's suggestion (the bug was actually present
in 2.7 alpha 1)
........
Benjamin Peterson [Sun, 13 Dec 2009 14:26:42 +0000 (14:26 +0000)]
update 3.x versions
Benjamin Peterson [Sun, 13 Dec 2009 14:23:30 +0000 (14:23 +0000)]
fix markup
Benjamin Peterson [Sun, 13 Dec 2009 14:21:46 +0000 (14:21 +0000)]
Merged revisions 76785 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76785 | benjamin.peterson | 2009-12-13 08:18:08 -0600 (Sun, 13 Dec 2009) | 1 line
add 2.6.x point releases
........
Lars Gustäbel [Sun, 13 Dec 2009 11:42:29 +0000 (11:42 +0000)]
Merged revisions 76780 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76780 | lars.gustaebel | 2009-12-13 12:32:27 +0100 (Sun, 13 Dec 2009) | 21 lines
Issue #7357: No longer suppress fatal extraction errors by
default.
TarFile's errorlevel argument controls how errors are
handled that occur during extraction. There are three
possible levels 0, 1 and 2. If errorlevel is set to 1 or 2
fatal errors (e.g. a full filesystem) are raised as
exceptions. If it is set to 0, which is the default value,
extraction errors are suppressed, and error messages are
written to the debug log instead. But, if the debug log is
not activated, which is the default as well, all these
errors go unnoticed.
The original intention was to imitate GNU tar which tries
to extract as many members as possible instead of stopping
on the first error. It turns out that this is no good
default behaviour for a tar library. This patch simply
changes the default value for the errorlevel argument from
0 to 1, so that fatal extraction errors are raised as
EnvironmentError exceptions.
........
Benjamin Peterson [Sun, 13 Dec 2009 02:10:36 +0000 (02:10 +0000)]
Merged revisions 76052,76522,76591,76689,76697,76733 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76052 | gregory.p.smith | 2009-11-01 20:02:38 -0600 (Sun, 01 Nov 2009) | 5 lines
see issue1006238, this merges in the following patch to ease cross
compiling the printf %zd check.
http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/python/files/python-2.5-cross-printf.patch?rev=1.1&view=markup
........
r76522 | barry.warsaw | 2009-11-25 12:38:32 -0600 (Wed, 25 Nov 2009) | 2 lines
Add mktime_tz to __all__. It's documented as being available in email.utils.
........
r76591 | benjamin.peterson | 2009-11-29 16:26:26 -0600 (Sun, 29 Nov 2009) | 4 lines
now that deepcopy can handle instance methods, this hack can be removed #7409
Thanks Robert Collins
........
r76689 | benjamin.peterson | 2009-12-06 11:37:48 -0600 (Sun, 06 Dec 2009) | 1 line
rewrite translate_newlines for clarity
........
r76697 | benjamin.peterson | 2009-12-06 15:24:30 -0600 (Sun, 06 Dec 2009) | 2 lines
fix test_parser from tokenizer tweak
........
r76733 | benjamin.peterson | 2009-12-09 21:37:59 -0600 (Wed, 09 Dec 2009) | 1 line
substitute PyDict_Check() for PyObject_IsInstance
........
Benjamin Peterson [Sun, 13 Dec 2009 01:24:58 +0000 (01:24 +0000)]
regenerate Python-ast.c
Benjamin Peterson [Sun, 13 Dec 2009 01:23:39 +0000 (01:23 +0000)]
Merged revisions 76534,76538,76628,76701,76774 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76534 | martin.v.loewis | 2009-11-26 02:42:05 -0600 (Thu, 26 Nov 2009) | 2 lines
Fix typo.
........
r76538 | georg.brandl | 2009-11-26 14:48:25 -0600 (Thu, 26 Nov 2009) | 1 line
#7400: typo.
........
r76628 | andrew.kuchling | 2009-12-02 08:27:11 -0600 (Wed, 02 Dec 2009) | 1 line
Markup fixes
........
r76701 | andrew.kuchling | 2009-12-07 20:37:05 -0600 (Mon, 07 Dec 2009) | 1 line
Typo fix; grammar fix
........
r76774 | benjamin.peterson | 2009-12-12 18:54:15 -0600 (Sat, 12 Dec 2009) | 1 line
account for PyObject_IsInstance's new ability to fail
........
Benjamin Peterson [Sun, 13 Dec 2009 00:38:59 +0000 (00:38 +0000)]
Blocked revisions 76602,76690-76691,76736-76737,76754 via svnmerge
........
r76602 | raymond.hettinger | 2009-11-30 15:13:52 -0600 (Mon, 30 Nov 2009) | 1 line
Handle step values other than one.
........
r76690 | vinay.sajip | 2009-12-06 11:57:11 -0600 (Sun, 06 Dec 2009) | 1 line
logging: Added optional 'secure' parameter to SMTPHandler.
........
r76691 | vinay.sajip | 2009-12-06 12:05:04 -0600 (Sun, 06 Dec 2009) | 1 line
logging: Improved support for SMTP over TLS.
........
r76736 | raymond.hettinger | 2009-12-10 00:00:33 -0600 (Thu, 10 Dec 2009) | 1 line
Fix variants of deque.extend: d.extend(d) d+=d d.extendleft(d)
........
r76737 | raymond.hettinger | 2009-12-10 00:42:54 -0600 (Thu, 10 Dec 2009) | 1 line
Add a reverse() method to collections.deque().
........
r76754 | vinay.sajip | 2009-12-11 03:16:01 -0600 (Fri, 11 Dec 2009) | 1 line
Issue #7470: logging: fix bug in Unicode encoding fallback.
........
Benjamin Peterson [Sun, 13 Dec 2009 00:32:14 +0000 (00:32 +0000)]
death to exec statement