Brett Cannon [Mon, 4 Aug 2008 00:28:42 +0000 (00:28 +0000)]
Blocked revisions 65464 via svnmerge
........
r65464 | brett.cannon | 2008-08-03 17:27:29 -0700 (Sun, 03 Aug 2008) | 2 lines
Silence warnings under -3 about using dict.has_key() for modulefinder.
........
Brett Cannon [Mon, 4 Aug 2008 00:24:38 +0000 (00:24 +0000)]
Blocked revisions 65462 via svnmerge
........
r65462 | brett.cannon | 2008-08-03 17:23:58 -0700 (Sun, 03 Aug 2008) | 3 lines
Remove dict.has_key() usage in xml.dom.minidom to silence warnings while
running under -3.
........
Brett Cannon [Mon, 4 Aug 2008 00:10:29 +0000 (00:10 +0000)]
Blocked revisions 65457 via svnmerge
........
r65457 | brett.cannon | 2008-08-03 17:09:43 -0700 (Sun, 03 Aug 2008) | 3 lines
Remove dict.has_key() and apply() usage from the logging package to silence
warnings when run under -3.
........
Brett Cannon [Sun, 3 Aug 2008 23:53:13 +0000 (23:53 +0000)]
Blocked revisions 65455 via svnmerge
........
r65455 | brett.cannon | 2008-08-03 16:52:32 -0700 (Sun, 03 Aug 2008) | 2 lines
Remove a use of callable() in fileinput to silence a -3 warning.
........
Brett Cannon [Sun, 3 Aug 2008 23:47:26 +0000 (23:47 +0000)]
Blocked revisions 65453 via svnmerge
........
r65453 | brett.cannon | 2008-08-03 16:46:46 -0700 (Sun, 03 Aug 2008) | 3 lines
Move filecmp from using dict.has_key() to dict.__contains__() to silence
warnings triggered under -3.
........
Brett Cannon [Sun, 3 Aug 2008 23:40:51 +0000 (23:40 +0000)]
Blocked revisions 65451 via svnmerge
........
r65451 | brett.cannon | 2008-08-03 16:40:13 -0700 (Sun, 03 Aug 2008) | 2 lines
Remove a dict.has_key() usage in email._parseaddr found while running -3.
........
Brett Cannon [Sun, 3 Aug 2008 23:28:13 +0000 (23:28 +0000)]
Blocked revisions 65449 via svnmerge
........
r65449 | brett.cannon | 2008-08-03 16:27:32 -0700 (Sun, 03 Aug 2008) | 3 lines
Remove Barry's love of deprecated syntax to silence warnings in the email
package, when run under -3, about using <>.
........
Brett Cannon [Sun, 3 Aug 2008 23:00:33 +0000 (23:00 +0000)]
Blocked revisions 65446 via svnmerge
........
r65446 | brett.cannon | 2008-08-03 15:59:46 -0700 (Sun, 03 Aug 2008) | 2 lines
Remove a dict.has_key() use in DocXMLRPCServer that comes up under -3.
........
Brett Cannon [Sun, 3 Aug 2008 22:58:03 +0000 (22:58 +0000)]
Blocked revisions 65444 via svnmerge
........
r65444 | brett.cannon | 2008-08-03 15:57:23 -0700 (Sun, 03 Aug 2008) | 3 lines
Remove a dict.has_key() and callable() usage in SimpleXMLRPCServer as triggered
under -3 through test_xmlrpc.
........
Brett Cannon [Sun, 3 Aug 2008 22:53:31 +0000 (22:53 +0000)]
Blocked revisions 65442 via svnmerge
........
r65442 | brett.cannon | 2008-08-03 15:52:42 -0700 (Sun, 03 Aug 2008) | 3 lines
Silence -3 warnings in pstats: a dict.has_key() usage and backport solution to
move from list.sort(cmp=) to key=.
........
Brett Cannon [Sun, 3 Aug 2008 22:38:58 +0000 (22:38 +0000)]
Blocked revisions 65440 via svnmerge
........
r65440 | brett.cannon | 2008-08-03 15:38:19 -0700 (Sun, 03 Aug 2008) | 2 lines
Remove a dict.has_key() usage in profile to silence a -3 DeprecationWarning.
........
Brett Cannon [Sun, 3 Aug 2008 22:35:21 +0000 (22:35 +0000)]
Blocked revisions 65438 via svnmerge
........
r65438 | brett.cannon | 2008-08-03 15:34:25 -0700 (Sun, 03 Aug 2008) | 3 lines
Remove a use of list.sort(cmp=) to silence a -3 DeprecationWarning in
cookielib.
........
Georg Brandl [Sun, 3 Aug 2008 10:04:14 +0000 (10:04 +0000)]
Use version 3.0.
Georg Brandl [Sun, 3 Aug 2008 09:47:27 +0000 (09:47 +0000)]
Merged revisions 65378-65379,65430 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65378 | georg.brandl | 2008-08-01 22:04:43 +0200 (Fri, 01 Aug 2008) | 4 lines
Add the grammar to the reference manual, since the new docs don't
have the feature of putting all the small EBNF snippets together
into one big file.
........
r65379 | georg.brandl | 2008-08-01 22:13:29 +0200 (Fri, 01 Aug 2008) | 2 lines
This should really be a comment.
........
r65430 | georg.brandl | 2008-08-03 11:21:18 +0200 (Sun, 03 Aug 2008) | 2 lines
#3495: use current version.
........
Georg Brandl [Sun, 3 Aug 2008 09:45:51 +0000 (09:45 +0000)]
Blocked revisions 65422 via svnmerge
........
r65422 | antoine.pitrou | 2008-08-02 23:58:05 +0200 (Sat, 02 Aug 2008) | 1 line
Preemptively backport the relevant parts of r65420
........
Brett Cannon [Sun, 3 Aug 2008 00:59:47 +0000 (00:59 +0000)]
Blocked revisions 65425 via svnmerge
........
r65425 | brett.cannon | 2008-08-02 17:58:51 -0700 (Sat, 02 Aug 2008) | 3 lines
Silence SyntaxWarning and DeprecationWarning in pydoc triggered by tuple
unpacking in parameter lists and using callable(). Found through -3.
........
Brett Cannon [Sun, 3 Aug 2008 00:51:38 +0000 (00:51 +0000)]
Blocked revisions 65423 via svnmerge
........
r65423 | brett.cannon | 2008-08-02 17:51:02 -0700 (Sat, 02 Aug 2008) | 3 lines
Silence some SyntaxWarnings for tuple unpacking in a parameter list for
urlparse when run under -3.
........
Antoine Pitrou [Sat, 2 Aug 2008 21:02:48 +0000 (21:02 +0000)]
#2538: bytes objects can only provide read-only buffers
Georg Brandl [Sat, 2 Aug 2008 16:34:27 +0000 (16:34 +0000)]
str.join() doesn't convert arguments anymore.
Lars Gustäbel [Sat, 2 Aug 2008 11:43:24 +0000 (11:43 +0000)]
Remove the TarFileCompat class from tarfile.py.
Lars Gustäbel [Sat, 2 Aug 2008 11:36:08 +0000 (11:36 +0000)]
Blocked revisions 65402 via svnmerge
........
r65402 | lars.gustaebel | 2008-08-02 13:26:39 +0200 (Sat, 02 Aug 2008) | 5 lines
Issue #3039: Fix TarFileCompat.writestr() which always raised an
AttributeError since __slots__ were added to zipfile.ZipInfo in
r46967 two years ago.
Add a warning about the removal of TarFileCompat in Python 3.0.
........
Martin v. Löwis [Sat, 2 Aug 2008 07:23:15 +0000 (07:23 +0000)]
Merged revisions 65399 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65399 | martin.v.loewis | 2008-08-02 09:20:25 +0200 (Sa, 02 Aug 2008) | 3 lines
Issue #799428: Fix Tkinter.Misc._nametowidget to unwrap
Tcl command objects.
........
Brett Cannon [Sat, 2 Aug 2008 03:38:29 +0000 (03:38 +0000)]
Blocked revisions 65395 via svnmerge
........
r65395 | brett.cannon | 2008-08-01 20:37:50 -0700 (Fri, 01 Aug 2008) | 3 lines
Remove a __getitem__() removal on an exception to silence a warning triggered
under -3.
........
Brett Cannon [Sat, 2 Aug 2008 03:32:49 +0000 (03:32 +0000)]
Blocked revisions 65393 via svnmerge
........
r65393 | brett.cannon | 2008-08-01 20:32:13 -0700 (Fri, 01 Aug 2008) | 2 lines
Remove a dict.has_key() use to silence a warning when running under -3.
........
Brett Cannon [Sat, 2 Aug 2008 03:29:56 +0000 (03:29 +0000)]
Blocked revisions 65391 via svnmerge
........
r65391 | brett.cannon | 2008-08-01 20:28:42 -0700 (Fri, 01 Aug 2008) | 2 lines
Remove a dict.has_key() use to silence a warning raised under -3.
........
Benjamin Peterson [Sat, 2 Aug 2008 03:17:02 +0000 (03:17 +0000)]
Merged revisions 65385 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65385 | benjamin.peterson | 2008-08-01 22:11:16 -0500 (Fri, 01 Aug 2008) | 1 line
fix compile error on Windows
........
Brett Cannon [Sat, 2 Aug 2008 03:16:31 +0000 (03:16 +0000)]
Blocked revisions 65387 via svnmerge
........
r65387 | brett.cannon | 2008-08-01 20:15:20 -0700 (Fri, 01 Aug 2008) | 3 lines
Remove a tuple unpacking in a parameter list to remove a SyntaxWarning raised
while running under -3.
........
Brett Cannon [Sat, 2 Aug 2008 03:15:58 +0000 (03:15 +0000)]
Blocked revisions 65386 via svnmerge
........
r65386 | brett.cannon | 2008-08-01 20:13:46 -0700 (Fri, 01 Aug 2008) | 3 lines
Remove a tuple unpacking in a parameter list to suppress the SyntaxWarning with
-3.
........
Benjamin Peterson [Sat, 2 Aug 2008 03:08:49 +0000 (03:08 +0000)]
Blocked revisions 65382-65383 via svnmerge
........
r65382 | benjamin.peterson | 2008-08-01 21:57:17 -0500 (Fri, 01 Aug 2008) | 1 line
fix indentation that caused logic bug
........
r65383 | benjamin.peterson | 2008-08-01 22:05:11 -0500 (Fri, 01 Aug 2008) | 1 line
revert last revision; code was right
........
Jesse Noller [Sat, 2 Aug 2008 02:03:58 +0000 (02:03 +0000)]
Merge 65376 into 3k, fix for issue 3399
Georg Brandl [Fri, 1 Aug 2008 16:25:12 +0000 (16:25 +0000)]
Fix merge conflict.
Benjamin Peterson [Fri, 1 Aug 2008 16:19:40 +0000 (16:19 +0000)]
Blocked revisions 65355 via svnmerge
........
r65355 | brett.cannon | 2008-07-31 20:45:49 -0500 (Thu, 31 Jul 2008) | 2 lines
Remove a use of callable() to silence the warning triggered under -3.
........
Martin v. Löwis [Fri, 1 Aug 2008 14:15:22 +0000 (14:15 +0000)]
Merged revisions 65368 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65368 | martin.v.loewis | 2008-08-01 16:10:26 +0200 (Fr, 01 Aug 2008) | 3 lines
Generate the PatternGrammar pickle during "make install".
Fixes part of #3131.
........
Mark Dickinson [Fri, 1 Aug 2008 09:14:03 +0000 (09:14 +0000)]
Merged revisions 65366 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65366 | mark.dickinson | 2008-08-01 10:13:07 +0100 (Fri, 01 Aug 2008) | 2 lines
Tone down math.fsum warning.
........
Mark Dickinson [Fri, 1 Aug 2008 08:16:13 +0000 (08:16 +0000)]
Merged revisions 65258,65292,65299,65308-65309,65315,65326 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65258 | mark.dickinson | 2008-07-27 08:15:29 +0100 (Sun, 27 Jul 2008) | 4 lines
Remove math.sum tests related to overflow, special values, and behaviour
near the extremes of the floating-point range. (The behaviour of math.sum
should be regarded as undefined in these cases.)
........
r65292 | mark.dickinson | 2008-07-29 19:45:38 +0100 (Tue, 29 Jul 2008) | 4 lines
More modifications to tests for math.sum: replace the Python
version of msum by a version using a different algorithm, and
use the new float.fromhex method to specify test results exactly.
........
r65299 | mark.dickinson | 2008-07-30 13:01:41 +0100 (Wed, 30 Jul 2008) | 5 lines
Fix special-value handling for math.sum.
Also minor cleanups to the code: fix tabbing, remove
trailing whitespace, and reformat to fit into 80
columns.
........
r65308 | mark.dickinson | 2008-07-30 17:20:10 +0100 (Wed, 30 Jul 2008) | 2 lines
Rename math.sum to math.fsum
........
r65309 | mark.dickinson | 2008-07-30 17:25:16 +0100 (Wed, 30 Jul 2008) | 3 lines
Replace math.sum with math.fsum in a couple of comments
that were missed by r65308
........
r65315 | mark.dickinson | 2008-07-30 21:23:15 +0100 (Wed, 30 Jul 2008) | 2 lines
Add note about problems with math.fsum on x86 hardware.
........
r65326 | mark.dickinson | 2008-07-31 15:48:32 +0100 (Thu, 31 Jul 2008) | 2 lines
Rename testSum to testFsum and move it to proper place in test_math.py
........
Brett Cannon [Fri, 1 Aug 2008 01:41:04 +0000 (01:41 +0000)]
Blocked revisions 65353 via svnmerge
........
r65353 | brett.cannon | 2008-07-31 18:40:24 -0700 (Thu, 31 Jul 2008) | 4 lines
Silence (Syntax|Deprecation)Warning for 'inspect'. Had to remove tuple
unpacking in a parameter list and set some constants by hand that were pulled
from the 'compiler' package.
........
Brett Cannon [Fri, 1 Aug 2008 01:38:47 +0000 (01:38 +0000)]
Blocked revisions 65351 via svnmerge
........
r65351 | brett.cannon | 2008-07-31 18:36:47 -0700 (Thu, 31 Jul 2008) | 3 lines
Remove use of tuple unpacking and dict.has_key() so as to silence
SyntaxWarning as triggered by -3.
........
Brett Cannon [Fri, 1 Aug 2008 01:34:40 +0000 (01:34 +0000)]
Blocked revisions 65349 via svnmerge
........
r65349 | brett.cannon | 2008-07-31 18:34:05 -0700 (Thu, 31 Jul 2008) | 3 lines
Remove assignment to True/False to silence the SyntaxWarning that is triggered
by -3.
........
Brett Cannon [Fri, 1 Aug 2008 01:23:09 +0000 (01:23 +0000)]
Blocked revisions 65346 via svnmerge
........
r65346 | brett.cannon | 2008-07-31 18:21:50 -0700 (Thu, 31 Jul 2008) | 1 line
Fix a DeprecationWarning about __getitem__() and exceptions in the 'traceback' module.
........
Amaury Forgeot d'Arc [Fri, 1 Aug 2008 01:06:32 +0000 (01:06 +0000)]
Merged revisions 65339-65340,65342 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65339 | amaury.forgeotdarc | 2008-07-31 23:28:03 +0200 (jeu., 31 juil. 2008) | 5 lines
#3479: unichr(2**32) used to return u'\x00'.
The argument was fetched in a long, but PyUnicode_FromOrdinal takes an int.
(why doesn't gcc issue a truncation warning in this case?)
........
r65340 | amaury.forgeotdarc | 2008-07-31 23:35:03 +0200 (jeu., 31 juil. 2008) | 2 lines
Remove a dummy test that was checked in by mistake
........
r65342 | amaury.forgeotdarc | 2008-08-01 01:39:05 +0200 (ven., 01 août 2008) | 8 lines
Correct a crash when two successive unicode allocations fail with a MemoryError:
the freelist contained half-initialized objects with freed pointers.
The comment
/* XXX UNREF/NEWREF interface should be more symmetrical */
was copied from tupleobject.c, and appears in some other places.
I sign the petition.
........
Amaury Forgeot d'Arc [Fri, 1 Aug 2008 00:14:22 +0000 (00:14 +0000)]
posix.fdopen does not exists any more; and os.fdopen exists on all platforms.
Move tests from test_posix to test_os.
Amaury Forgeot d'Arc [Fri, 1 Aug 2008 00:06:49 +0000 (00:06 +0000)]
#2491: os.fdopen() is now almost an alias to the builtin open(), and accepts the same parameters.
It just checks that the first argument is a file descriptor.
Amaury Forgeot d'Arc [Thu, 31 Jul 2008 22:56:02 +0000 (22:56 +0000)]
Correct one of the "MemoryError oddities":
the traceback would grow each time a MemoryError is raised.
Benjamin Peterson [Thu, 31 Jul 2008 21:10:28 +0000 (21:10 +0000)]
Merged revisions 65293 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65293 | benjamin.peterson | 2008-07-29 14:28:49 -0500 (Tue, 29 Jul 2008) | 1 line
the from __future__ import with_statement isn't needed in 2.6
........
Benjamin Peterson [Thu, 31 Jul 2008 20:21:46 +0000 (20:21 +0000)]
Merged revisions 65259,65263,65296,65307,65321 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65259 | benjamin.peterson | 2008-07-27 10:22:14 -0500 (Sun, 27 Jul 2008) | 1 line
clarify Popen argument
........
r65263 | andrew.kuchling | 2008-07-28 12:04:48 -0500 (Mon, 28 Jul 2008) | 1 line
Clarify wording
........
r65296 | raymond.hettinger | 2008-07-30 02:27:30 -0500 (Wed, 30 Jul 2008) | 1 line
Neaten-up the itertools recipes.
........
r65307 | benjamin.peterson | 2008-07-30 08:46:53 -0500 (Wed, 30 Jul 2008) | 1 line
getrandombits is actually getrandbits
........
r65321 | raymond.hettinger | 2008-07-30 20:19:50 -0500 (Wed, 30 Jul 2008) | 4 lines
Alter recipe to show how to call izip_longest() with
both a keyword argument and star arguments.
........
Benjamin Peterson [Thu, 31 Jul 2008 16:32:12 +0000 (16:32 +0000)]
Merged revisions 65257 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65257 | mark.dickinson | 2008-07-27 01:39:07 -0500 (Sun, 27 Jul 2008) | 3 lines
Issue #3449: Update decimal module to use most recent specification
(v. 1.68) and tests (v. 2.58) from IBM.
........
Benjamin Peterson [Thu, 31 Jul 2008 16:23:04 +0000 (16:23 +0000)]
Merged revisions 65209-65216,65225-65226,65233,65239,65246-65247,65255-65256 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65209 | raymond.hettinger | 2008-07-23 19:08:18 -0500 (Wed, 23 Jul 2008) | 1 line
Finish-up the partial conversion from int to Py_ssize_t for deque indices and length.
........
r65210 | raymond.hettinger | 2008-07-23 19:53:49 -0500 (Wed, 23 Jul 2008) | 1 line
Parse to the correct datatype.
........
r65211 | benjamin.peterson | 2008-07-23 21:27:46 -0500 (Wed, 23 Jul 2008) | 1 line
fix spacing
........
r65212 | benjamin.peterson | 2008-07-23 21:31:28 -0500 (Wed, 23 Jul 2008) | 1 line
fix markup
........
r65213 | benjamin.peterson | 2008-07-23 21:45:37 -0500 (Wed, 23 Jul 2008) | 1 line
add some documentation for 2to3
........
r65214 | raymond.hettinger | 2008-07-24 00:38:48 -0500 (Thu, 24 Jul 2008) | 1 line
Finish conversion from int to Py_ssize_t.
........
r65215 | raymond.hettinger | 2008-07-24 02:04:55 -0500 (Thu, 24 Jul 2008) | 1 line
Convert from long to Py_ssize_t.
........
r65216 | georg.brandl | 2008-07-24 02:09:21 -0500 (Thu, 24 Jul 2008) | 2 lines
Fix indentation.
........
r65225 | benjamin.peterson | 2008-07-25 11:55:37 -0500 (Fri, 25 Jul 2008) | 1 line
teach .bzrignore about doc tools
........
r65226 | benjamin.peterson | 2008-07-25 12:02:11 -0500 (Fri, 25 Jul 2008) | 1 line
document default value for fillvalue
........
r65233 | raymond.hettinger | 2008-07-25 13:43:33 -0500 (Fri, 25 Jul 2008) | 1 line
Issue 1592: Better error reporting for operations on closed shelves.
........
r65239 | benjamin.peterson | 2008-07-25 16:59:53 -0500 (Fri, 25 Jul 2008) | 1 line
fix indentation
........
r65246 | andrew.kuchling | 2008-07-26 08:08:19 -0500 (Sat, 26 Jul 2008) | 1 line
This sentence continues to bug me; rewrite it for the second time
........
r65247 | andrew.kuchling | 2008-07-26 08:09:06 -0500 (Sat, 26 Jul 2008) | 1 line
Remove extra words
........
r65255 | skip.montanaro | 2008-07-26 19:49:02 -0500 (Sat, 26 Jul 2008) | 3 lines
Close issue 3437 - missing state change when Allow lines are processed.
Adds test cases which use Allow: as well.
........
r65256 | skip.montanaro | 2008-07-26 19:50:41 -0500 (Sat, 26 Jul 2008) | 2 lines
note robotparser bug fix.
........
Benjamin Peterson [Thu, 31 Jul 2008 15:55:58 +0000 (15:55 +0000)]
block all the bsddb revisions. Jesus has said he is maintaining bsddb for 3.0 separately
Benjamin Peterson [Thu, 31 Jul 2008 15:20:45 +0000 (15:20 +0000)]
Merged revisions 65328 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65328 | benjamin.peterson | 2008-07-31 10:15:45 -0500 (Thu, 31 Jul 2008) | 1 line
remove usage of MacOS from Tkinter
........
Benjamin Peterson [Thu, 31 Jul 2008 15:03:40 +0000 (15:03 +0000)]
update the struct documentation to refer to bytes
patch from Matt Giuca #3478
Brett Cannon [Thu, 31 Jul 2008 03:01:40 +0000 (03:01 +0000)]
Blocked revisions 65323 via svnmerge
........
r65323 | brett.cannon | 2008-07-30 20:00:53 -0700 (Wed, 30 Jul 2008) | 1 line
Backport test.support.fcmp() from 3.0 to silence -3 warnings.
........
Benjamin Peterson [Thu, 31 Jul 2008 01:47:08 +0000 (01:47 +0000)]
Merged revisions 65320 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65320 | amaury.forgeotdarc | 2008-07-30 19:42:16 -0500 (Wed, 30 Jul 2008) | 3 lines
#2542: now that issubclass() may call arbitrary code,
make sure that PyErr_ExceptionMatches returns 0 when an exception occurs there.
........
Benjamin Peterson [Wed, 30 Jul 2008 23:51:05 +0000 (23:51 +0000)]
Blocked revisions 65318 via svnmerge
........
r65318 | benjamin.peterson | 2008-07-30 18:49:28 -0500 (Wed, 30 Jul 2008) | 1 line
I mess up again; BufferError inherits StandardError
........
Benjamin Peterson [Wed, 30 Jul 2008 19:49:33 +0000 (19:49 +0000)]
Blocked revisions 65312 via svnmerge
........
r65312 | benjamin.peterson | 2008-07-30 14:35:27 -0500 (Wed, 30 Jul 2008) | 1 line
add BufferError to the exception hieracrchy
........
Benjamin Peterson [Wed, 30 Jul 2008 17:46:47 +0000 (17:46 +0000)]
Blocked revisions 65310 via svnmerge
........
r65310 | benjamin.peterson | 2008-07-30 12:45:10 -0500 (Wed, 30 Jul 2008) | 1 line
backport r64751
........
Raymond Hettinger [Wed, 30 Jul 2008 07:45:01 +0000 (07:45 +0000)]
Fix-up recipe with a syntax error (as discussed on python-dev).
Raymond Hettinger [Wed, 30 Jul 2008 07:37:37 +0000 (07:37 +0000)]
Neaten-up the itertools recipes.
Benjamin Peterson [Tue, 29 Jul 2008 15:55:50 +0000 (15:55 +0000)]
a much cleaner fix from Antoine
Benjamin Peterson [Tue, 29 Jul 2008 15:53:12 +0000 (15:53 +0000)]
uhh. __builtins__ is a module in __main__ and a dict elsewhere
Benjamin Peterson [Tue, 29 Jul 2008 15:35:08 +0000 (15:35 +0000)]
make sure doctest doesn't pollute __builtins__
This was causing test_builtin to fail after the decimal doctests were run
see #3462
Benjamin Peterson [Mon, 28 Jul 2008 23:36:42 +0000 (23:36 +0000)]
Blocked revisions 65266 via svnmerge
........
r65266 | benjamin.peterson | 2008-07-28 18:35:27 -0500 (Mon, 28 Jul 2008) | 1 line
backport r65264
........
Antoine Pitrou [Mon, 28 Jul 2008 19:46:11 +0000 (19:46 +0000)]
#2523: binary buffered reading is quadratic
Benjamin Peterson [Sat, 26 Jul 2008 22:27:04 +0000 (22:27 +0000)]
Merged revisions 65253 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65253 | georg.brandl | 2008-07-26 17:13:29 -0500 (Sat, 26 Jul 2008) | 2 lines
Shorten some overlong lines.
........
Benjamin Peterson [Sat, 26 Jul 2008 21:59:03 +0000 (21:59 +0000)]
fix print syntax in tutorial
Antoine Pitrou [Sat, 26 Jul 2008 21:02:53 +0000 (21:02 +0000)]
Merged revisions 65244-65245,65248 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65244 | antoine.pitrou | 2008-07-26 12:29:43 +0200 (sam., 26 juil. 2008) | 3 lines
try to fix most buildbot failures on test_locale + add a debug output for the solaris buildbot
........
r65245 | antoine.pitrou | 2008-07-26 13:56:37 +0200 (sam., 26 juil. 2008) | 3 lines
Fix more buildbot failures on test_locale.
........
r65248 | antoine.pitrou | 2008-07-26 15:49:13 +0200 (sam., 26 juil. 2008) | 4 lines
disable some failing tests in test_locale due to a bug in locale.py.
this should fix the failures on the solaris buildbot.
........
Amaury Forgeot d'Arc [Sat, 26 Jul 2008 20:09:45 +0000 (20:09 +0000)]
Remove incorrect usages of map() in distutils.
Reported by Lisandro Dalcin.
Antoine Pitrou [Fri, 25 Jul 2008 22:39:39 +0000 (22:39 +0000)]
Merged revisions 65240-65242 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65240 | antoine.pitrou | 2008-07-26 00:02:07 +0200 (sam., 26 juil. 2008) | 3 lines
add a pybench test for complex function calls (part of #1819)
........
r65241 | antoine.pitrou | 2008-07-26 00:13:52 +0200 (sam., 26 juil. 2008) | 4 lines
Raymond's patch for #1819: speedup function calls with named parameters
(35% faster according to pybench)
........
r65242 | antoine.pitrou | 2008-07-26 00:22:08 +0200 (sam., 26 juil. 2008) | 3 lines
add a NEWS entry
........
Antoine Pitrou [Fri, 25 Jul 2008 21:45:08 +0000 (21:45 +0000)]
Merged revisions 65237 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65237 | antoine.pitrou | 2008-07-25 22:40:19 +0200 (ven., 25 juil. 2008) | 3 lines
convert test_locale to unittest, and add a mechanism to override localconv() results for further testing (#1864, #1222)
........
Antoine Pitrou [Fri, 25 Jul 2008 19:58:18 +0000 (19:58 +0000)]
Merged revisions 65235 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65235 | antoine.pitrou | 2008-07-25 21:42:26 +0200 (ven., 25 juil. 2008) | 3 lines
#3394: zipfile.writestr doesn't set external attributes, so files are extracted mode 000 on Unix
........
Brett Cannon [Fri, 25 Jul 2008 18:19:20 +0000 (18:19 +0000)]
Remove the sunaudio module.
Antoine Pitrou [Fri, 25 Jul 2008 18:05:24 +0000 (18:05 +0000)]
Merged revisions 65227 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65227 | antoine.pitrou | 2008-07-25 19:45:59 +0200 (ven., 25 juil. 2008) | 3 lines
#2242: utf7 decoding crashes on bogus input on some Windows/MSVC versions
........
Brett Cannon [Fri, 25 Jul 2008 17:56:47 +0000 (17:56 +0000)]
Forward-port r65112 so that test_ossaudiodev uses sunau.
Raymond Hettinger [Thu, 24 Jul 2008 19:38:45 +0000 (19:38 +0000)]
Merge 65215: convert uses of int to Py_Ssize_t.
Facundo Batista [Thu, 24 Jul 2008 18:57:11 +0000 (18:57 +0000)]
Optimization to stop creating new small longs and use the
one previously stored. Issue 2417.
Thomas Heller [Thu, 24 Jul 2008 11:23:39 +0000 (11:23 +0000)]
Blocked revisions 65217 via svnmerge
........
r65217 | thomas.heller | 2008-07-24 13:16:45 +0200 (Do, 24 Jul 2008) | 1 line
Make ctypes compatible with Python 2.3, 2.4, and 2.5 again.
........
Georg Brandl [Wed, 23 Jul 2008 16:13:07 +0000 (16:13 +0000)]
Merged revisions 65182 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65182 | gregory.p.smith | 2008-07-22 06:46:32 +0200 (Tue, 22 Jul 2008) | 7 lines
Issue #2620: Overflow checking when allocating or reallocating memory
was not always being done properly in some python types and extension
modules. PyMem_MALLOC, PyMem_REALLOC, PyMem_NEW and PyMem_RESIZE have
all been updated to perform better checks and places in the code that
would previously leak memory on the error path when such an allocation
failed have been fixed.
........
Georg Brandl [Wed, 23 Jul 2008 16:11:42 +0000 (16:11 +0000)]
Blocked revisions 65205 via svnmerge
........
r65205 | georg.brandl | 2008-07-23 18:00:44 +0200 (Wed, 23 Jul 2008) | 2 lines
Use correct indentation.
........
Georg Brandl [Wed, 23 Jul 2008 16:10:53 +0000 (16:10 +0000)]
Merged revisions 65012,65035,65037-65040,65048,65057,65077,65091-65095,65097-65099,65127-65128,65131,65133-65136,65139,65149-65151,65155,65158-65159,65176-65178,65183-65184,65187-65190,65192,65194 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65012 | jesse.noller | 2008-07-16 15:24:06 +0200 (Wed, 16 Jul 2008) | 2 lines
Apply patch for issue 3090: ARCHFLAGS parsing incorrect
........
r65035 | georg.brandl | 2008-07-16 23:19:28 +0200 (Wed, 16 Jul 2008) | 2 lines
#3045: fix pydoc behavior for TEMP path with spaces.
........
r65037 | georg.brandl | 2008-07-16 23:31:41 +0200 (Wed, 16 Jul 2008) | 2 lines
#
1608818: errno can get set by every call to readdir().
........
r65038 | georg.brandl | 2008-07-17 00:04:20 +0200 (Thu, 17 Jul 2008) | 2 lines
#3305: self->stream can be NULL.
........
r65039 | georg.brandl | 2008-07-17 00:09:17 +0200 (Thu, 17 Jul 2008) | 2 lines
#3345: fix docstring.
........
r65040 | georg.brandl | 2008-07-17 00:33:18 +0200 (Thu, 17 Jul 2008) | 2 lines
#3312: fix two sqlite3 crashes.
........
r65048 | georg.brandl | 2008-07-17 01:35:54 +0200 (Thu, 17 Jul 2008) | 2 lines
#3388: add a paragraph about using "with" for file objects.
........
r65057 | gregory.p.smith | 2008-07-17 05:13:05 +0200 (Thu, 17 Jul 2008) | 2 lines
news note for r63052
........
r65077 | jesse.noller | 2008-07-17 23:01:05 +0200 (Thu, 17 Jul 2008) | 3 lines
Fix issue 3395, update _debugInfo to be _debug_info
........
r65091 | ronald.oussoren | 2008-07-18 07:48:03 +0200 (Fri, 18 Jul 2008) | 2 lines
Last bit of a fix for issue3381 (addon for my patch in r65061)
........
r65092 | vinay.sajip | 2008-07-18 10:59:06 +0200 (Fri, 18 Jul 2008) | 1 line
Issue #3389: Allow resolving dotted names for handlers in logging configuration files. Thanks to Philip Jenvey for the patch.
........
r65093 | vinay.sajip | 2008-07-18 11:00:00 +0200 (Fri, 18 Jul 2008) | 1 line
Issue #3389: Allow resolving dotted names for handlers in logging configuration files. Thanks to Philip Jenvey for the patch.
........
r65094 | vinay.sajip | 2008-07-18 11:00:35 +0200 (Fri, 18 Jul 2008) | 1 line
Issue #3389: Allow resolving dotted names for handlers in logging configuration files. Thanks to Philip Jenvey for the patch.
........
r65095 | vinay.sajip | 2008-07-18 11:01:10 +0200 (Fri, 18 Jul 2008) | 1 line
Issue #3389: Allow resolving dotted names for handlers in logging configuration files. Thanks to Philip Jenvey for the patch.
........
r65097 | georg.brandl | 2008-07-18 12:20:59 +0200 (Fri, 18 Jul 2008) | 2 lines
Remove duplicate entry in __all__.
........
r65098 | georg.brandl | 2008-07-18 12:29:30 +0200 (Fri, 18 Jul 2008) | 2 lines
Correct attribute name.
........
r65099 | georg.brandl | 2008-07-18 13:15:06 +0200 (Fri, 18 Jul 2008) | 3 lines
Document the different meaning of precision for {:f} and {:g}.
Also document how inf and nan are formatted. #3404.
........
r65127 | raymond.hettinger | 2008-07-19 02:42:03 +0200 (Sat, 19 Jul 2008) | 1 line
Improve accuracy of gamma test function
........
r65128 | raymond.hettinger | 2008-07-19 02:43:00 +0200 (Sat, 19 Jul 2008) | 1 line
Add recipe to the itertools docs.
........
r65131 | georg.brandl | 2008-07-19 12:08:55 +0200 (Sat, 19 Jul 2008) | 2 lines
#3378: in case of no memory, don't leak even more memory. :)
........
r65133 | georg.brandl | 2008-07-19 14:39:10 +0200 (Sat, 19 Jul 2008) | 3 lines
#3302: fix segfaults when passing None for arguments that can't
be NULL for the C functions.
........
r65134 | georg.brandl | 2008-07-19 14:46:12 +0200 (Sat, 19 Jul 2008) | 2 lines
#3303: fix crash with invalid Py_DECREF in strcoll().
........
r65135 | georg.brandl | 2008-07-19 15:00:22 +0200 (Sat, 19 Jul 2008) | 3 lines
#3319: don't raise ZeroDivisionError if number of rounds is so
low that benchtime is zero.
........
r65136 | georg.brandl | 2008-07-19 15:09:42 +0200 (Sat, 19 Jul 2008) | 3 lines
#3323: mention that if inheriting from a class without __slots__,
the subclass will have a __dict__ available too.
........
r65139 | georg.brandl | 2008-07-19 15:48:44 +0200 (Sat, 19 Jul 2008) | 2 lines
Add ordering info for findall and finditer.
........
r65149 | raymond.hettinger | 2008-07-20 01:21:57 +0200 (Sun, 20 Jul 2008) | 1 line
Fix compress() recipe in docs to use itertools.
........
r65150 | raymond.hettinger | 2008-07-20 01:58:47 +0200 (Sun, 20 Jul 2008) | 1 line
Clean-up itertools docs and recipes.
........
r65151 | gregory.p.smith | 2008-07-20 02:22:08 +0200 (Sun, 20 Jul 2008) | 9 lines
fix issue3120 - don't truncate handles on 64-bit Windows.
This is still messy, realistically PC/_subprocess.c should never cast pointers
to python numbers and back at all.
I don't have a 64-bit windows build environment because microsoft apparently
thinks that should cost money. Time to watch the buildbots. It builds and
passes tests on 32-bit windows.
........
r65155 | georg.brandl | 2008-07-20 13:50:29 +0200 (Sun, 20 Jul 2008) | 2 lines
#926501: add info where to put the docstring.
........
r65158 | neal.norwitz | 2008-07-20 21:35:23 +0200 (Sun, 20 Jul 2008) | 1 line
Fix a couple of names in error messages that were wrong
........
r65159 | neal.norwitz | 2008-07-20 22:39:36 +0200 (Sun, 20 Jul 2008) | 1 line
Fix misspeeld method name (negative)
........
r65176 | amaury.forgeotdarc | 2008-07-21 23:36:24 +0200 (Mon, 21 Jul 2008) | 4 lines
Increment version number in NEWS file, and move items that were added after 2.6b2.
(I thought there was a script to automate this kind of updates)
........
r65177 | amaury.forgeotdarc | 2008-07-22 00:00:38 +0200 (Tue, 22 Jul 2008) | 5 lines
Issue2378: pdb would delete free variables when stepping into a class statement.
The problem was introduced by r53954, the correction is to restore the symmetry between
PyFrame_FastToLocals and PyFrame_LocalsToFast
........
r65178 | benjamin.peterson | 2008-07-22 00:05:34 +0200 (Tue, 22 Jul 2008) | 1 line
don't use assert statement
........
r65183 | ronald.oussoren | 2008-07-22 09:06:00 +0200 (Tue, 22 Jul 2008) | 2 lines
Fix buglet in fix for issue3381
........
r65184 | ronald.oussoren | 2008-07-22 09:06:33 +0200 (Tue, 22 Jul 2008) | 2 lines
Fix build issue on OSX 10.4, somehow this wasn't committed before.
........
r65187 | raymond.hettinger | 2008-07-22 20:54:02 +0200 (Tue, 22 Jul 2008) | 1 line
Remove out-of-date section on Exact/Inexact.
........
r65188 | raymond.hettinger | 2008-07-22 21:00:47 +0200 (Tue, 22 Jul 2008) | 1 line
Tuples now have both count() and index().
........
r65189 | raymond.hettinger | 2008-07-22 21:03:05 +0200 (Tue, 22 Jul 2008) | 1 line
Fix credits for math.sum()
........
r65190 | raymond.hettinger | 2008-07-22 21:18:50 +0200 (Tue, 22 Jul 2008) | 1 line
One more attribution.
........
r65192 | benjamin.peterson | 2008-07-23 01:44:37 +0200 (Wed, 23 Jul 2008) | 1 line
remove unneeded import
........
r65194 | benjamin.peterson | 2008-07-23 15:25:06 +0200 (Wed, 23 Jul 2008) | 1 line
use isinstance
........
Georg Brandl [Wed, 23 Jul 2008 15:42:45 +0000 (15:42 +0000)]
Blocked revisions 65032 via svnmerge
........
r65032 | jesse.noller | 2008-07-16 22:03:47 +0200 (Wed, 16 Jul 2008) | 2 lines
Apply patch for 874900: threading module can deadlock after fork
........
Georg Brandl [Wed, 23 Jul 2008 15:22:04 +0000 (15:22 +0000)]
Blocked revisions 65069,65075 via svnmerge
........
r65069 | eric.smith | 2008-07-17 19:48:39 +0200 (Thu, 17 Jul 2008) | 1 line
Issue 3382: Make '%F' and float.__format__('F') convert results to upper case.
........
r65075 | eric.smith | 2008-07-17 21:49:47 +0200 (Thu, 17 Jul 2008) | 1 line
Backed out r65069, pending fixing it in Windows.
........
Georg Brandl [Wed, 23 Jul 2008 15:19:11 +0000 (15:19 +0000)]
Merged revisions 65199 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65199 | georg.brandl | 2008-07-23 17:17:09 +0200 (Wed, 23 Jul 2008) | 2 lines
Move opcode handling to Python's extension.
........
Georg Brandl [Wed, 23 Jul 2008 15:18:32 +0000 (15:18 +0000)]
Blocked revisions 65198 via svnmerge
........
r65198 | georg.brandl | 2008-07-23 17:16:45 +0200 (Wed, 23 Jul 2008) | 2 lines
3k-warn about parser's "ast" aliases.
........
Georg Brandl [Wed, 23 Jul 2008 15:07:12 +0000 (15:07 +0000)]
Remove "ast" aliases from the parser module.
Benjamin Peterson [Wed, 23 Jul 2008 13:47:41 +0000 (13:47 +0000)]
Blocked revisions 64578,64580,65082,65085 via svnmerge
........
r64578 | bill.janssen | 2008-06-28 17:19:33 -0500 (Sat, 28 Jun 2008) | 1 line
various SSL fixes; issues 1251, 3162, 3212
........
r64580 | bill.janssen | 2008-06-28 18:00:39 -0500 (Sat, 28 Jun 2008) | 1 line
make sure we close the active channels when eof is received on them
........
r65082 | barry.warsaw | 2008-07-17 22:20:07 -0500 (Thu, 17 Jul 2008) | 1 line
Bumping to 2.6b2
........
r65085 | barry.warsaw | 2008-07-17 22:36:18 -0500 (Thu, 17 Jul 2008) | 1 line
Post release cleanup
........
Raymond Hettinger [Tue, 22 Jul 2008 19:27:12 +0000 (19:27 +0000)]
Fix spelling.
Antoine Pitrou [Tue, 22 Jul 2008 18:03:03 +0000 (18:03 +0000)]
#3092: fix unicode size detection in pybench
Antoine Pitrou [Tue, 22 Jul 2008 17:53:22 +0000 (17:53 +0000)]
#3231: re.compile fails with some bytes patterns
Mark Dickinson [Mon, 21 Jul 2008 22:49:36 +0000 (22:49 +0000)]
Issue #3369: fix memory leak in floatobject.c. Thanks Kristján Jónsson
for the report and fix.
Amaury Forgeot d'Arc [Mon, 21 Jul 2008 21:13:14 +0000 (21:13 +0000)]
Merged revisions 65174 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65174 | amaury.forgeotdarc | 2008-07-21 23:06:46 +0200 (lun., 21 juil. 2008) | 3 lines
On Windows, silence a Purify warning and initialize the memory passed to CryptGenRandom.
Since python doesn't provide any particular random data, it seems more reasonable anyway.
........
Georg Brandl [Mon, 21 Jul 2008 18:26:48 +0000 (18:26 +0000)]
Blocked revisions 65172 via svnmerge
........
r65172 | georg.brandl | 2008-07-21 20:26:21 +0200 (Mon, 21 Jul 2008) | 2 lines
nonlocal is not in 2.6.
........
Benjamin Peterson [Mon, 21 Jul 2008 16:32:10 +0000 (16:32 +0000)]
Merged revisions 65168 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65168 | facundo.batista | 2008-07-21 09:28:17 -0500 (Mon, 21 Jul 2008) | 5 lines
Issue 3396. Fixed the autocompletion of 'int.', and worked
a little that part of the code, fixing a detail and enhancing
a bit others.
........
Georg Brandl [Sun, 20 Jul 2008 23:21:49 +0000 (23:21 +0000)]
Merged revisions 65163 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65163 | georg.brandl | 2008-07-21 01:18:55 +0200 (Mon, 21 Jul 2008) | 4 lines
Save the whole of sys.modules instead of using an import tracker.
This, when merged to py3k, will fix the spurious buildbot failure
in test_urllib2 ("<urlopen error unknown url type: do>").
........
Benjamin Peterson [Sun, 20 Jul 2008 22:02:26 +0000 (22:02 +0000)]
fix markup
Georg Brandl [Sun, 20 Jul 2008 21:39:03 +0000 (21:39 +0000)]
#3400: document new 3.0 opcodes.
Georg Brandl [Sun, 20 Jul 2008 21:38:50 +0000 (21:38 +0000)]
Remove MAKE_BYTES which is a leftover from the mutable byte literal time.
Georg Brandl [Sun, 20 Jul 2008 07:31:30 +0000 (07:31 +0000)]
Merged revisions 65152 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65152 | georg.brandl | 2008-07-20 09:29:58 +0200 (Sun, 20 Jul 2008) | 2 lines
Remove exception indexing in asyncore.
........
Benjamin Peterson [Sat, 19 Jul 2008 22:26:35 +0000 (22:26 +0000)]
Merged revisions 65147 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65147 | bob.ippolito | 2008-07-19 16:59:50 -0500 (Sat, 19 Jul 2008) | 1 line
#3322: bounds checking for _json.scanstring
........
Georg Brandl [Sat, 19 Jul 2008 15:51:07 +0000 (15:51 +0000)]
#3113: document exception chaining.
Benjamin Peterson [Sat, 19 Jul 2008 14:19:28 +0000 (14:19 +0000)]
Merged revisions 65141 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
................
r65141 | benjamin.peterson | 2008-07-19 09:14:06 -0500 (Sat, 19 Jul 2008) | 9 lines
Merged revisions 65137 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r65137 | georg.brandl | 2008-07-19 08:32:57 -0500 (Sat, 19 Jul 2008) | 2 lines
#3334: correctly set prefix of imports.
........
................
Georg Brandl [Sat, 19 Jul 2008 13:53:58 +0000 (13:53 +0000)]
xrange -> range.