]>
granicus.if.org Git - python/log
Ezio Melotti [Sun, 24 Jan 2010 20:55:31 +0000 (20:55 +0000)]
Merged revisions 77729 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77729 | ezio.melotti | 2010-01-24 22:48:35 +0200 (Sun, 24 Jan 2010) | 1 line
remove archaic functions from test_support
........
Mark Dickinson [Sun, 24 Jan 2010 10:17:52 +0000 (10:17 +0000)]
Blocked revisions 77691,77698,77713-77714 via svnmerge
........
r77691 | mark.dickinson | 2010-01-22 16:18:09 +0000 (Fri, 22 Jan 2010) | 1 line
Correct typo in comment.
........
r77698 | mark.dickinson | 2010-01-22 17:04:07 +0000 (Fri, 22 Jan 2010) | 3 lines
Issue #7743: Fix a potential incorrect rounding bug in dtoa.c (2nd bug
in issue 7743).
........
r77713 | mark.dickinson | 2010-01-23 20:48:56 +0000 (Sat, 23 Jan 2010) | 3 lines
Issue #7743: Add checks for zero inputs to the lshift and mult functions;
this fixes the first bug described in issue #7743.
........
r77714 | mark.dickinson | 2010-01-23 21:25:53 +0000 (Sat, 23 Jan 2010) | 1 line
dtoa.c fix from upstream that fixes incorrectly rounded results for certain subnormals that are also halfway cases.
........
Raymond Hettinger [Sun, 24 Jan 2010 03:34:56 +0000 (03:34 +0000)]
Issue 7764: Improve recipe for itertools.consume().
Tarek Ziadé [Sun, 24 Jan 2010 00:57:20 +0000 (00:57 +0000)]
Merged revisions 77717 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77717 | tarek.ziade | 2010-01-24 01:33:32 +0100 (Sun, 24 Jan 2010) | 1 line
Fixed #7748: now upload and register commands don't need to force the encoding anymore : DistributionMetada returns utf8 strings
........
Tarek Ziadé [Sun, 24 Jan 2010 00:36:14 +0000 (00:36 +0000)]
Blocked revisions 77712 via svnmerge
........
r77712 | tarek.ziade | 2010-01-23 18:52:57 +0100 (Sat, 23 Jan 2010) | 1 line
fixed the 64bits tests for get_platform() - mac osx
........
Ezio Melotti [Sat, 23 Jan 2010 10:44:47 +0000 (10:44 +0000)]
Merged revisions 77706 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77706 | ezio.melotti | 2010-01-23 12:43:05 +0200 (Sat, 23 Jan 2010) | 1 line
Increased the overflow value on test_dealloc to make sure that it is big enough even for wide builds.
........
Tarek Ziadé [Sat, 23 Jan 2010 09:24:37 +0000 (09:24 +0000)]
Blocked revisions 77704 via svnmerge
........
r77704 | tarek.ziade | 2010-01-23 10:23:15 +0100 (Sat, 23 Jan 2010) | 1 line
taking sysconfig out of distutils
........
Ezio Melotti [Fri, 22 Jan 2010 17:17:40 +0000 (17:17 +0000)]
Merged revisions 77697 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77697 | ezio.melotti | 2010-01-22 18:58:28 +0200 (Fri, 22 Jan 2010) | 1 line
This should fix the failure introduced in r77680. The error message is now different and it caused the test to fail. The failing test is not present in 2.5 so it is failing only on 2.6 and newer versions.
........
Georg Brandl [Fri, 22 Jan 2010 11:20:00 +0000 (11:20 +0000)]
Remove line left over from merging.
Matthias Klose [Fri, 22 Jan 2010 01:05:13 +0000 (01:05 +0000)]
Merged revisions 77680 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77680 | matthias.klose | 2010-01-22 01:39:04 +0100 (Fr, 22 Jan 2010) | 3 lines
- Expat: Fix DoS via XML document with malformed UTF-8 sequences
(CVE_2009_3560).
........
Ezio Melotti [Thu, 21 Jan 2010 20:52:23 +0000 (20:52 +0000)]
Merged revisions 77675 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77675 | ezio.melotti | 2010-01-21 22:50:57 +0200 (Thu, 21 Jan 2010) | 1 line
#7746: rephrase a sentence
........
Mark Dickinson [Thu, 21 Jan 2010 19:59:19 +0000 (19:59 +0000)]
Blocked revisions 77672 via svnmerge
........
r77672 | mark.dickinson | 2010-01-21 19:58:41 +0000 (Thu, 21 Jan 2010) | 1 line
Use // for floor division.
........
Mark Dickinson [Thu, 21 Jan 2010 19:41:36 +0000 (19:41 +0000)]
Blocked revisions 77614-77616,77663 via svnmerge
........
r77614 | mark.dickinson | 2010-01-20 17:36:31 +0000 (Wed, 20 Jan 2010) | 5 lines
Various dtoa.c cleanups. 1. Despagghetify _Py_dg_strtod parsing code
and exit points. 2. Simplify bigcomp comparison loop. 3. Don't set
ERANGE on _Py_dg_strtod underflow (it was set inconsistently anyway).
4. Remove unused dsign field from BCinfo struct.
........
r77615 | mark.dickinson | 2010-01-20 18:02:41 +0000 (Wed, 20 Jan 2010) | 1 line
Don't try to put a value into a NULL pointer.
........
r77616 | mark.dickinson | 2010-01-20 21:23:25 +0000 (Wed, 20 Jan 2010) | 1 line
Additional explanatory comments for _Py_dg_strtod.
........
r77663 | mark.dickinson | 2010-01-21 17:02:53 +0000 (Thu, 21 Jan 2010) | 1 line
Additional testcases for strtod.
........
Ezio Melotti [Mon, 18 Jan 2010 09:12:06 +0000 (09:12 +0000)]
Merged revisions 77595 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77595 | ezio.melotti | 2010-01-18 11:10:26 +0200 (Mon, 18 Jan 2010) | 1 line
#7730: remove spaces after functions names
........
Mark Dickinson [Sun, 17 Jan 2010 21:11:54 +0000 (21:11 +0000)]
Blocked revisions 77578,77589 via svnmerge
........
r77578 | mark.dickinson | 2010-01-17 13:37:57 +0000 (Sun, 17 Jan 2010) | 2 lines
Issue #7632: Fix a memory leak in _Py_dg_strtod.
........
r77589 | mark.dickinson | 2010-01-17 20:57:56 +0000 (Sun, 17 Jan 2010) | 7 lines
Issue #7632: When Py_USING_MEMORY_DEBUGGER is defined, disable the
private memory allocation scheme in dtoa.c, along with a piece of code
that caches powers of 5 for future use. This makes it easier to
detect dtoa.c memory leaks with Valgrind or similar tools.
Patch by Stefan Krah.
........
Antoine Pitrou [Sun, 17 Jan 2010 16:06:27 +0000 (16:06 +0000)]
Merged revisions 77581 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77581 | antoine.pitrou | 2010-01-17 16:55:45 +0100 (dim., 17 janv. 2010) | 3 lines
Use PyAPI_DATA.
........
Antoine Pitrou [Sun, 17 Jan 2010 12:31:10 +0000 (12:31 +0000)]
Merged revisions 77573 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77573 | antoine.pitrou | 2010-01-17 13:26:20 +0100 (dim., 17 janv. 2010) | 6 lines
Issue #7561: Operations on empty bytearrays (such as `int(bytearray())`)
could crash in many places because of the PyByteArray_AS_STRING() macro
returning NULL. The macro now returns a statically allocated empty
string instead.
........
Mark Dickinson [Sun, 17 Jan 2010 11:12:21 +0000 (11:12 +0000)]
Blocked revisions 77566 via svnmerge
........
r77566 | mark.dickinson | 2010-01-17 11:10:03 +0000 (Sun, 17 Jan 2010) | 1 line
Increase number of strtod tests slightly, to make it more likely that a memory leak is detected.
........
Georg Brandl [Sun, 17 Jan 2010 08:33:18 +0000 (08:33 +0000)]
Merged revisions 76471 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76471 | georg.brandl | 2009-11-23 20:53:19 +0100 (Mo, 23 Nov 2009) | 1 line
#7345: fix arguments of formatyear().
........
Mark Dickinson [Sat, 16 Jan 2010 21:23:02 +0000 (21:23 +0000)]
Blocked revisions 77550 via svnmerge
........
r77550 | mark.dickinson | 2010-01-16 20:33:02 +0000 (Sat, 16 Jan 2010) | 1 line
Add better error reporting for MemoryErrors caused by str->float conversions.
........
Ezio Melotti [Sat, 16 Jan 2010 18:43:14 +0000 (18:43 +0000)]
Merged revisions 77544 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77544 | ezio.melotti | 2010-01-16 20:38:01 +0200 (Sat, 16 Jan 2010) | 1 line
typo: use one instead instead of two
........
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
........