]>
granicus.if.org Git - python/log
Mark Dickinson [Sat, 16 Jan 2010 18:13:59 +0000 (18:13 +0000)]
Blocked revisions 77519,77530,77533 via svnmerge
........
r77519 | mark.dickinson | 2010-01-16 10:44:00 +0000 (Sat, 16 Jan 2010) | 5 lines
Issue #7632: Fix a serious wrong output bug for string -> float conversion.
Also remove some now unused variables, and add comments clarifying the
possible outputs of the parsing section of _Py_dg_strtod. Thanks
Eric Smith for reviewing.
........
r77530 | mark.dickinson | 2010-01-16 17:57:49 +0000 (Sat, 16 Jan 2010) | 3 lines
Issue #7632: Fix one more case of incorrect rounding for str -> float
conversion (see bug 5 in the issue tracker).
........
r77533 | mark.dickinson | 2010-01-16 18:06:17 +0000 (Sat, 16 Jan 2010) | 1 line
Fix multiple uses of variable 'L' in _Py_dg_strtod, where one use requires an unsigned long and the other a signed long. See also r77421.
........
Antoine Pitrou [Sat, 16 Jan 2010 18:05:15 +0000 (18:05 +0000)]
Merged revisions 77466 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77466 | antoine.pitrou | 2010-01-13 12:47:49 +0100 (mer., 13 janv. 2010) | 5 lines
Issue #7661: Allow ctypes to be built from a non-ASCII directory path.
Patch by Florent Xicluna.
........
R. David Murray [Sat, 16 Jan 2010 16:34:46 +0000 (16:34 +0000)]
Add data file omitted by svnmerge.
R. David Murray [Sat, 16 Jan 2010 16:32:39 +0000 (16:32 +0000)]
Merged revisions 77517,77525 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77517 | r.david.murray | 2010-01-16 00:15:17 -0500 (Sat, 16 Jan 2010) | 6 lines
Issue #
1670765 : Prevent email.generator.Generator from re-wrapping
headers in multipart/signed MIME parts, which fixes one of the sources of
invalid modifications to such parts by Generator. Patch and tests by
Martin von Gagern.
........
r77525 | r.david.murray | 2010-01-16 11:08:32 -0500 (Sat, 16 Jan 2010) | 2 lines
Fix issue number in comment.
........
Matthias Klose [Sat, 16 Jan 2010 10:31:22 +0000 (10:31 +0000)]
- Move two NEWS entries to 2.6.5
Sean Reifscheider [Sat, 16 Jan 2010 04:25:53 +0000 (04:25 +0000)]
issue5063: Fixes for building RPM on CentOS plus misc .spec file enhancements.
Vinay Sajip [Fri, 15 Jan 2010 23:25:14 +0000 (23:25 +0000)]
Fixed issue-number mistake in NEWS update.
Antoine Pitrou [Fri, 15 Jan 2010 00:23:22 +0000 (00:23 +0000)]
Merged revisions 77506 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77506 | antoine.pitrou | 2010-01-15 01:18:00 +0100 (ven., 15 janv. 2010) | 4 lines
Issue #7701: Fix crash in binascii.b2a_uu() in debug mode when given a
1-byte argument. Patch by Victor Stinner.
........
Antoine Pitrou [Thu, 14 Jan 2010 17:34:09 +0000 (17:34 +0000)]
Merged revisions 77499 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77499 | antoine.pitrou | 2010-01-14 18:25:24 +0100 (jeu., 14 janv. 2010) | 4 lines
Issue #3299: Fix possible crash in the _sre module when given bad
argument values in debug mode. Patch by Victor Stinner.
........
Mark Dickinson [Thu, 14 Jan 2010 15:42:47 +0000 (15:42 +0000)]
Blocked revisions 77477-77478,77481-77483,77490-77493 via svnmerge
........
r77477 | mark.dickinson | 2010-01-13 18:21:53 +0000 (Wed, 13 Jan 2010) | 1 line
Add comments explaining the role of the bigcomp function in dtoa.c.
........
r77478 | mark.dickinson | 2010-01-13 19:02:37 +0000 (Wed, 13 Jan 2010) | 1 line
Clarify that sulp expects a nonnegative input, but that +0.0 is fine.
........
r77481 | mark.dickinson | 2010-01-13 20:55:03 +0000 (Wed, 13 Jan 2010) | 1 line
Simplify and annotate the bigcomp function, removing unused special cases.
........
r77482 | mark.dickinson | 2010-01-13 22:15:53 +0000 (Wed, 13 Jan 2010) | 1 line
Fix buggy comparison: LHS of comparison was being treated as unsigned.
........
r77483 | mark.dickinson | 2010-01-13 22:20:10 +0000 (Wed, 13 Jan 2010) | 1 line
More dtoa.c cleanup; remove the need for bc.dplen, bc.dp0 and bc.dp1.
........
r77490 | mark.dickinson | 2010-01-14 13:02:36 +0000 (Thu, 14 Jan 2010) | 1 line
Fix off-by-one error introduced in r77483. I have a test for this, but it currently fails due to a different dtoa.c bug; I'll add the test once that bug is fixed.
........
r77491 | mark.dickinson | 2010-01-14 13:14:49 +0000 (Thu, 14 Jan 2010) | 1 line
Issue 7632: fix a dtoa.c bug (bug 6) causing incorrect rounding. Tests to follow.
........
r77492 | mark.dickinson | 2010-01-14 14:40:20 +0000 (Thu, 14 Jan 2010) | 1 line
Issue 7632: fix incorrect rounding for long input strings with values very close to a power of 2. (See Bug 4 in the tracker discussion.)
........
r77493 | mark.dickinson | 2010-01-14 15:22:33 +0000 (Thu, 14 Jan 2010) | 1 line
Issue #7632: add tests for bugs fixed so far.
........
Ezio Melotti [Thu, 14 Jan 2010 11:39:50 +0000 (11:39 +0000)]
Merged revisions 77487 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77487 | ezio.melotti | 2010-01-14 13:34:10 +0200 (Thu, 14 Jan 2010) | 1 line
Fixed typo
........
Ezio Melotti [Wed, 13 Jan 2010 00:26:46 +0000 (00:26 +0000)]
Merged revisions 77455 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77455 | ezio.melotti | 2010-01-13 02:25:03 +0200 (Wed, 13 Jan 2010) | 1 line
#7685: typo
........
Mark Dickinson [Tue, 12 Jan 2010 23:10:40 +0000 (23:10 +0000)]
Blocked revisions 77410,77421,77450-77451 via svnmerge
........
r77410 | mark.dickinson | 2010-01-10 13:06:31 +0000 (Sun, 10 Jan 2010) | 1 line
Remove unused BCinfo fields and an unused macro.
........
r77421 | mark.dickinson | 2010-01-11 17:15:13 +0000 (Mon, 11 Jan 2010) | 1 line
Change a variable type to avoid signed overflow; replace repeated '19999' constant by a define.
........
r77450 | mark.dickinson | 2010-01-12 22:23:56 +0000 (Tue, 12 Jan 2010) | 4 lines
Issue #7632: Fix a problem with _Py_dg_strtod that could lead to
crashes in debug builds, for certain long numeric strings
corresponding to subnormal values.
........
r77451 | mark.dickinson | 2010-01-12 22:55:51 +0000 (Tue, 12 Jan 2010) | 2 lines
Issue #7632: Fix a bug in dtoa.c that could lead to incorrectly-rounded results.
........
Alexandre Vassalotti [Tue, 12 Jan 2010 18:31:42 +0000 (18:31 +0000)]
Blocked revisions 77445 via svnmerge
........
r77445 | alexandre.vassalotti | 2010-01-12 13:25:33 -0500 (Tue, 12 Jan 2010) | 2 lines
Added documentation for dictionary views fixer.
........
Ezio Melotti [Tue, 12 Jan 2010 03:38:53 +0000 (03:38 +0000)]
Merged revisions 77442 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77442 | ezio.melotti | 2010-01-12 05:32:05 +0200 (Tue, 12 Jan 2010) | 1 line
#5827: make sure that normpath preserves unicode
........
Alexandre Vassalotti [Tue, 12 Jan 2010 01:44:07 +0000 (01:44 +0000)]
Blocked revisions 77438 via svnmerge
........
r77438 | alexandre.vassalotti | 2010-01-11 20:34:43 -0500 (Mon, 11 Jan 2010) | 2 lines
Fixed repr of dictionary views.
........
R. David Murray [Tue, 12 Jan 2010 01:00:35 +0000 (01:00 +0000)]
Blocked revisions 77400,77422,77428 via svnmerge
........
r77400 | alexandre.vassalotti | 2010-01-09 18:35:54 -0500 (Sat, 09 Jan 2010) | 2 lines
Issue #2335: Backport set literals syntax from Python 3.x.
........
r77422 | alexandre.vassalotti | 2010-01-11 17:36:12 -0500 (Mon, 11 Jan 2010) | 2 lines
Issue #2333: Backport set and dict comprehensions syntax.
........
r77428 | alexandre.vassalotti | 2010-01-11 18:17:10 -0500 (Mon, 11 Jan 2010) | 2 lines
Issue #1967: Backport dictionary views.
........
Tarek Ziadé [Mon, 11 Jan 2010 23:43:17 +0000 (23:43 +0000)]
Blocked revisions 77431 via svnmerge
........
r77431 | tarek.ziade | 2010-01-12 00:41:32 +0100 (Tue, 12 Jan 2010) | 1 line
module cleanup
........
Tarek Ziadé [Mon, 11 Jan 2010 22:54:57 +0000 (22:54 +0000)]
Merged revisions 77424 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77424 | tarek.ziade | 2010-01-11 23:50:29 +0100 (Mon, 11 Jan 2010) | 1 line
Fixed #5372: .o files are now always rebuilt because file age test don't work in some case
........
R. David Murray [Sun, 10 Jan 2010 19:02:16 +0000 (19:02 +0000)]
Merged revisions 77412 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77412 | r.david.murray | 2010-01-10 12:41:28 -0500 (Sun, 10 Jan 2010) | 3 lines
Issue #7119: document that a program-generated Message object
tree may be mutated when serialized.
........
Senthil Kumaran [Sun, 10 Jan 2010 17:42:29 +0000 (17:42 +0000)]
Merged revisions 77411 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77411 | senthil.kumaran | 2010-01-10 23:05:05 +0530 (Sun, 10 Jan 2010) | 2 lines
Fixed issue7648 - test_urllib2 fails on Windows if not run from C:
........
Martin v. Löwis [Sun, 10 Jan 2010 10:31:37 +0000 (10:31 +0000)]
Merged revisions 77403 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77403 | martin.v.loewis | 2010-01-10 11:29:54 +0100 (So, 10 Jan 2010) | 2 lines
Update root certificate to CAcert.
........
Mark Dickinson [Sat, 9 Jan 2010 18:51:24 +0000 (18:51 +0000)]
Blocked revisions 77391 via svnmerge
........
r77391 | mark.dickinson | 2010-01-09 18:50:50 +0000 (Sat, 09 Jan 2010) | 3 lines
Issue #7532: Add additional slicing test cases for new- and old-style
classes. Patch by Florent Xicluna.
........
Tarek Ziadé [Fri, 8 Jan 2010 23:54:15 +0000 (23:54 +0000)]
added more test coverage from trunk for #7617
Tarek Ziadé [Fri, 8 Jan 2010 23:48:37 +0000 (23:48 +0000)]
Merged revisions 77377 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77377 | tarek.ziade | 2010-01-09 00:42:23 +0100 (Sat, 09 Jan 2010) | 1 line
Fixed #7617: all flavors of gcc should be recognized now
........
Tarek Ziadé [Fri, 8 Jan 2010 23:27:23 +0000 (23:27 +0000)]
Merged revisions 75669-75671 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75669 | tarek.ziade | 2009-10-24 17:10:37 +0200 (Sat, 24 Oct 2009) | 1 line
Issue #7071: byte-compilation in Distutils now looks at sys.dont_write_bytecode
........
r75670 | tarek.ziade | 2009-10-24 17:19:03 +0200 (Sat, 24 Oct 2009) | 1 line
fixed finally state in distutils.test_util
........
r75671 | tarek.ziade | 2009-10-24 17:51:30 +0200 (Sat, 24 Oct 2009) | 1 line
fixed warning and error message
........
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().
........