]>
granicus.if.org Git - python/log
Benjamin Peterson [Wed, 30 Dec 2009 03:04:02 +0000 (03:04 +0000)]
Merged revisions 77130 via svnmerge from
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
........
Benjamin Peterson [Wed, 30 Dec 2009 03:02:39 +0000 (03:02 +0000)]
Merged revisions 77128 via svnmerge from
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
........
Amaury Forgeot d'Arc [Tue, 29 Dec 2009 22:39:49 +0000 (22:39 +0000)]
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.
........
Mark Dickinson [Tue, 29 Dec 2009 20:52:50 +0000 (20:52 +0000)]
Blocked revisions 77116 via svnmerge
........
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.
........
Georg Brandl [Tue, 29 Dec 2009 11:26:39 +0000 (11:26 +0000)]
Merged revisions 77108-77109,77111 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.
........
r77111 | georg.brandl | 2009-12-29 12:25:38 +0100 (Di, 29 Dez 2009) | 1 line
Fix wrong markup.
........
Georg Brandl [Mon, 28 Dec 2009 08:43:19 +0000 (08:43 +0000)]
Blocked revisions 77088 via svnmerge
........
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.
........
Mark Dickinson [Sun, 27 Dec 2009 21:35:25 +0000 (21:35 +0000)]
Blocked revisions 77071 via svnmerge
........
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:04:16 +0000 (19:04 +0000)]
Blocked revisions 77066 via svnmerge
........
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:11:46 +0000 (15:11 +0000)]
Blocked revisions 77062 via svnmerge
........
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 09:16:30 +0000 (09:16 +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.
........
Ezio Melotti [Fri, 25 Dec 2009 02:13:25 +0000 (02:13 +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 22:32:25 +0000 (22:32 +0000)]
Merged revisions 77045 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
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
........
Mark Dickinson [Thu, 24 Dec 2009 16:09:31 +0000 (16:09 +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:47 +0000 (15:21 +0000)]
Merged revisions 77038 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
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:19:38 +0000 (14:19 +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 13:07:53 +0000 (13:07 +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:06:04 +0000 (03:06 +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:21:03 +0000 (02:21 +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:13:50 +0000 (01:13 +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
........
Senthil Kumaran [Thu, 24 Dec 2009 00:51:34 +0000 (00:51 +0000)]
Issue: 7291. 2.6 backport missed the headers argument. Fixed it.
Gregory P. Smith [Wed, 23 Dec 2009 09:46:53 +0000 (09:46 +0000)]
Merged revisions 77007 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77007 | gregory.p.smith | 2009-12-23 01:31:11 -0800 (Wed, 23 Dec 2009) | 3 lines
Fix possible integer overflow in lchown and fchown functions. For issue1747858.
........
Tarek Ziadé [Mon, 21 Dec 2009 23:40:32 +0000 (23:40 +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:36:12 +0000 (23:36 +0000)]
Blocked revisions 76996 via svnmerge
........
r76996 | tarek.ziade | 2009-12-22 00:31:55 +0100 (Tue, 22 Dec 2009) | 1 line
backported r76993 and r76994 so the trunk behaves the same way with MSVC Manifest files editing
........
Martin v. Löwis [Mon, 21 Dec 2009 19:41:15 +0000 (19:41 +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.
........
Mark Dickinson [Mon, 21 Dec 2009 16:42:47 +0000 (16:42 +0000)]
Blocked revisions 76982 via svnmerge
........
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 16:30:16 +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:22:24 +0000 (15:22 +0000)]
Blocked revisions 76978 via svnmerge
........
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:46:56 +0000 (12:46 +0000)]
Blocked revisions 76973 via svnmerge
........
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:17:43 +0000 (12:17 +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:21:59 +0000 (11:21 +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:23:41 +0000 (01:23 +0000)]
Blocked revisions 76956 via svnmerge
........
r76956 | tarek.ziade | 2009-12-21 02:22:46 +0100 (Mon, 21 Dec 2009) | 1 line
massive import cleaning in Distutils
........
Tarek Ziadé [Sun, 20 Dec 2009 23:54:52 +0000 (23:54 +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:36:34 +0000 (20:36 +0000)]
Blocked revisions 76948 via svnmerge
........
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:23:49 +0000 (20:23 +0000)]
Merged revisions 76945 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
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:53:25 +0000 (19:53 +0000)]
Merged revisions 76941 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
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
........
Mark Dickinson [Sun, 20 Dec 2009 19:47:04 +0000 (19:47 +0000)]
Merged revisions 76939 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.
........
R. David Murray [Sun, 20 Dec 2009 17:12:58 +0000 (17:12 +0000)]
Blocked revisions 76934-76935 via svnmerge
........
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:04:10 +0000 (16:04 +0000)]
Blocked revisions 76930 via svnmerge
........
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:25:18 +0000 (15:25 +0000)]
Merged revisions 76927 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76927 | benjamin.peterson | 2009-12-20 09:23:22 -0600 (Sun, 20 Dec 2009) | 1 line
builtin-ins -> builtins
........
Mark Dickinson [Sun, 20 Dec 2009 14:08:45 +0000 (14:08 +0000)]
Blocked revisions 76916 via svnmerge
........
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.
........
Senthil Kumaran [Sun, 20 Dec 2009 06:32:46 +0000 (06:32 +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 22:59:01 +0000 (22:59 +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
........
Antoine Pitrou [Sat, 19 Dec 2009 21:07:24 +0000 (21:07 +0000)]
Blocked revisions 76898 via svnmerge
........
r76898 | antoine.pitrou | 2009-12-19 22:06:36 +0100 (sam., 19 déc. 2009) | 3 lines
Remove superfetatory paragraph (left there by mistake).
........
Antoine Pitrou [Sat, 19 Dec 2009 21:03:36 +0000 (21:03 +0000)]
Merged revisions 76896 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().
........
Mark Dickinson [Sat, 19 Dec 2009 11:22:10 +0000 (11:22 +0000)]
Blocked revisions 76878 via svnmerge
........
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 20:23:24 +0000 (20:23 +0000)]
Merged revisions 70531 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70531 | benjamin.peterson | 2009-03-23 00:24:58 +0200 (Mon, 23 Mar 2009) | 1 line
AttributeError can be thrown during recursion errors
........
Ezio Melotti [Fri, 18 Dec 2009 15:30:51 +0000 (15:30 +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:34:53 +0000 (08:34 +0000)]
Blocked revisions 76865 via svnmerge
........
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:14:46 +0000 (20:14 +0000)]
Blocked revisions 76861 via svnmerge
........
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:57 +0000 (15:19 +0000)]
Blocked revisions 76856 via svnmerge
........
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.
........
Benjamin Peterson [Wed, 16 Dec 2009 04:27:27 +0000 (04:27 +0000)]
backport change from trunk
Benjamin Peterson [Wed, 16 Dec 2009 03:45:28 +0000 (03:45 +0000)]
Merged revisions 76852 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76852 | benjamin.peterson | 2009-12-15 21:36:22 -0600 (Tue, 15 Dec 2009) | 1 line
remove type_compare, since type_richcompare does the same trick
........
Benjamin Peterson [Tue, 15 Dec 2009 03:28:17 +0000 (03:28 +0000)]
Merged revisions 76847 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76847 | benjamin.peterson | 2009-12-14 21:25:27 -0600 (Mon, 14 Dec 2009) | 1 line
adverb
........
R. David Murray [Mon, 14 Dec 2009 22:18:57 +0000 (22:18 +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.
........
R. David Murray [Mon, 14 Dec 2009 18:03:08 +0000 (18:03 +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.
........
R. David Murray [Mon, 14 Dec 2009 17:24:36 +0000 (17:24 +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.
........
Tarek Ziadé [Sun, 13 Dec 2009 23:25:09 +0000 (23:25 +0000)]
Blocked revisions 76826 via svnmerge
........
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
........
Mark Dickinson [Sun, 13 Dec 2009 21:11:53 +0000 (21:11 +0000)]
Blocked revisions 76813 via svnmerge
........
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.
........
R. David Murray [Sun, 13 Dec 2009 17:55:03 +0000 (17:55 +0000)]
Blocked revisions 73819,73821-73822,73877,73986,74098,74100 via svnmerge
All of these are descendants of the issue 6267 patch (r73638), which was
an enhancement patch and thus blocked from backport (even though it may
have contained a couple fixes...)
........
r73819 | kristjan.jonsson | 2009-07-03 19:07:07 -0400 (Fri, 03 Jul 2009) | 2 lines
http://bugs.python.org/issue6381
some platforms may raise ENOTCONN if the stack has disconnected the socket on behalf of the peer.
........
r73821 | kristjan.jonsson | 2009-07-03 19:26:02 -0400 (Fri, 03 Jul 2009) | 2 lines
http://bugs.python.org/issue6267
Incorrect exception handling for xmlrp client retry
........
r73822 | kristjan.jonsson | 2009-07-03 19:29:50 -0400 (Fri, 03 Jul 2009) | 2 lines
http://bugs.python.org/issue6267
Incorrect exception handling for xmlrpc client retry
........
r73877 | kristjan.jonsson | 2009-07-07 05:01:34 -0400 (Tue, 07 Jul 2009) | 2 lines
http://bugs.python.org/issue6382
added the shutdown_request() which can perform shutdown before calling close. This is needed for the ForkingMixIn because different close semantics are required for child and parent process. shutdown_request(), for TCP servers, calls socket.shutdown() and then calls close_request(). Therefore, this is not an backwards incompatible change, since subclasses that continue to override close_request() continue to work.
........
r73986 | kristjan.jonsson | 2009-07-12 18:42:08 -0400 (Sun, 12 Jul 2009) | 2 lines
http://bugs.python.org/issue6267
Add more tests for the xlmrpc.ServerProxy
........
r74098 | kristjan.jonsson | 2009-07-19 18:14:00 -0400 (Sun, 19 Jul 2009) | 2 lines
http://bugs.python.org/issue6499
zlib/gzip may not be present for all builds. Make xmlrpclib gracefully not supporg gzip encoding in this case
........
r74100 | kristjan.jonsson | 2009-07-19 18:35:44 -0400 (Sun, 19 Jul 2009) | 2 lines
http://bugs.python.org/issue6499
gzip.GzipFile may not exist as a parent class
........
Benjamin Peterson [Sun, 13 Dec 2009 17:34:05 +0000 (17:34 +0000)]
Merged revisions 76798-76799 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
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:41:44 +0000 (16:41 +0000)]
Merged revisions 76794 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
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:43 +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:20:15 +0000 (14:20 +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:38:07 +0000 (11:38 +0000)]
Blocked revisions 76780 via svnmerge
........
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 00:59:01 +0000 (00:59 +0000)]
Merged revisions 76774 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
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
........
Antoine Pitrou [Sat, 12 Dec 2009 19:27:08 +0000 (19:27 +0000)]
Blocked revisions 76763 via svnmerge
........
r76763 | antoine.pitrou | 2009-12-12 20:13:08 +0100 (sam., 12 déc. 2009) | 7 lines
Issue #7466: segmentation fault when the garbage collector is called
in the middle of populating a tuple. Patch by Florent Xicluna.
(note: no NEWS entry for trunk since the bug was introduced in 2.7/3.1)
........
R. David Murray [Sat, 12 Dec 2009 18:36:47 +0000 (18:36 +0000)]
Merged revisions 76726-76727 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
This merge changes the test harness to manually do the socket
shutdown that was made automatic in trunk by enhancement patch r73638
(issue 6267). Patch modification by Scott Dial.
........
r76726 | r.david.murray | 2009-12-09 10:15:31 -0500 (Wed, 09 Dec 2009) | 6 lines
Issue 5949: fixed IMAP4_SSL hang when the IMAP server response is
missing proper end-of-line termination. Patch and tests by
Scott Dial. The new tests include a test harness which will
make it easier to add additional tests.
........
r76727 | r.david.murray | 2009-12-09 11:41:39 -0500 (Wed, 09 Dec 2009) | 2 lines
Skip new imaplib SSL tests if ssl is not available.
........
Mark Dickinson [Fri, 11 Dec 2009 20:18:18 +0000 (20:18 +0000)]
Blocked revisions 76755 via svnmerge
........
r76755 | mark.dickinson | 2009-12-11 17:29:33 +0000 (Fri, 11 Dec 2009) | 2 lines
Issue #3366: Add lgamma function to math module.
........
Mark Dickinson [Fri, 11 Dec 2009 20:09:24 +0000 (20:09 +0000)]
Restore the svn property changes in r76754
Vinay Sajip [Fri, 11 Dec 2009 09:16:01 +0000 (09:16 +0000)]
Issue #7470: logging: fix bug in Unicode encoding fallback.
Tarek Ziadé [Thu, 10 Dec 2009 19:31:02 +0000 (19:31 +0000)]
Blocked revisions 76750 via svnmerge
........
r76750 | tarek.ziade | 2009-12-10 20:29:53 +0100 (Thu, 10 Dec 2009) | 1 line
using an existing file to avoid dealing with a sleep to test file ages
........
Tarek Ziadé [Thu, 10 Dec 2009 15:31:03 +0000 (15:31 +0000)]
Blocked revisions 76746 via svnmerge
........
r76746 | tarek.ziade | 2009-12-10 16:29:03 +0100 (Thu, 10 Dec 2009) | 1 line
added test coverage for distutils.dep_util, and cleaned up the module
........
Mark Dickinson [Thu, 10 Dec 2009 10:39:49 +0000 (10:39 +0000)]
Blocked revisions 76740 via svnmerge
........
r76740 | mark.dickinson | 2009-12-10 10:36:32 +0000 (Thu, 10 Dec 2009) | 8 lines
Replace the size check for PyMem_MALLOC and PyMem_REALLOC with an almost
equivalent[*] check that doesn't produce compiler warnings about a 'x < 0'
check on an unsigned type.
[*] it's equivalent for inputs of type size_t or Py_ssize_t, or any smaller
unsigned or signed integer type.
........
Ronald Oussoren [Thu, 10 Dec 2009 10:29:05 +0000 (10:29 +0000)]
Merged revisions 76738 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76738 | ronald.oussoren | 2009-12-10 11:27:09 +0100 (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.
........
Raymond Hettinger [Thu, 10 Dec 2009 05:56:49 +0000 (05:56 +0000)]
Fix variants of deque.extend: d.extend(d) d+=d d.extendleft(d)
Ronald Oussoren [Tue, 8 Dec 2009 16:39:36 +0000 (16:39 +0000)]
Remove documentation for the no longer existing 'Python IDE'
from the Python.app bundle on OSX.
This fixes Issue7437, the documentation contained filenames that
broke the installer on OSX 10.3.
Antoine Pitrou [Tue, 8 Dec 2009 15:41:50 +0000 (15:41 +0000)]
Blocked revisions 76708 via svnmerge
........
r76708 | antoine.pitrou | 2009-12-08 16:40:51 +0100 (mar., 08 déc. 2009) | 4 lines
Issue #6986: Fix crash in the JSON C accelerator when called with the
wrong parameter types. Patch by Victor Stinner.
........
Tarek Ziadé [Tue, 8 Dec 2009 09:40:27 +0000 (09:40 +0000)]
Blocked revisions 76704 via svnmerge
........
r76704 | tarek.ziade | 2009-12-08 10:39:51 +0100 (Tue, 08 Dec 2009) | 1 line
removed the usage of rfc822 in favor of email.message.Message
........
Tarek Ziadé [Tue, 8 Dec 2009 08:58:10 +0000 (08:58 +0000)]
Blocked revisions 76702 via svnmerge
........
r76702 | tarek.ziade | 2009-12-08 09:56:49 +0100 (Tue, 08 Dec 2009) | 1 line
Issue #7457: added a read_pkg_file method to distutils.dist.DistributionMetadata so we can read back PKG-INFO files
........
Tarek Ziadé [Sun, 6 Dec 2009 09:26:45 +0000 (09:26 +0000)]
Merged revisions 76684 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76684 | tarek.ziade | 2009-12-06 10:22:40 +0100 (Sun, 06 Dec 2009) | 1 line
Fixed #1923: make sure we don't strip meaningful whitespace in PKG-INFO Description field
........
Mark Dickinson [Fri, 4 Dec 2009 11:30:45 +0000 (11:30 +0000)]
Blocked revisions 76668 via svnmerge
........
r76668 | mark.dickinson | 2009-12-04 11:30:16 +0000 (Fri, 04 Dec 2009) | 1 line
Add missing issue number in Misc/NEWS entry.
........
Mark Dickinson [Fri, 4 Dec 2009 11:25:29 +0000 (11:25 +0000)]
Merged revisions 76665 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76665 | mark.dickinson | 2009-12-04 11:24:38 +0000 (Fri, 04 Dec 2009) | 2 lines
Avoid undefined behaviour due to overflow in i_divmod (Objects/intobject.c).
........
R. David Murray [Fri, 4 Dec 2009 00:01:31 +0000 (00:01 +0000)]
Merged revisions 76659 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76659 | r.david.murray | 2009-12-03 18:57:59 -0500 (Thu, 03 Dec 2009) | 4 lines
Issue 7431: use TESTFN in test_linecache instead of trying to create a
file in the Lib/test directory, which might be read-only for the
user running the tests.
........
Martin v. Löwis [Thu, 3 Dec 2009 20:56:15 +0000 (20:56 +0000)]
Merged revisions 76651 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76651 | martin.v.loewis | 2009-12-03 21:53:51 +0100 (Do, 03 Dez 2009) | 3 lines
Issue #4120: Drop reference to CRT from manifest when building
extensions with msvc9compiler.
........
Mark Dickinson [Thu, 3 Dec 2009 12:09:33 +0000 (12:09 +0000)]
Blocked revisions 76648 via svnmerge
........
r76648 | mark.dickinson | 2009-12-03 12:08:56 +0000 (Thu, 03 Dec 2009) | 3 lines
Issue #6985: number of range() items should be constrained to lie
in a Py_ssize_t, not an int.
........
Eric Smith [Wed, 2 Dec 2009 17:46:47 +0000 (17:46 +0000)]
Blocked revisions 76632 via svnmerge
........
r76632 | eric.smith | 2009-12-02 12:43:06 -0500 (Wed, 02 Dec 2009) | 1 line
Issue #4482: Add tests for special float value formatting.
........
Mark Dickinson [Wed, 2 Dec 2009 17:36:34 +0000 (17:36 +0000)]
Merged revisions 76629 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76629 | mark.dickinson | 2009-12-02 17:33:41 +0000 (Wed, 02 Dec 2009) | 3 lines
Issue #7406: Fix some occurrences of potential signed overflow in int
arithmetic.
........
Mark Dickinson [Mon, 30 Nov 2009 21:53:09 +0000 (21:53 +0000)]
Blocked revisions 76603,76605 via svnmerge
........
r76603 | raymond.hettinger | 2009-11-30 21:14:25 +0000 (Mon, 30 Nov 2009) | 1 line
Update project file for new file: dtoa.c
........
r76605 | mark.dickinson | 2009-11-30 21:51:30 +0000 (Mon, 30 Nov 2009) | 2 lines
Add dtoa.c and dtoa.h to the relevant project files.
........
Raymond Hettinger [Mon, 30 Nov 2009 21:33:31 +0000 (21:33 +0000)]
Add sentinel
Raymond Hettinger [Mon, 30 Nov 2009 11:15:28 +0000 (11:15 +0000)]
Issue #7410: deepcopy of itertools.count() erroneously reset the count.
Tarek Ziadé [Sun, 29 Nov 2009 22:22:40 +0000 (22:22 +0000)]
Blocked revisions 76588 via svnmerge
........
r76588 | tarek.ziade | 2009-11-29 23:20:30 +0100 (Sun, 29 Nov 2009) | 1 line
Fixed #7408: dropped group ownership checking because it relies on os-specific rules
........
Eric Smith [Sun, 29 Nov 2009 17:42:05 +0000 (17:42 +0000)]
Blocked revisions 76583 via svnmerge
........
r76583 | eric.smith | 2009-11-29 12:40:57 -0500 (Sun, 29 Nov 2009) | 1 line
Issue #3382: Make '%F' and float.__format__('F') convert results to upper case. Much of the patch came from Mark Dickinson.
........
Mark Dickinson [Sat, 28 Nov 2009 16:37:36 +0000 (16:37 +0000)]
Merged revisions 76575 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76575 | mark.dickinson | 2009-11-28 16:32:27 +0000 (Sat, 28 Nov 2009) | 5 lines
Issue #
1678380 : When distinguishing between -0.0 and 0.0 in
compiler_add_o, use copysign instead of examining the first and last
bytes of the double. The latter method fails for little-endian
ARM, OABI, where doubles are little-endian but with the words swapped.
........
Mark Dickinson [Sat, 28 Nov 2009 13:13:39 +0000 (13:13 +0000)]
Blocked revisions 76568 via svnmerge
........
r76568 | mark.dickinson | 2009-11-28 13:13:13 +0000 (Sat, 28 Nov 2009) | 1 line
Multiprocessing configure checks don't need LIBM
........
Mark Dickinson [Sat, 28 Nov 2009 12:39:54 +0000 (12:39 +0000)]
Blocked revisions 76432,76558 via svnmerge
........
r76432 | mark.dickinson | 2009-11-20 19:30:22 +0000 (Fri, 20 Nov 2009) | 5 lines
Issue #7272: Add configure test to detect whether sem_open works
properly, and use this to skip test_multiprocessing on platforms
where sem_open raises a signal. This should fix some FreeBSD buildbot
failures for test_multiprocessing.
........
r76558 | mark.dickinson | 2009-11-28 10:44:20 +0000 (Sat, 28 Nov 2009) | 4 lines
Issue #7272, continued: don't re-use existing HAVE_BROKEN_POSIX_SEMAPHORES
to indicate that semaphores aren't available; define a new variable
POSIX_SEMAPHORES_NOT_ENABLED instead.
........
Mark Dickinson [Sat, 28 Nov 2009 12:33:35 +0000 (12:33 +0000)]
Blocked revisions 76561 via svnmerge
........
r76561 | mark.dickinson | 2009-11-28 12:30:36 +0000 (Sat, 28 Nov 2009) | 5 lines
Include ieeefp.h (when available) in pyport.h instead of individually in
Objects/floatobject.c and Objects/complexobject.c. This should silence
compiler warnings about implicit declaration of the 'finite' function
on Solaris.
........
Vinay Sajip [Fri, 27 Nov 2009 14:03:36 +0000 (14:03 +0000)]
Issue #7403: Fixed possible race condition in lock creation.
Barry Warsaw [Wed, 25 Nov 2009 18:38:24 +0000 (18:38 +0000)]
Add mktime_tz to __all__. It's documented as being available in email.utils.
Mark Dickinson [Tue, 24 Nov 2009 20:55:17 +0000 (20:55 +0000)]
Blocked revisions 76502 via svnmerge
........
r76502 | mark.dickinson | 2009-11-24 20:51:48 +0000 (Tue, 24 Nov 2009) | 3 lines
Issue #7228: Fix format mismatch when printing something of type off_t.
(Should silence some compiler warnings.)
........
Alexandre Vassalotti [Tue, 24 Nov 2009 18:06:51 +0000 (18:06 +0000)]
Merged revisions 76499 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76499 | alexandre.vassalotti | 2009-11-24 12:53:23 -0500 (Tue, 24 Nov 2009) | 9 lines
Issue 7128: Removed reference to the non-existent copyreg module.
The reference to copyreg was a unnoticed leftover from the compatibility
support for the grand renaming of the standard library in Python 3. The
compatibility support was reverted in r63493, but not completely as this
patch shows.
Based on a patch by Amaury Forgeot d'Arc.
........