]>
granicus.if.org Git - python/log
Antoine Pitrou [Fri, 8 Jan 2010 19:21:34 +0000 (19:21 +0000)]
Merged revisions 77370 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77370 | antoine.pitrou | 2010-01-08 20:20:17 +0100 (ven., 08 janv. 2010) | 5 lines
Issue #7092: Remove py3k warning when importing cPickle. 2to3 handles
renaming of `cPickle` to `pickle`. The warning was annoying since there's
no alternative to cPickle if you care about performance. Patch by Florent
Xicluna.
........
Senthil Kumaran [Fri, 8 Jan 2010 18:25:42 +0000 (18:25 +0000)]
Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. Patch by flox.
Mark Dickinson [Fri, 8 Jan 2010 16:56:36 +0000 (16:56 +0000)]
Blocked revisions 77362 via svnmerge
........
r77362 | mark.dickinson | 2010-01-08 16:53:56 +0000 (Fri, 08 Jan 2010) | 1 line
Backport some float repr tests that were missed in issue 7117.
........
Antoine Pitrou [Thu, 7 Jan 2010 18:04:12 +0000 (18:04 +0000)]
Merged revisions 77352-77354 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77352 | antoine.pitrou | 2010-01-07 18:46:49 +0100 (jeu., 07 janv. 2010) | 5 lines
Issue #7455: Fix possible crash in cPickle on invalid input. Patch by
Florent Xicluna.
........
r77353 | antoine.pitrou | 2010-01-07 18:49:37 +0100 (jeu., 07 janv. 2010) | 3 lines
Fix attribution. Florent actually repackaged and reviewed Victor's patch (sorry!).
........
r77354 | antoine.pitrou | 2010-01-07 18:54:10 +0100 (jeu., 07 janv. 2010) | 3 lines
Fix reattribution mistake when fixing attribution mistake!
........
Mark Dickinson [Thu, 7 Jan 2010 09:30:13 +0000 (09:30 +0000)]
Blocked revisions 77339 via svnmerge
........
r77339 | mark.dickinson | 2010-01-07 09:28:29 +0000 (Thu, 07 Jan 2010) | 1 line
Eric Smith was missing fro m the issue 7117 whatsnew attribution.
........
R. David Murray [Wed, 6 Jan 2010 20:13:39 +0000 (20:13 +0000)]
Move news item to correct section.
R. David Murray [Wed, 6 Jan 2010 20:08:02 +0000 (20:08 +0000)]
Merged revisions 74245 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74245 | amaury.forgeotdarc | 2009-07-28 18:15:30 -0400 (Tue, 28 Jul 2009) | 3 lines
#6511: ZipFile will now raise BadZipfile when opening an empty or tiny file,
like it does for larger invalid files.
........
Mark Dickinson [Wed, 6 Jan 2010 16:21:27 +0000 (16:21 +0000)]
Merged revisions 77324 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77324 | mark.dickinson | 2010-01-06 16:20:22 +0000 (Wed, 06 Jan 2010) | 2 lines
Add missing docstring for Context.divmod. Thanks Juan José Conti.
........
Benjamin Peterson [Wed, 6 Jan 2010 00:55:21 +0000 (00:55 +0000)]
remove auto-numbered format fields
Ezio Melotti [Mon, 4 Jan 2010 21:51:09 +0000 (21:51 +0000)]
Merged revisions 77306 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77306 | ezio.melotti | 2010-01-04 23:43:02 +0200 (Mon, 04 Jan 2010) | 1 line
#3340: document print/get_usage and print/get_version
........
Mark Dickinson [Mon, 4 Jan 2010 21:32:33 +0000 (21:32 +0000)]
Blocked revisions 77302 via svnmerge
........
r77302 | mark.dickinson | 2010-01-04 21:32:02 +0000 (Mon, 04 Jan 2010) | 1 line
Fix typo in comment.
........
Georg Brandl [Sun, 3 Jan 2010 14:18:52 +0000 (14:18 +0000)]
Merged revisions 74225,77266,77279 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74225 | kurt.kaiser | 2009-07-27 18:09:28 +0200 (Mo, 27 Jul 2009) | 5 lines
1. Clean workspace more thoughly before build.
2. Add url of branch we are building to 'results' webpage.
(url is now available in $repo_path, could be added to failure email.)
3. Adjust permissions to improve upload reliability.
........
r77266 | kurt.kaiser | 2010-01-03 09:36:45 +0100 (So, 03 Jan 2010) | 6 lines
r77152 to Doc/Makefile broke doc build due to (at least some) make
binaries running clean prereq after checkout.
1. So, fix the insane make call in build.sh - seems to solve it.
2. Fix a missing redirection.
3. Check in the rsync opts that actually work during upload.
........
r77279 | georg.brandl | 2010-01-03 14:05:39 +0100 (So, 03 Jan 2010) | 1 line
Update doc build step.
........
Mark Dickinson [Sun, 3 Jan 2010 12:17:28 +0000 (12:17 +0000)]
Blocked revisions 77275 via svnmerge
........
r77275 | mark.dickinson | 2010-01-03 12:03:03 +0000 (Sun, 03 Jan 2010) | 1 line
Make use of PyLong_AsLongAndOverflow in math_ldexp.
........
Ezio Melotti [Sun, 3 Jan 2010 09:11:04 +0000 (09:11 +0000)]
Merged revisions 77271 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77271 | ezio.melotti | 2010-01-03 11:09:55 +0200 (Sun, 03 Jan 2010) | 1 line
:stmt: -> :keyword:
........
Ezio Melotti [Sun, 3 Jan 2010 09:04:19 +0000 (09:04 +0000)]
Merged revisions 77267 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77267 | ezio.melotti | 2010-01-03 11:01:27 +0200 (Sun, 03 Jan 2010) | 1 line
#7618: fix highlight of code blocks
........
Gregory P. Smith [Sat, 2 Jan 2010 21:35:36 +0000 (21:35 +0000)]
Merged revisions 77242 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77242 | gregory.p.smith | 2010-01-02 13:29:54 -0800 (Sat, 02 Jan 2010) | 3 lines
Correct documentation for s* z* and w*, the argument that should be passed
is the address of a Py_buffer, not a Py_buffer *.
........
Mark Dickinson [Sat, 2 Jan 2010 14:46:08 +0000 (14:46 +0000)]
Blocked revisions 77234 via svnmerge
........
r77234 | mark.dickinson | 2010-01-02 14:45:40 +0000 (Sat, 02 Jan 2010) | 7 lines
Refactor some longobject internals: PyLong_AsDouble and _PyLong_AsScaledDouble
(the latter renamed to _PyLong_Frexp) now use the same core code. The
exponent produced by _PyLong_Frexp now has type Py_ssize_t instead of the
previously used int, and no longer needs scaling by PyLong_SHIFT. This
frees the math module from having to know anything about the PyLong
implementation.
........
Mark Dickinson [Sat, 2 Jan 2010 14:31:13 +0000 (14:31 +0000)]
Merged revisions 77230 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77230 | mark.dickinson | 2010-01-02 14:29:52 +0000 (Sat, 02 Jan 2010) | 1 line
Clarify that the rect, phase and polar functions work with radians.
........
Benjamin Peterson [Sat, 2 Jan 2010 02:44:28 +0000 (02:44 +0000)]
Merged revisions 77222 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77222 | benjamin.peterson | 2010-01-01 20:43:04 -0600 (Fri, 01 Jan 2010) | 1 line
remove use of deprecated os.popen #7619
........
Mark Dickinson [Fri, 1 Jan 2010 17:28:04 +0000 (17:28 +0000)]
Blocked revisions 77218 via svnmerge
........
r77218 | mark.dickinson | 2010-01-01 17:27:30 +0000 (Fri, 01 Jan 2010) | 5 lines
Issue #5080: turn the DeprecationWarning from float arguments passed
to integer PyArg_Parse* format codes into a TypeError. Add a
DeprecationWarning for floats passed with the 'L' format code, which
didn't previously have a warning.
........
Ezio Melotti [Fri, 1 Jan 2010 04:46:19 +0000 (04:46 +0000)]
Merged revisions 77203-77204 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77203 | benjamin.peterson | 2010-01-01 06:00:55 +0200 (Fri, 01 Jan 2010) | 1 line
update copyright year
........
r77204 | ezio.melotti | 2010-01-01 06:16:42 +0200 (Fri, 01 Jan 2010) | 1 line
more copyright year updates
........
Brett Cannon [Fri, 1 Jan 2010 01:47:00 +0000 (01:47 +0000)]
Merged revisions 77198 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77198 | brett.cannon | 2009-12-31 17:44:57 -0800 (Thu, 31 Dec 2009) | 3 lines
Add some missing command-line options to the main list. All but -V were already
documented. Left -V undocumented for now (and -U was already undocumented).
........
Mark Dickinson [Thu, 31 Dec 2009 21:20:06 +0000 (21:20 +0000)]
Merged revisions 77193 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77193 | mark.dickinson | 2009-12-31 21:11:48 +0000 (Thu, 31 Dec 2009) | 1 line
More configure fixes: avoid sh 'integer argument expected' error when 'long long' type doesn't exist.
........
Mark Dickinson [Thu, 31 Dec 2009 21:17:29 +0000 (21:17 +0000)]
Regenerate configure using GNU autoconf 2.61.
Mark Dickinson [Thu, 31 Dec 2009 20:51:54 +0000 (20:51 +0000)]
Blocked revisions 77189 via svnmerge
........
r77189 | mark.dickinson | 2009-12-31 20:48:04 +0000 (Thu, 31 Dec 2009) | 1 line
Add missing quotes.
........
Ezio Melotti [Thu, 31 Dec 2009 13:49:19 +0000 (13:49 +0000)]
Merged revisions 77181 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77181 | ezio.melotti | 2009-12-31 15:47:24 +0200 (Thu, 31 Dec 2009) | 1 line
#7613: missing ) in flmodule.c
........
Benjamin Peterson [Wed, 30 Dec 2009 23:15:14 +0000 (23:15 +0000)]
rewrite for inferior assertRaises
Benjamin Peterson [Wed, 30 Dec 2009 19:41:48 +0000 (19:41 +0000)]
Merged revisions 77157 via svnmerge from
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.
........
Georg Brandl [Wed, 30 Dec 2009 16:23:42 +0000 (16:23 +0000)]
Merged revisions 77145 via svnmerge from
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.
........
Mark Dickinson [Wed, 30 Dec 2009 12:26:22 +0000 (12:26 +0000)]
Blocked revisions 77139-77140 via svnmerge
........
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.
........
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.