]>
granicus.if.org Git - python/log
Matthias Klose [Sun, 31 Jan 2010 16:17:23 +0000 (16:17 +0000)]
Merged revisions 77877 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77877 | matthias.klose | 2010-01-31 17:14:37 +0100 (So, 31 Jan 2010) | 10 lines
Merged revisions 77875 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77875 | matthias.klose | 2010-01-31 17:05:13 +0100 (So, 31 Jan 2010) | 3 lines
- Update python manual page (options -B, -O0, -s, environment variables
PYTHONDONTWRITEBYTECODE, PYTHONNOUSERSITE).
........
................
Benjamin Peterson [Sat, 30 Jan 2010 19:51:43 +0000 (19:51 +0000)]
Merged revisions 77862 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77862 | benjamin.peterson | 2010-01-30 13:36:43 -0600 (Sat, 30 Jan 2010) | 12 lines
Merged revisions 76050 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76050 | gregory.p.smith | 2009-11-01 19:37:37 -0600 (Sun, 01 Nov 2009) | 5 lines
see http://bugs.python.org/issue1006238 this merges in the following
patch to make cross compilation of the chflags check easier:
http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/python/files/python-2.6-chflags-cross.patch?rev=1.1
........
................
Mark Dickinson [Sat, 30 Jan 2010 18:06:52 +0000 (18:06 +0000)]
Blocked revisions 77859 via svnmerge
........
r77859 | mark.dickinson | 2010-01-30 18:06:17 +0000 (Sat, 30 Jan 2010) | 1 line
Move docstrings for long.to_bytes and long.from_bytes after the corresponding functions.
........
Ezio Melotti [Sat, 30 Jan 2010 13:35:06 +0000 (13:35 +0000)]
Blocked revisions 77852 via svnmerge
................
r77852 | ezio.melotti | 2010-01-30 15:32:14 +0200 (Sat, 30 Jan 2010) | 13 lines
Merged revisions 77850-77851 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77850 | ezio.melotti | 2010-01-30 15:08:54 +0200 (Sat, 30 Jan 2010) | 1 line
Relocate a couple of stars and remove redundant backticks
........
r77851 | ezio.melotti | 2010-01-30 15:27:05 +0200 (Sat, 30 Jan 2010) | 1 line
Use the correct markup for args
........
................
Martin v. Löwis [Sat, 30 Jan 2010 11:22:26 +0000 (11:22 +0000)]
Merged revisions 77848 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77848 | martin.v.loewis | 2010-01-30 12:05:48 +0100 (Sa, 30 Jan 2010) | 20 lines
Merged revisions 77846 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
................
r77846 | martin.v.loewis | 2010-01-30 11:56:23 +0100 (Sa, 30 Jan 2010) | 13 lines
Merged revisions 77419,77435 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r77419 | benjamin.peterson | 2010-01-10 21:39:48 +0100 (So, 10 Jan 2010) | 1 line
enclose path in quotes to handle paths with spaces correctly #7666
........
r77435 | alexandre.vassalotti | 2010-01-12 01:36:54 +0100 (Di, 12 Jan 2010) | 2 lines
Issue #1967: Add fixer for dictionary views.
........
................
................
Mark Dickinson [Sat, 30 Jan 2010 10:32:16 +0000 (10:32 +0000)]
Blocked revisions 77843 via svnmerge
................
r77843 | mark.dickinson | 2010-01-30 10:30:15 +0000 (Sat, 30 Jan 2010) | 11 lines
Merged revisions 77842 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77842 | mark.dickinson | 2010-01-30 10:08:33 +0000 (Sat, 30 Jan 2010) | 4 lines
Issue #7767: Add new C-API function PyLong_AsLongLongAndOverflow, a
long long variant of PyLong_AsLongAndOverflow. Patch by Case Van
Horsen.
........
................
Victor Stinner [Sat, 30 Jan 2010 02:19:14 +0000 (02:19 +0000)]
Merged revisions 77838 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r77838 | victor.stinner | 2010-01-30 03:16:55 +0100 (sam., 30 janv. 2010) | 4 lines
#7801: fix xmlrpclib binary example, open the picture in binary mode
Use also the with syntax (consistent with python trunk example).
........
R. David Murray [Fri, 29 Jan 2010 22:29:35 +0000 (22:29 +0000)]
Recorded merge of revisions 77831 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77831 | r.david.murray | 2010-01-29 17:17:58 -0500 (Fri, 29 Jan 2010) | 9 lines
Merged revisions 77828 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77828 | r.david.murray | 2010-01-29 14:35:39 -0500 (Fri, 29 Jan 2010) | 2 lines
Fix typo in assertSequenceEqual docstring.
........
................
R. David Murray [Fri, 29 Jan 2010 22:26:45 +0000 (22:26 +0000)]
Fix typo in assertSequenceEqual docstring.
R. David Murray [Fri, 29 Jan 2010 18:01:56 +0000 (18:01 +0000)]
Blocked revisions 77825 via svnmerge
................
r77825 | r.david.murray | 2010-01-29 12:55:47 -0500 (Fri, 29 Jan 2010) | 10 lines
Merged revisions 77815 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77815 | r.david.murray | 2010-01-28 16:16:33 -0500 (Thu, 28 Jan 2010) | 3 lines
Change error report when the object passed to suite.addTest is not
callable to include the repr of the invalid object.
........
................
Mark Dickinson [Fri, 29 Jan 2010 17:29:21 +0000 (17:29 +0000)]
Merged revisions 77823 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77823 | mark.dickinson | 2010-01-29 17:27:24 +0000 (Fri, 29 Jan 2010) | 10 lines
Merged revisions 77821 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77821 | mark.dickinson | 2010-01-29 17:11:39 +0000 (Fri, 29 Jan 2010) | 3 lines
Issue #7788: Fix a crash produced by deleting a list slice with huge
step value. Patch by Marcin Bachry.
........
................
Tarek Ziadé [Fri, 29 Jan 2010 11:51:11 +0000 (11:51 +0000)]
Blocked revisions 77818-77819 via svnmerge
................
r77818 | tarek.ziade | 2010-01-29 12:41:03 +0100 (Fri, 29 Jan 2010) | 13 lines
Merged revisions 77704,77752 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77704 | tarek.ziade | 2010-01-23 10:23:15 +0100 (Sat, 23 Jan 2010) | 1 line
taking sysconfig out of distutils
........
r77752 | tarek.ziade | 2010-01-26 00:19:56 +0100 (Tue, 26 Jan 2010) | 1 line
switched the call order so this call works without suffering from issue #7774
........
................
r77819 | tarek.ziade | 2010-01-29 12:46:31 +0100 (Fri, 29 Jan 2010) | 13 lines
Merged revisions 77759,77761 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77759 | tarek.ziade | 2010-01-26 22:21:54 +0100 (Tue, 26 Jan 2010) | 1 line
reintroduced the names in Distutils for APIs that were relocated
........
r77761 | tarek.ziade | 2010-01-26 23:46:15 +0100 (Tue, 26 Jan 2010) | 1 line
added local get_platform/set_platform APIs in distutils.sysconfig
........
................
Ezio Melotti [Wed, 27 Jan 2010 22:53:48 +0000 (22:53 +0000)]
Merged revisions 77803 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r77803 | ezio.melotti | 2010-01-28 00:44:03 +0200 (Thu, 28 Jan 2010) | 1 line
updated/removed a few versionadded/versionchanged
........
Antoine Pitrou [Wed, 27 Jan 2010 21:30:04 +0000 (21:30 +0000)]
Blocked revisions 77800 via svnmerge
................
r77800 | antoine.pitrou | 2010-01-27 22:18:57 +0100 (mer., 27 janv. 2010) | 14 lines
Merged revisions 77798 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77798 | antoine.pitrou | 2010-01-27 21:59:50 +0100 (mer., 27 janv. 2010) | 8 lines
Issue #7610: Reworked implementation of the internal
:class:`zipfile.ZipExtFile` class used to represent files stored inside
an archive. The new implementation is significantly faster and can
be wrapped in a :class:`io.BufferedReader` object for more speedups.
It also solves an issue where interleaved calls to `read()` and
`readline()` give wrong results. Patch by Nir Aides.
........
................
Benjamin Peterson [Wed, 27 Jan 2010 02:28:22 +0000 (02:28 +0000)]
Merged revisions 77791 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77791 | benjamin.peterson | 2010-01-26 20:25:58 -0600 (Tue, 26 Jan 2010) | 9 lines
Merged revisions 77789 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77789 | benjamin.peterson | 2010-01-26 20:16:42 -0600 (Tue, 26 Jan 2010) | 1 line
raise a clear TypeError when trying to register a non-class
........
................
Eric Smith [Wed, 27 Jan 2010 02:14:55 +0000 (02:14 +0000)]
Blocked revisions 77786 via svnmerge
................
r77786 | eric.smith | 2010-01-26 21:14:26 -0500 (Tue, 26 Jan 2010) | 9 lines
Merged revisions 77784 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77784 | eric.smith | 2010-01-26 21:06:25 -0500 (Tue, 26 Jan 2010) | 1 line
Added named (but not numbered) attributes to sys.getwindowsversion() test.
........
................
Benjamin Peterson [Wed, 27 Jan 2010 01:56:08 +0000 (01:56 +0000)]
Merged revisions 77781-77782 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r77781 | benjamin.peterson | 2010-01-26 19:47:14 -0600 (Tue, 26 Jan 2010) | 1 line
don't accept bytes in FileIO.write #7785
........
r77782 | benjamin.peterson | 2010-01-26 19:51:29 -0600 (Tue, 26 Jan 2010) | 1 line
add issue number
........
Eric Smith [Wed, 27 Jan 2010 01:39:10 +0000 (01:39 +0000)]
Blocked revisions 77779 via svnmerge
........
r77779 | eric.smith | 2010-01-26 20:38:34 -0500 (Tue, 26 Jan 2010) | 1 line
Fixed test_support -> support.
........
Eric Smith [Wed, 27 Jan 2010 01:26:37 +0000 (01:26 +0000)]
Blocked revisions 77777 via svnmerge
................
r77777 | eric.smith | 2010-01-26 20:25:02 -0500 (Tue, 26 Jan 2010) | 9 lines
Merged revisions 77775 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77775 | eric.smith | 2010-01-26 20:21:15 -0500 (Tue, 26 Jan 2010) | 1 line
Switch to test_support.get_attribute.
........
................
Eric Smith [Wed, 27 Jan 2010 01:00:29 +0000 (01:00 +0000)]
Blocked revisions 77773 via svnmerge
................
r77773 | eric.smith | 2010-01-26 19:59:59 -0500 (Tue, 26 Jan 2010) | 9 lines
Merged revisions 77771 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77771 | eric.smith | 2010-01-26 19:58:43 -0500 (Tue, 26 Jan 2010) | 1 line
Removed unneeded test.
........
................
Eric Smith [Wed, 27 Jan 2010 00:56:56 +0000 (00:56 +0000)]
Blocked revisions 77769 via svnmerge
................
r77769 | eric.smith | 2010-01-26 19:56:30 -0500 (Tue, 26 Jan 2010) | 9 lines
Merged revisions 77767 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77767 | eric.smith | 2010-01-26 19:55:16 -0500 (Tue, 26 Jan 2010) | 1 line
Fix type on getwindowsversion documentation. Thanks Taggnostr.
........
................
Eric Smith [Wed, 27 Jan 2010 00:45:36 +0000 (00:45 +0000)]
Blocked revisions 77765 via svnmerge
................
r77765 | eric.smith | 2010-01-26 19:44:57 -0500 (Tue, 26 Jan 2010) | 9 lines
Merged revisions 77763 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77763 | eric.smith | 2010-01-26 19:28:29 -0500 (Tue, 26 Jan 2010) | 1 line
Issue #7766: Change sys.getwindowsversion() return value to a named tuple and add the additional members returned in an OSVERSIONINFOEX structure. The new members are service_pack_major, service_pack_minor, suite_mask, and product_type.
........
................
Ezio Melotti [Mon, 25 Jan 2010 12:20:04 +0000 (12:20 +0000)]
Revert r77732 and add back verify and vereq in case other projects use them, but leave the changes in test_pprint and string_tests.
Ezio Melotti [Mon, 25 Jan 2010 12:02:24 +0000 (12:02 +0000)]
Merged revisions 77745 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77745 | ezio.melotti | 2010-01-25 13:58:28 +0200 (Mon, 25 Jan 2010) | 9 lines
Merged revisions 77743 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77743 | ezio.melotti | 2010-01-25 13:24:37 +0200 (Mon, 25 Jan 2010) | 1 line
#7775: fixed docstring for rpartition
........
................
Benjamin Peterson [Mon, 25 Jan 2010 03:40:53 +0000 (03:40 +0000)]
Merged revisions 77737 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77737 | benjamin.peterson | 2010-01-24 21:37:42 -0600 (Sun, 24 Jan 2010) | 9 lines
Merged revisions 77735 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77735 | benjamin.peterson | 2010-01-24 21:31:13 -0600 (Sun, 24 Jan 2010) | 1 line
fix an UnboundLocalError when the release file is empty #7773
........
................
Ezio Melotti [Sun, 24 Jan 2010 21:02:05 +0000 (21:02 +0000)]
Merged revisions 77731 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77731 | ezio.melotti | 2010-01-24 22:59:24 +0200 (Sun, 24 Jan 2010) | 9 lines
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:16:59 +0000 (10:16 +0000)]
Merged revisions 77722 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77722 | mark.dickinson | 2010-01-24 10:16:29 +0000 (Sun, 24 Jan 2010) | 23 lines
Merged revisions 77691,77698,77713-77714 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
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.
........
................
Ezio Melotti [Sat, 23 Jan 2010 10:54:37 +0000 (10:54 +0000)]
Merged revisions 77708 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77708 | ezio.melotti | 2010-01-23 12:49:39 +0200 (Sat, 23 Jan 2010) | 9 lines
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.
........
................
Ezio Melotti [Fri, 22 Jan 2010 17:52:26 +0000 (17:52 +0000)]
Merged revisions 77700 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77700 | ezio.melotti | 2010-01-22 19:36:17 +0200 (Fri, 22 Jan 2010) | 9 lines
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.
........
................
Matthias Klose [Fri, 22 Jan 2010 01:13:15 +0000 (01:13 +0000)]
Merged revisions 77682 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77682 | matthias.klose | 2010-01-22 02:10:19 +0100 (Fr, 22 Jan 2010) | 10 lines
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:59:06 +0000 (20:59 +0000)]
Merged revisions 77677 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77677 | ezio.melotti | 2010-01-21 22:57:24 +0200 (Thu, 21 Jan 2010) | 9 lines
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:57:43 +0000 (19:57 +0000)]
Merged revisions 77670 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77670 | mark.dickinson | 2010-01-21 19:51:08 +0000 (Thu, 21 Jan 2010) | 24 lines
Merged revisions 77614-77616,77663 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
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:16:17 +0000 (09:16 +0000)]
Merged revisions 77597 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77597 | ezio.melotti | 2010-01-18 11:15:14 +0200 (Mon, 18 Jan 2010) | 9 lines
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:06:28 +0000 (21:06 +0000)]
Merged revisions 77590 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77590 | mark.dickinson | 2010-01-17 21:02:55 +0000 (Sun, 17 Jan 2010) | 14 lines
Merged revisions 77589 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
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.
........
................
Ronald Oussoren [Sun, 17 Jan 2010 18:52:29 +0000 (18:52 +0000)]
Ensure that distutils.tests.test_util will pass in 64-bit builds.
Fixes #7591
Antoine Pitrou [Sun, 17 Jan 2010 16:20:28 +0000 (16:20 +0000)]
Merged revisions 77583 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77583 | antoine.pitrou | 2010-01-17 17:15:29 +0100 (dim., 17 janv. 2010) | 9 lines
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.
........
................
Mark Dickinson [Sun, 17 Jan 2010 14:41:03 +0000 (14:41 +0000)]
Merged revisions 77579 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77579 | mark.dickinson | 2010-01-17 14:39:12 +0000 (Sun, 17 Jan 2010) | 9 lines
Merged revisions 77578 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
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.
........
................
Antoine Pitrou [Sun, 17 Jan 2010 12:43:00 +0000 (12:43 +0000)]
Merged revisions 77576 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77576 | antoine.pitrou | 2010-01-17 13:38:54 +0100 (dim., 17 janv. 2010) | 12 lines
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.
........
................
Antoine Pitrou [Sun, 17 Jan 2010 12:19:45 +0000 (12:19 +0000)]
Merged revisions 77571 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r77571 | antoine.pitrou | 2010-01-17 13:16:23 +0100 (dim., 17 janv. 2010) | 4 lines
Issue #7561: Fix crashes when using bytearray objects with the posix
module.
........
Mark Dickinson [Sun, 17 Jan 2010 11:14:48 +0000 (11:14 +0000)]
Merged revisions 77568 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77568 | mark.dickinson | 2010-01-17 11:13:30 +0000 (Sun, 17 Jan 2010) | 9 lines
Merged revisions 77566 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
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.
........
................
Matthias Klose [Sat, 16 Jan 2010 22:02:32 +0000 (22:02 +0000)]
- Move new NEWS entries from 3.1.1 to 3.1.2
Mark Dickinson [Sat, 16 Jan 2010 20:35:50 +0000 (20:35 +0000)]
Merged revisions 77551 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77551 | mark.dickinson | 2010-01-16 20:34:30 +0000 (Sat, 16 Jan 2010) | 9 lines
Merged revisions 77550 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
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.
........
................
R. David Murray [Sat, 16 Jan 2010 18:41:00 +0000 (18:41 +0000)]
Merged revisions 77542 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77542 | r.david.murray | 2010-01-16 13:30:03 -0500 (Sat, 16 Jan 2010) | 18 lines
Merged revisions 77517,77525 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
Merge adds an additional test for as_string with a maxheaderlen specified.
........
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.
........
................
Mark Dickinson [Sat, 16 Jan 2010 18:12:46 +0000 (18:12 +0000)]
Merged revisions 77535 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77535 | mark.dickinson | 2010-01-16 18:10:25 +0000 (Sat, 16 Jan 2010) | 21 lines
Merged revisions 77519,77530,77533 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
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:08:04 +0000 (18:08 +0000)]
Blocked revisions 77468 via svnmerge
................
r77468 | antoine.pitrou | 2010-01-13 13:04:20 +0100 (mer., 13 janv. 2010) | 18 lines
Note: I'm merging these changes out of consistency, but they don't seem
to be needed in py3k (except perhaps for non-utf8 paths).
Merged revisions 77466-77467 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.
........
r77467 | antoine.pitrou | 2010-01-13 12:57:42 +0100 (mer., 13 janv. 2010) | 3 lines
Use `with`
........
................
Ezio Melotti [Sat, 16 Jan 2010 15:11:38 +0000 (15:11 +0000)]
Merged revisions 77523 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r77523 | ezio.melotti | 2010-01-16 17:09:48 +0200 (Sat, 16 Jan 2010) | 1 line
Fixed crasher. Patch by Florent Xicluna.
........
Ezio Melotti [Sat, 16 Jan 2010 14:52:34 +0000 (14:52 +0000)]
Merged revisions 77520-77521 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r77520 | georg.brandl | 2010-01-16 16:41:21 +0200 (Sat, 16 Jan 2010) | 1 line
Remove L suffix for integers.
........
r77521 | ezio.melotti | 2010-01-16 16:46:27 +0200 (Sat, 16 Jan 2010) | 1 line
remove obsolete sentence
........
Antoine Pitrou [Fri, 15 Jan 2010 00:31:01 +0000 (00:31 +0000)]
Merged revisions 77508 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77508 | antoine.pitrou | 2010-01-15 01:27:43 +0100 (ven., 15 janv. 2010) | 10 lines
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:37:24 +0000 (17:37 +0000)]
Merged revisions 77501 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77501 | antoine.pitrou | 2010-01-14 18:34:48 +0100 (jeu., 14 janv. 2010) | 10 lines
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:43:57 +0000 (15:43 +0000)]
Merged revisions 77494 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77494 | mark.dickinson | 2010-01-14 15:37:49 +0000 (Thu, 14 Jan 2010) | 41 lines
Merged revisions 77477-77478,77481-77483,77490-77493 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
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.
........
................
Brett Cannon [Wed, 13 Jan 2010 19:25:46 +0000 (19:25 +0000)]
Merged revisions 77479 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r77479 | brett.cannon | 2010-01-13 11:21:00 -0800 (Wed, 13 Jan 2010) | 1 line
Fix the wrong numbering of a PEP.
........
Benjamin Peterson [Wed, 13 Jan 2010 03:53:14 +0000 (03:53 +0000)]
Merged revisions 77459 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r77459 | benjamin.peterson | 2010-01-12 21:49:50 -0600 (Tue, 12 Jan 2010) | 1 line
use floor division where needed #7681
........
Ezio Melotti [Wed, 13 Jan 2010 00:30:00 +0000 (00:30 +0000)]
Merged revisions 77457 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77457 | ezio.melotti | 2010-01-13 02:28:37 +0200 (Wed, 13 Jan 2010) | 9 lines
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:09:26 +0000 (23:09 +0000)]
Merged revisions 77452 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77452 | mark.dickinson | 2010-01-12 23:04:19 +0000 (Tue, 12 Jan 2010) | 23 lines
Merged revisions 77410,77421,77450-77451 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
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.
........
................
Tarek Ziadé [Mon, 11 Jan 2010 23:48:38 +0000 (23:48 +0000)]
Blocked revisions 77433 via svnmerge
................
r77433 | tarek.ziade | 2010-01-12 00:47:51 +0100 (Tue, 12 Jan 2010) | 9 lines
Merged revisions 77431 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77431 | tarek.ziade | 2010-01-12 00:41:32 +0100 (Tue, 12 Jan 2010) | 1 line
module cleanup
........
................
Tarek Ziadé [Mon, 11 Jan 2010 23:23:44 +0000 (23:23 +0000)]
Merged revisions 77427 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77427 | tarek.ziade | 2010-01-12 00:15:52 +0100 (Tue, 12 Jan 2010) | 9 lines
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:21:20 +0000 (19:21 +0000)]
Merged revisions 77417 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77417 | r.david.murray | 2010-01-10 14:18:27 -0500 (Sun, 10 Jan 2010) | 10 lines
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:48:37 +0000 (17:48 +0000)]
Merged revisions 77414 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77414 | senthil.kumaran | 2010-01-10 23:15:52 +0530 (Sun, 10 Jan 2010) | 9 lines
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:
........
................
Mark Dickinson [Sun, 10 Jan 2010 12:00:57 +0000 (12:00 +0000)]
Blocked revisions 77408 via svnmerge
........
r77408 | mark.dickinson | 2010-01-10 11:59:43 +0000 (Sun, 10 Jan 2010) | 4 lines
Issue #7532: Expanded tests for extended slicing. This is a forward
port of r77391 to py3k, along with some additional tests and cleanup.
Patch by Florent Xicluna.
........
Martin v. Löwis [Sun, 10 Jan 2010 10:33:12 +0000 (10:33 +0000)]
Merged revisions 77405 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77405 | martin.v.loewis | 2010-01-10 11:31:46 +0100 (So, 10 Jan 2010) | 9 lines
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.
........
................
Benjamin Peterson [Sat, 9 Jan 2010 21:54:39 +0000 (21:54 +0000)]
Merged revisions 77395 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r77395 | benjamin.peterson | 2010-01-09 15:45:28 -0600 (Sat, 09 Jan 2010) | 2 lines
Python strings ending with '\0' should not be equivalent to their C counterparts in PyUnicode_CompareWithASCIIString
........
Benjamin Peterson [Sat, 9 Jan 2010 18:48:46 +0000 (18:48 +0000)]
Merged revisions 77389 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77389 | benjamin.peterson | 2010-01-09 12:45:30 -0600 (Sat, 09 Jan 2010) | 25 lines
Merged revisions 77209,77229,77359-77360,77371 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77209 | georg.brandl | 2010-01-01 07:07:05 -0600 (Fri, 01 Jan 2010) | 1 line
More yearly updates.
........
r77229 | georg.brandl | 2010-01-02 06:35:01 -0600 (Sat, 02 Jan 2010) | 1 line
Fix casing.
........
r77359 | georg.brandl | 2010-01-07 14:54:45 -0600 (Thu, 07 Jan 2010) | 1 line
Fix description for Py_GetPath(); it sounded like it always returned sys.path.
........
r77360 | georg.brandl | 2010-01-07 15:48:47 -0600 (Thu, 07 Jan 2010) | 1 line
#7653: clarify how the PythonPath registry key should look like.
........
r77371 | senthil.kumaran | 2010-01-08 13:20:25 -0600 (Fri, 08 Jan 2010) | 3 lines
Fix for Issue7026. For the Error - RuntimeError: dictionary changed size during iteration
........
................
Tarek Ziadé [Sat, 9 Jan 2010 00:03:39 +0000 (00:03 +0000)]
Merged revisions 77380 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77380 | tarek.ziade | 2010-01-09 00:57:53 +0100 (Sat, 09 Jan 2010) | 9 lines
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
........
................
Antoine Pitrou [Fri, 8 Jan 2010 17:56:16 +0000 (17:56 +0000)]
(note: svnmerged from py3k, but the original message was wrong)
Issue #7105: Make WeakKeyDictionary and WeakValueDictionary robust against
the destruction of weakref'ed objects while iterating.
Antoine Pitrou [Thu, 7 Jan 2010 18:02:53 +0000 (18:02 +0000)]
Merged revisions 77355 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77355 | antoine.pitrou | 2010-01-07 18:57:31 +0100 (jeu., 07 janv. 2010) | 18 lines
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!
........
................
R. David Murray [Wed, 6 Jan 2010 20:12:07 +0000 (20:12 +0000)]
Merged revisions 74246 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r74246 | amaury.forgeotdarc | 2009-07-28 18:18:57 -0400 (Tue, 28 Jul 2009) | 10 lines
Merged revisions 74245 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74245 | amaury.forgeotdarc | 2009-07-29 00:15:30 +0200 (mer., 29 juil. 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:23:13 +0000 (16:23 +0000)]
Merged revisions 77326 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77326 | mark.dickinson | 2010-01-06 16:22:15 +0000 (Wed, 06 Jan 2010) | 9 lines
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.
........
................
Ezio Melotti [Tue, 5 Jan 2010 08:38:30 +0000 (08:38 +0000)]
Merged revisions 77314 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r77314 | ezio.melotti | 2010-01-05 10:37:27 +0200 (Tue, 05 Jan 2010) | 1 line
#7432: remove unnecessary from __future__ import division
........
Ezio Melotti [Mon, 4 Jan 2010 21:54:31 +0000 (21:54 +0000)]
Merged revisions 77308 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77308 | ezio.melotti | 2010-01-04 23:53:17 +0200 (Mon, 04 Jan 2010) | 9 lines
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:34:08 +0000 (21:34 +0000)]
Merged revisions 77304 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77304 | mark.dickinson | 2010-01-04 21:33:31 +0000 (Mon, 04 Jan 2010) | 9 lines
Merged revisions 77302 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77302 | mark.dickinson | 2010-01-04 21:32:02 +0000 (Mon, 04 Jan 2010) | 1 line
Fix typo in comment.
........
................
Antoine Pitrou [Mon, 4 Jan 2010 19:55:11 +0000 (19:55 +0000)]
Merged revisions 77300 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r77300 | antoine.pitrou | 2010-01-04 19:50:53 +0100 (lun., 04 janv. 2010) | 4 lines
Issue #7631: Fix undefined references to the "built-in file object", which
has ceased to be.
........
Georg Brandl [Sun, 3 Jan 2010 14:33:39 +0000 (14:33 +0000)]
Merged revisions 77281 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
................
r77281 | georg.brandl | 2010-01-03 15:30:52 +0100 (So, 03 Jan 2010) | 17 lines
Merged revisions 77266,77279 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
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:18:26 +0000 (12:18 +0000)]
Blocked revisions 77276 via svnmerge
................
r77276 | mark.dickinson | 2010-01-03 12:16:06 +0000 (Sun, 03 Jan 2010) | 9 lines
Merged revisions 77275 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
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:12:58 +0000 (09:12 +0000)]
Merged revisions 77273 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77273 | ezio.melotti | 2010-01-03 11:11:59 +0200 (Sun, 03 Jan 2010) | 9 lines
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:08:34 +0000 (09:08 +0000)]
Merged revisions 77269 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77269 | ezio.melotti | 2010-01-03 11:06:02 +0200 (Sun, 03 Jan 2010) | 9 lines
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:38:48 +0000 (21:38 +0000)]
Merged revisions 77243 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77243 | gregory.p.smith | 2010-01-02 13:32:29 -0800 (Sat, 02 Jan 2010) | 10 lines
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 15:34:19 +0000 (15:34 +0000)]
Blocked revisions 77237 via svnmerge
................
r77237 | mark.dickinson | 2010-01-02 15:33:56 +0000 (Sat, 02 Jan 2010) | 14 lines
Merged revisions 77234 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
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. This closes issue #5576.
........
................
Mark Dickinson [Sat, 2 Jan 2010 14:33:47 +0000 (14:33 +0000)]
Merged revisions 77232 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77232 | mark.dickinson | 2010-01-02 14:33:10 +0000 (Sat, 02 Jan 2010) | 9 lines
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.
........
................
Mark Dickinson [Fri, 1 Jan 2010 19:28:08 +0000 (19:28 +0000)]
Blocked revisions 77220 via svnmerge
................
r77220 | mark.dickinson | 2010-01-01 19:27:32 +0000 (Fri, 01 Jan 2010) | 12 lines
Merged revisions 77218 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
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.
........
................
Benjamin Peterson [Fri, 1 Jan 2010 16:29:51 +0000 (16:29 +0000)]
Merged revisions 77216 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77216 | benjamin.peterson | 2010-01-01 10:04:23 -0600 (Fri, 01 Jan 2010) | 21 lines
Merged revisions 77212-77215 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
r77215 | benjamin.peterson | 2010-01-01 09:21:13 -0600 (Fri, 01 Jan 2010) | 1 line
allow --with-dbmliborder to specify that no dbm modules will be built #6491
........
................
Ezio Melotti [Fri, 1 Jan 2010 04:55:33 +0000 (04:55 +0000)]
Merged revisions 77206-77207 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77206 | benjamin.peterson | 2010-01-01 06:47:54 +0200 (Fri, 01 Jan 2010) | 9 lines
Merged revisions 77203 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77203 | benjamin.peterson | 2009-12-31 22:00:55 -0600 (Thu, 31 Dec 2009) | 1 line
update copyright year
........
................
r77207 | benjamin.peterson | 2010-01-01 06:49:25 +0200 (Fri, 01 Jan 2010) | 9 lines
Merged revisions 77204 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77204 | ezio.melotti | 2009-12-31 22:16:42 -0600 (Thu, 31 Dec 2009) | 1 line
more copyright year updates
........
................
Brett Cannon [Fri, 1 Jan 2010 02:03:50 +0000 (02:03 +0000)]
Merged revisions 77200 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r77200 | brett.cannon | 2009-12-31 17:58:39 -0800 (Thu, 31 Dec 2009) | 2 lines
Clean up the list of allowed command-line flags.
........
Mark Dickinson [Thu, 31 Dec 2009 21:25:02 +0000 (21:25 +0000)]
Merged revisions 77196 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77196 | mark.dickinson | 2009-12-31 21:22:50 +0000 (Thu, 31 Dec 2009) | 9 lines
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 20:52:48 +0000 (20:52 +0000)]
Blocked revisions 77190 via svnmerge
................
r77190 | mark.dickinson | 2009-12-31 20:50:59 +0000 (Thu, 31 Dec 2009) | 9 lines
Merged revisions 77189 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
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 12:26:02 +0000 (12:26 +0000)]
Merged revisions 77176 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r77176 | ezio.melotti | 2009-12-31 14:24:38 +0200 (Thu, 31 Dec 2009) | 1 line
#7612: typo in stdtypes.rst
........
Benjamin Peterson [Thu, 31 Dec 2009 03:30:26 +0000 (03:30 +0000)]
Merged revisions 77167 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77167 | benjamin.peterson | 2009-12-30 21:11:23 -0600 (Wed, 30 Dec 2009) | 61 lines
Merged revisions 76847,76851,76869,76882,76891-76892,76924,77007,77070,77092,77096,77120,77126,77155 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
........
r76851 | benjamin.peterson | 2009-12-15 21:28:52 -0600 (Tue, 15 Dec 2009) | 1 line
remove lib2to3 resource
........
r76869 | vinay.sajip | 2009-12-17 08:52:00 -0600 (Thu, 17 Dec 2009) | 1 line
Issue #7529: logging: Minor correction to documentation.
........
r76882 | georg.brandl | 2009-12-19 11:30:28 -0600 (Sat, 19 Dec 2009) | 1 line
#7527: use standard versionadded tags.
........
r76891 | georg.brandl | 2009-12-19 12:16:31 -0600 (Sat, 19 Dec 2009) | 1 line
#7479: add note about function availability on Unices.
........
r76892 | georg.brandl | 2009-12-19 12:20:18 -0600 (Sat, 19 Dec 2009) | 1 line
#7480: remove tautology.
........
r76924 | georg.brandl | 2009-12-20 08:28:05 -0600 (Sun, 20 Dec 2009) | 1 line
Small indentation fix.
........
r77007 | gregory.p.smith | 2009-12-23 03:31:11 -0600 (Wed, 23 Dec 2009) | 3 lines
Fix possible integer overflow in lchown and fchown functions. For issue1747858.
........
r77070 | amaury.forgeotdarc | 2009-12-27 14:06:44 -0600 (Sun, 27 Dec 2009) | 2 lines
Fix a typo in comment
........
r77092 | georg.brandl | 2009-12-28 02:48:24 -0600 (Mon, 28 Dec 2009) | 1 line
#7404: remove reference to non-existing example files.
........
r77096 | benjamin.peterson | 2009-12-28 14:51:17 -0600 (Mon, 28 Dec 2009) | 1 line
document new fix_callable behavior
........
r77120 | georg.brandl | 2009-12-29 15:09:17 -0600 (Tue, 29 Dec 2009) | 1 line
#7595: fix typo in argument default constant.
........
r77126 | amaury.forgeotdarc | 2009-12-29 17:06:17 -0600 (Tue, 29 Dec 2009) | 2 lines
#7579: Add docstrings to the msvcrt module
........
r77155 | georg.brandl | 2009-12-30 13:03:00 -0600 (Wed, 30 Dec 2009) | 1 line
We only support Windows NT derivatives now.
........
................
Benjamin Peterson [Wed, 30 Dec 2009 19:54:39 +0000 (19:54 +0000)]
Merged revisions 77163 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77163 | benjamin.peterson | 2009-12-30 13:52:54 -0600 (Wed, 30 Dec 2009) | 16 lines
Merged revisions 77160 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
................
r77160 | benjamin.peterson | 2009-12-30 13:44:23 -0600 (Wed, 30 Dec 2009) | 9 lines
Merged revisions 77158 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r77158 | benjamin.peterson | 2009-12-30 13:41:03 -0600 (Wed, 30 Dec 2009) | 1 line
clean up logging's global state after the test finishes
........
................
................
Benjamin Peterson [Wed, 30 Dec 2009 19:47:05 +0000 (19:47 +0000)]
Merged revisions 77161 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77161 | benjamin.peterson | 2009-12-30 13:44:54 -0600 (Wed, 30 Dec 2009) | 12 lines
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:25:13 +0000 (16:25 +0000)]
Merged revisions 77149 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
................
r77149 | georg.brandl | 2009-12-30 17:24:25 +0100 (Mi, 30 Dez 2009) | 9 lines
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 16:23:22 +0000 (16:23 +0000)]
Blocked revisions 77146 via svnmerge
................
r77146 | mark.dickinson | 2009-12-30 16:22:49 +0000 (Wed, 30 Dec 2009) | 14 lines
Merged revisions 77139-77140 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
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:40:09 +0000 (03:40 +0000)]
compiler_obj -> compiler
Benjamin Peterson [Wed, 30 Dec 2009 03:06:54 +0000 (03:06 +0000)]
Merged revisions 77129,77132 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77129 | benjamin.peterson | 2009-12-29 21:02:03 -0600 (Tue, 29 Dec 2009) | 9 lines
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
........
................
r77132 | benjamin.peterson | 2009-12-29 21:03:54 -0600 (Tue, 29 Dec 2009) | 9 lines
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
........
................
Mark Dickinson [Tue, 29 Dec 2009 20:53:23 +0000 (20:53 +0000)]
Blocked revisions 77117 via svnmerge
................
r77117 | mark.dickinson | 2009-12-29 20:52:27 +0000 (Tue, 29 Dec 2009) | 13 lines
Merged revisions 77116 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
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:06 +0000 (11:26 +0000)]
Merged revisions 77110 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k
................
r77110 | georg.brandl | 2009-12-29 12:24:00 +0100 (Di, 29 Dez 2009) | 13 lines
Merged revisions 77108-77109 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77108 | georg.brandl | 2009-12-29 11:34:34 +0100 (Di, 29 Dez 2009) | 1 line
#7569: clarification about c_char_p.
........
r77109 | georg.brandl | 2009-12-29 12:06:31 +0100 (Di, 29 Dez 2009) | 1 line
Improve markup of ctypes docs.
........
................
Benjamin Peterson [Tue, 29 Dec 2009 00:44:14 +0000 (00:44 +0000)]
Merged revisions 77103,77105-77106 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77103 | benjamin.peterson | 2009-12-28 18:06:20 -0600 (Mon, 28 Dec 2009) | 57 lines
Merged revisions 77102 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
................
r77102 | benjamin.peterson | 2009-12-28 17:50:41 -0600 (Mon, 28 Dec 2009) | 50 lines
Merged revisions 76871-76872,77093-77095,77097-77101 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r76871 | benjamin.peterson | 2009-12-17 20:49:21 -0600 (Thu, 17 Dec 2009) | 1 line
handle unencodable diffs gracefully #5093
........
r76872 | benjamin.peterson | 2009-12-17 20:51:37 -0600 (Thu, 17 Dec 2009) | 1 line
fix emacs header
........
r77093 | benjamin.peterson | 2009-12-28 14:43:32 -0600 (Mon, 28 Dec 2009) | 7 lines
replace callable(x) with isinstance(x, collections.Callable) #7006
This is a more accurate translation than hasattr(x, '__call__') which failed in
the case that somebody had put __call__ in the instance dictionary.
Patch mostly by Joe Amenta.
........
r77094 | benjamin.peterson | 2009-12-28 14:45:13 -0600 (Mon, 28 Dec 2009) | 2 lines
deuglify imports
........
r77095 | benjamin.peterson | 2009-12-28 14:49:23 -0600 (Mon, 28 Dec 2009) | 1 line
remove unused flag
........
r77097 | benjamin.peterson | 2009-12-28 16:12:13 -0600 (Mon, 28 Dec 2009) | 2 lines
clean up imports and whitespace
........
r77098 | benjamin.peterson | 2009-12-28 16:43:35 -0600 (Mon, 28 Dec 2009) | 1 line
*** empty log message ***
........
r77099 | benjamin.peterson | 2009-12-28 16:45:10 -0600 (Mon, 28 Dec 2009) | 1 line
revert unintended change
........
r77100 | benjamin.peterson | 2009-12-28 16:53:21 -0600 (Mon, 28 Dec 2009) | 1 line
revert unintended changes
........
r77101 | benjamin.peterson | 2009-12-28 17:46:02 -0600 (Mon, 28 Dec 2009) | 1 line
normalize whitespace
........
................
................
r77105 | benjamin.peterson | 2009-12-28 18:37:04 -0600 (Mon, 28 Dec 2009) | 1 line
fix test on py3
................
r77106 | benjamin.peterson | 2009-12-28 18:38:47 -0600 (Mon, 28 Dec 2009) | 9 lines
Merged revisions 77104 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77104 | benjamin.peterson | 2009-12-28 18:09:33 -0600 (Mon, 28 Dec 2009) | 1 line
enable test_main.py
........
................
Georg Brandl [Mon, 28 Dec 2009 08:42:45 +0000 (08:42 +0000)]
Blocked revisions 77089 via svnmerge
................
r77089 | georg.brandl | 2009-12-28 09:41:01 +0100 (Mo, 28 Dez 2009) | 9 lines
Merged revisions 77088 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77088 | georg.brandl | 2009-12-28 09:34:58 +0100 (Mo, 28 Dez 2009) | 1 line
#7033: add new API function PyErr_NewExceptionWithDoc, for easily giving new exceptions a docstring.
........
................
Mark Dickinson [Sun, 27 Dec 2009 21:35:56 +0000 (21:35 +0000)]
Blocked revisions 77072 via svnmerge
................
r77072 | mark.dickinson | 2009-12-27 21:34:05 +0000 (Sun, 27 Dec 2009) | 9 lines
Merged revisions 77071 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77071 | mark.dickinson | 2009-12-27 21:31:50 +0000 (Sun, 27 Dec 2009) | 1 line
Use a more idiomatic check in check_truediv.
........
................
Mark Dickinson [Sun, 27 Dec 2009 19:04:44 +0000 (19:04 +0000)]
Blocked revisions 77067 via svnmerge
................
r77067 | mark.dickinson | 2009-12-27 19:03:31 +0000 (Sun, 27 Dec 2009) | 9 lines
Merged revisions 77066 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77066 | mark.dickinson | 2009-12-27 16:16:02 +0000 (Sun, 27 Dec 2009) | 1 line
Use ldexp(q, exp) instead of q*2.**exp in true division test, to avoid bogus failures on platforms with broken pow (e.g., Ubuntu/ia64).
........
................
Mark Dickinson [Sun, 27 Dec 2009 15:12:14 +0000 (15:12 +0000)]
Blocked revisions 77063 via svnmerge
................
r77063 | mark.dickinson | 2009-12-27 15:09:50 +0000 (Sun, 27 Dec 2009) | 9 lines
Merged revisions 77062 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77062 | mark.dickinson | 2009-12-27 14:55:57 +0000 (Sun, 27 Dec 2009) | 2 lines
Issue #1811: Improve accuracy and consistency of true division for integers.
........
................
Senthil Kumaran [Sun, 27 Dec 2009 10:15:45 +0000 (10:15 +0000)]
Merged revisions 77060 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77060 | senthil.kumaran | 2009-12-27 15:43:39 +0530 (Sun, 27 Dec 2009) | 10 lines
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.
........
................