summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Use version 3.0.Georg Brandl2008-08-031-2/+2
|
* Merged revisions 65378-65379,65430 via svnmerge fromGeorg Brandl2008-08-034-7/+17
| | | | | | | | | | | | | | | | | | | | 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. ........
* Blocked revisions 65422 via svnmergeGeorg Brandl2008-08-030-0/+0
| | | | | | | | ........ r65422 | antoine.pitrou | 2008-08-02 23:58:05 +0200 (Sat, 02 Aug 2008) | 1 line Preemptively backport the relevant parts of r65420 ........
* Blocked revisions 65425 via svnmergeBrett Cannon2008-08-030-0/+0
| | | | | | | | | ........ 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. ........
* Blocked revisions 65423 via svnmergeBrett Cannon2008-08-030-0/+0
| | | | | | | | | ........ 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. ........
* #2538: bytes objects can only provide read-only buffersAntoine Pitrou2008-08-024-8/+13
|
* str.join() doesn't convert arguments anymore.Georg Brandl2008-08-021-5/+4
|
* Remove the TarFileCompat class from tarfile.py.Lars Gustäbel2008-08-023-63/+3
|
* Blocked revisions 65402 via svnmergeLars Gustäbel2008-08-020-0/+0
| | | | | | | | | | | ........ 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. ........
* Merged revisions 65399 via svnmerge fromMartin v. Löwis2008-08-021-9/+9
| | | | | | | | | | | 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. ........
* Blocked revisions 65395 via svnmergeBrett Cannon2008-08-020-0/+0
| | | | | | | | | ........ 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. ........
* Blocked revisions 65393 via svnmergeBrett Cannon2008-08-020-0/+0
| | | | | | | | ........ 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. ........
* Blocked revisions 65391 via svnmergeBrett Cannon2008-08-020-0/+0
| | | | | | | | ........ 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. ........
* Merged revisions 65385 via svnmerge fromBenjamin Peterson2008-08-021-1/+1
| | | | | | | | | | 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 ........
* Blocked revisions 65387 via svnmergeBrett Cannon2008-08-020-0/+0
| | | | | | | | | ........ 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. ........
* Blocked revisions 65386 via svnmergeBrett Cannon2008-08-020-0/+0
| | | | | | | | | ........ 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. ........
* Blocked revisions 65382-65383 via svnmergeBenjamin Peterson2008-08-020-0/+0
| | | | | | | | | | | | ........ 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 ........
* Merge 65376 into 3k, fix for issue 3399Jesse Noller2008-08-023-19/+28
|
* Fix merge conflict.Georg Brandl2008-08-011-14/+0
|
* Blocked revisions 65355 via svnmergeBenjamin Peterson2008-08-010-0/+0
| | | | | | | | ........ 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. ........
* Merged revisions 65368 via svnmerge fromMartin v. Löwis2008-08-012-1/+14
| | | | | | | | | | | 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. ........
* Merged revisions 65366 via svnmerge fromMark Dickinson2008-08-011-23/+2
| | | | | | | | | | 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. ........
* Merged revisions 65258,65292,65299,65308-65309,65315,65326 via svnmerge fromMark Dickinson2008-08-015-211/+201
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 ........
* Blocked revisions 65353 via svnmergeBrett Cannon2008-08-010-0/+0
| | | | | | | | | | ........ 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. ........
* Blocked revisions 65351 via svnmergeBrett Cannon2008-08-010-0/+0
| | | | | | | | | ........ 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. ........
* Blocked revisions 65349 via svnmergeBrett Cannon2008-08-010-0/+0
| | | | | | | | | ........ 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. ........
* Blocked revisions 65346 via svnmergeBrett Cannon2008-08-010-0/+0
| | | | | | | | ........ 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. ........
* Merged revisions 65339-65340,65342 via svnmerge fromAmaury Forgeot d'Arc2008-08-015-11/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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. ........
* posix.fdopen does not exists any more; and os.fdopen exists on all platforms.Amaury Forgeot d'Arc2008-08-012-11/+10
| | | | Move tests from test_posix to test_os.
* #2491: os.fdopen() is now almost an alias to the builtin open(), and accepts ↵Amaury Forgeot d'Arc2008-08-013-11/+11
| | | | | | the same parameters. It just checks that the first argument is a file descriptor.
* Correct one of the "MemoryError oddities":Amaury Forgeot d'Arc2008-07-312-0/+28
| | | | the traceback would grow each time a MemoryError is raised.
* Merged revisions 65293 via svnmerge fromBenjamin Peterson2008-07-311-1/+1
| | | | | | | | | | 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 ........
* Merged revisions 65259,65263,65296,65307,65321 via svnmerge fromBenjamin Peterson2008-07-315-9/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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. ........
* Merged revisions 65257 via svnmerge fromBenjamin Peterson2008-07-31142-322/+471
| | | | | | | | | | | 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. ........
* Merged revisions 65209-65216,65225-65226,65233,65239,65246-65247,65255-65256 ↵Benjamin Peterson2008-07-3114-55/+246
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. ........
* block all the bsddb revisions. Jesus has said he is maintaining bsddb for ↵Benjamin Peterson2008-07-310-0/+0
| | | | 3.0 separately
* Merged revisions 65328 via svnmerge fromBenjamin Peterson2008-07-311-10/+0
| | | | | | | | | | 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 ........
* update the struct documentation to refer to bytesBenjamin Peterson2008-07-313-42/+48
| | | | patch from Matt Giuca #3478
* Blocked revisions 65323 via svnmergeBrett Cannon2008-07-310-0/+0
| | | | | | | | ........ 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. ........
* Merged revisions 65320 via svnmerge fromBenjamin Peterson2008-07-312-5/+45
| | | | | | | | | | | 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. ........
* Blocked revisions 65318 via svnmergeBenjamin Peterson2008-07-300-0/+0
| | | | | | | | ........ r65318 | benjamin.peterson | 2008-07-30 18:49:28 -0500 (Wed, 30 Jul 2008) | 1 line I mess up again; BufferError inherits StandardError ........
* Blocked revisions 65312 via svnmergeBenjamin Peterson2008-07-300-0/+0
| | | | | | | | ........ r65312 | benjamin.peterson | 2008-07-30 14:35:27 -0500 (Wed, 30 Jul 2008) | 1 line add BufferError to the exception hieracrchy ........
* Blocked revisions 65310 via svnmergeBenjamin Peterson2008-07-300-0/+0
| | | | | | | | ........ r65310 | benjamin.peterson | 2008-07-30 12:45:10 -0500 (Wed, 30 Jul 2008) | 1 line backport r64751 ........
* Fix-up recipe with a syntax error (as discussed on python-dev).Raymond Hettinger2008-07-301-1/+2
|
* Neaten-up the itertools recipes.Raymond Hettinger2008-07-302-12/+8
|
* a much cleaner fix from AntoineBenjamin Peterson2008-07-291-4/+2
|
* uhh. __builtins__ is a module in __main__ and a dict elsewhereBenjamin Peterson2008-07-291-1/+4
|
* make sure doctest doesn't pollute __builtins__Benjamin Peterson2008-07-291-0/+1
| | | | | This was causing test_builtin to fail after the decimal doctests were run see #3462
* Blocked revisions 65266 via svnmergeBenjamin Peterson2008-07-280-0/+0
| | | | | | | | ........ r65266 | benjamin.peterson | 2008-07-28 18:35:27 -0500 (Mon, 28 Jul 2008) | 1 line backport r65264 ........
* #2523: binary buffered reading is quadraticAntoine Pitrou2008-07-282-30/+64
|