Ronald Oussoren [Sun, 7 Feb 2010 11:30:54 +0000 (11:30 +0000)]
Merged revisions 78056 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78056 | ronald.oussoren | 2010-02-07 12:29:31 +0100 (Sun, 07 Feb 2010) | 5 lines
Remove call to gestalt('sysu') from platform.py. This gestalt call is
not available on OSX an appearently causes problems for some users.
Fixes issue 7812
........
Mark Dickinson [Sat, 6 Feb 2010 23:14:49 +0000 (23:14 +0000)]
Merged revisions 78041 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78041 | mark.dickinson | 2010-02-06 23:11:25 +0000 (Sat, 06 Feb 2010) | 1 line
testCopysign was defined twice in test_math; combine the definitions
........
Benjamin Peterson [Sat, 6 Feb 2010 19:16:33 +0000 (19:16 +0000)]
Merged revisions 68805 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68805 | benjamin.peterson | 2009-01-20 08:21:16 -0600 (Tue, 20 Jan 2009) | 1 line
allow unicode keyword arguments for the ** syntax #4978
........
Benjamin Peterson [Sat, 6 Feb 2010 19:11:31 +0000 (19:11 +0000)]
Unblocked revisions 68805 via svnmerge
........
r68805 | benjamin.peterson | 2009-01-20 08:21:16 -0600 (Tue, 20 Jan 2009) | 1 line
allow unicode keyword arguments for the ** syntax #4978
........
R. David Murray [Sat, 6 Feb 2010 04:56:33 +0000 (04:56 +0000)]
Merged revisions 78014 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78014 | r.david.murray | 2010-02-05 23:27:21 -0500 (Fri, 05 Feb 2010) | 5 lines
issue #7728: test_timeout was using a hardcoded port, which was
causing buildbot failures. Changed to use test_support.bind_port.
Patch by Florent Xicluna.
........
Benjamin Peterson [Sat, 6 Feb 2010 02:40:03 +0000 (02:40 +0000)]
copy lib2to3 from the trunk
Benjamin Peterson [Sat, 6 Feb 2010 02:38:09 +0000 (02:38 +0000)]
remove lib2to3 to update
Barry Warsaw [Fri, 5 Feb 2010 18:52:05 +0000 (18:52 +0000)]
Merged revisions 77992 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77992 | barry.warsaw | 2010-02-05 13:45:25 -0500 (Fri, 05 Feb 2010) | 4 lines
Resolve bug 7847 by including documentation for -J, -U, and -X under "Options
you shouldn't use".
........
Antoine Pitrou [Fri, 5 Feb 2010 17:11:32 +0000 (17:11 +0000)]
Merged revisions 77989 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77989 | antoine.pitrou | 2010-02-05 18:05:54 +0100 (ven., 05 févr. 2010) | 6 lines
Issue #5677: Explicitly forbid write operations on read-only file objects,
and read operations on write-only file objects. On Windows, the system C
library would return a bogus result; on Solaris, it was possible to crash
the interpreter. Patch by Stefan Krah.
........
Antoine Pitrou [Thu, 4 Feb 2010 20:26:34 +0000 (20:26 +0000)]
Merged revisions 77970 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77970 | antoine.pitrou | 2010-02-04 21:20:18 +0100 (jeu., 04 févr. 2010) | 6 lines
Issue #4772: Raise a ValueError when an unknown Bluetooth protocol is
specified, rather than fall through to AF_PACKET (in the `socket` module).
Also, raise ValueError rather than TypeError when an unknown TIPC address
type is specified. Patch by Brian Curtin.
........
Ezio Melotti [Thu, 4 Feb 2010 20:22:44 +0000 (20:22 +0000)]
Merged revisions 77968 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77968 | ezio.melotti | 2010-02-04 22:06:38 +0200 (Thu, 04 Feb 2010) | 1 line
Use correct assert* methods in the examples.
........
R. David Murray [Thu, 4 Feb 2010 16:35:33 +0000 (16:35 +0000)]
Merged revisions 77943,77959-77960 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77943 | r.david.murray | 2010-02-03 08:36:23 -0500 (Wed, 03 Feb 2010) | 2 lines
Explicitly mention the default value for formatdate's usegmt parameter.
........
r77959 | nick.coghlan | 2010-02-04 07:43:58 -0500 (Thu, 04 Feb 2010) | 1 line
Issue 6760: Clarify args handling for subprocess.Popen. Patch by Chris Rebert
........
r77960 | r.david.murray | 2010-02-04 11:33:31 -0500 (Thu, 04 Feb 2010) | 2 lines
Add Chris Rebert to ACKS for issue 6760 Popen doc improvements.
........
Collin Winter [Wed, 3 Feb 2010 22:06:03 +0000 (22:06 +0000)]
Merged revisions 69304 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r69304 | neil.schemenauer | 2009-02-05 08:25:16 -0800 (Thu, 05 Feb 2009) | 4 lines
Fix test_build_ext.py to work when building in a separate directory.
Since "srcdir" should now be defined on all platforms, use it to
find the module source.
........
Collin Winter [Wed, 3 Feb 2010 20:29:10 +0000 (20:29 +0000)]
Merged revisions 72357,72367 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r72357 | benjamin.peterson | 2009-05-05 14:09:21 -0700 (Tue, 05 May 2009) | 4 lines
fix running test_capi with -R ::
Also, fix a refleak in the test that was preventing running. :)
........
r72367 | benjamin.peterson | 2009-05-05 16:00:48 -0700 (Tue, 05 May 2009) | 1 line
tabify :(
........
Eric Smith [Wed, 3 Feb 2010 14:18:16 +0000 (14:18 +0000)]
Blocked revisions 77944 via svnmerge
........
r77944 | eric.smith | 2010-02-03 09:17:50 -0500 (Wed, 03 Feb 2010) | 1 line
Corrected list of attributes exposed by sys.getwindowsversion.
........
Tarek Ziadé [Tue, 2 Feb 2010 23:40:54 +0000 (23:40 +0000)]
Blocked revisions 77930 via svnmerge
........
r77930 | tarek.ziade | 2010-02-03 00:39:40 +0100 (Wed, 03 Feb 2010) | 1 line
added a note in the whatsnew file for sysconfig
........
Antoine Pitrou [Tue, 2 Feb 2010 22:41:41 +0000 (22:41 +0000)]
Blocked revisions 77916 via svnmerge
........
r77916 | antoine.pitrou | 2010-02-02 23:36:17 +0100 (mar., 02 févr. 2010) | 4 lines
Issue #7385: Fix a crash in `MemoryView_FromObject` when
`PyObject_GetBuffer` fails. Patch by Florent Xicluna.
........
Tarek Ziadé [Tue, 2 Feb 2010 22:29:36 +0000 (22:29 +0000)]
Blocked revisions 77914 via svnmerge
........
r77914 | tarek.ziade | 2010-02-02 23:27:58 +0100 (Tue, 02 Feb 2010) | 1 line
first version of the sysconfig module documentation
........
Martin v. Löwis [Mon, 1 Feb 2010 01:17:43 +0000 (01:17 +0000)]
Merged revisions 77898 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
................
r77898 | martin.v.loewis | 2010-02-01 02:15:39 +0100 (Mo, 01 Feb 2010) | 17 lines
Merged revisions 77855-77856,77870 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r77855 | benjamin.peterson | 2010-01-30 17:32:05 +0100 (Sa, 30 Jan 2010) | 1 line
don't return node if it is not changed
........
r77856 | benjamin.peterson | 2010-01-30 17:35:29 +0100 (Sa, 30 Jan 2010) | 1 line
return None to indicate no change
........
r77870 | benjamin.peterson | 2010-01-31 02:21:26 +0100 (So, 31 Jan 2010) | 1 line
never return the original node given to transform()
........
................
Victor Stinner [Sun, 31 Jan 2010 22:33:22 +0000 (22:33 +0000)]
Merged revisions 77892 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77892 | victor.stinner | 2010-01-31 23:32:15 +0100 (dim., 31 janv. 2010) | 4 lines
Issue #7819: Check sys.call_tracing() arguments types.
py3k was already patched by issue #3661.
........
Antoine Pitrou [Sun, 31 Jan 2010 22:26:41 +0000 (22:26 +0000)]
Note: the issue was fixed in an earlier commit.
Blocked revisions 77890 via svnmerge
........
r77890 | antoine.pitrou | 2010-01-31 23:26:04 +0100 (dim., 31 janv. 2010) | 7 lines
- Issue #6939: Fix file I/O objects in the `io` module to keep the original
file position when calling `truncate()`. It would previously change the
file position to the given argument, which goes against the tradition of
ftruncate() and other truncation APIs. Patch by Pascal Chambon.
........
Matthias Klose [Sun, 31 Jan 2010 16:47:55 +0000 (16:47 +0000)]
Merged revisions 77879 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77879 | matthias.klose | 2010-01-31 17:46:26 +0100 (So, 31 Jan 2010) | 2 lines
- Fix typo in os.execvp docstring.
........
Matthias Klose [Sun, 31 Jan 2010 16:09:16 +0000 (16:09 +0000)]
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 20:00:35 +0000 (20:00 +0000)]
Merged revisions 68874 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r68874 | jesse.noller | 2009-01-23 08:04:41 -0600 (Fri, 23 Jan 2009) | 1 line
Issue 3807: multiprocessing fails to compile under --without-threads
........
Benjamin Peterson [Sat, 30 Jan 2010 19:51:50 +0000 (19:51 +0000)]
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
........
Ezio Melotti [Sat, 30 Jan 2010 13:33:39 +0000 (13:33 +0000)]
Blocked revisions 77850-77851 via svnmerge
........
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:02:34 +0000 (11:02 +0000)]
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:31:45 +0000 (10:31 +0000)]
Blocked revisions 77842 via svnmerge
........
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:04:58 +0000 (02:04 +0000)]
Merged revisions 77836 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77836 | victor.stinner | 2010-01-30 03:00:26 +0100 (sam., 30 janv. 2010) | 2 lines
#7801: fix xmlrpclib binary example, open the picture in binary mode
........
R. David Murray [Fri, 29 Jan 2010 22:12:01 +0000 (22:12 +0000)]
Blocked revisions 77828 via svnmerge
........
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 17:58:58 +0000 (17:58 +0000)]
Blocked revisions 77815 via svnmerge
........
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:16:18 +0000 (17:16 +0000)]
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.
........
Ezio Melotti [Thu, 28 Jan 2010 04:27:56 +0000 (04:27 +0000)]
#7791: remove reference to ipaddr
Benjamin Peterson [Thu, 28 Jan 2010 01:31:13 +0000 (01:31 +0000)]
revert r77790. it requires a new-style class change
Antoine Pitrou [Wed, 27 Jan 2010 21:48:46 +0000 (21:48 +0000)]
Issue #6939: Fix file I/O objects in the `io` module to keep the original
file position when calling `truncate()`. It would previously change the
file position to the given argument, which goes against the tradition of
`ftruncate()` and other truncation APIs. Patch by Pascal Chambon.
Antoine Pitrou [Wed, 27 Jan 2010 21:01:25 +0000 (21:01 +0000)]
Blocked revisions 77798 via svnmerge
........
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:24:25 +0000 (02:24 +0000)]
Merged revisions 77788-77789 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77788 | benjamin.peterson | 2010-01-26 20:15:28 -0600 (Tue, 26 Jan 2010) | 1 line
for UserDict to be compatible with abcs, it must subclass object
........
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:10:18 +0000 (02:10 +0000)]
Blocked revisions 77784 via svnmerge
........
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.
........
Eric Smith [Wed, 27 Jan 2010 01:24:06 +0000 (01:24 +0000)]
Blocked revisions 77775 via svnmerge
........
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 00:59:22 +0000 (00:59 +0000)]
Blocked revisions 77771 via svnmerge
........
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:55:44 +0000 (00:55 +0000)]
Blocked revisions 77767 via svnmerge
........
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:29:32 +0000 (00:29 +0000)]
Blocked revisions 77763 via svnmerge
........
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.
........
Tarek Ziadé [Tue, 26 Jan 2010 23:09:02 +0000 (23:09 +0000)]
Blocked revisions 77761 via svnmerge
........
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
........
Tarek Ziadé [Tue, 26 Jan 2010 21:30:01 +0000 (21:30 +0000)]
Blocked revisions 77759 via svnmerge
........
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
........
Tarek Ziadé [Tue, 26 Jan 2010 17:21:48 +0000 (17:21 +0000)]
Blocked revisions 77756 via svnmerge
........
r77756 | tarek.ziade | 2010-01-26 18:20:37 +0100 (Tue, 26 Jan 2010) | 1 line
fixed bdist_msi imports and added a test module for distutils.command.bdist_msi
........
Tarek Ziadé [Mon, 25 Jan 2010 23:21:06 +0000 (23:21 +0000)]
Blocked revisions 77752 via svnmerge
........
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
........
Raymond Hettinger [Mon, 25 Jan 2010 19:20:30 +0000 (19:20 +0000)]
Fix markup.
Ezio Melotti [Mon, 25 Jan 2010 12:13:02 +0000 (12:13 +0000)]
Revert r77730 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 11:46:11 +0000 (11:46 +0000)]
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:35:04 +0000 (03:35 +0000)]
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:50:01 +0000 (21:50 +0000)]
Merged revisions 77733 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77733 | ezio.melotti | 2010-01-24 23:47:59 +0200 (Sun, 24 Jan 2010) | 1 line
#7269: fix failures in test_bsddb3. Patch by Florent Xicluna.
........
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.