1. 03 Aug, 2008 9 commits
    • Brett Cannon's avatar
      Blocked revisions 65444 via svnmerge · 68751a2c
      Brett Cannon authored
      ........
        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.
      ........
      68751a2c
    • Brett Cannon's avatar
      Blocked revisions 65442 via svnmerge · e5a9b80f
      Brett Cannon authored
      ........
        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=.
      ........
      e5a9b80f
    • Brett Cannon's avatar
      Blocked revisions 65440 via svnmerge · cc834497
      Brett Cannon authored
      ........
        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.
      ........
      cc834497
    • Brett Cannon's avatar
      Blocked revisions 65438 via svnmerge · 81bf9140
      Brett Cannon authored
      ........
        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.
      ........
      81bf9140
    • Georg Brandl's avatar
      Use version 3.0. · abecbf7f
      Georg Brandl authored
      abecbf7f
    • Georg Brandl's avatar
      Merged revisions 65378-65379,65430 via svnmerge from · 5b318c0e
      Georg Brandl authored
      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.
      ........
      5b318c0e
    • Georg Brandl's avatar
      Blocked revisions 65422 via svnmerge · cca483a7
      Georg Brandl authored
      ........
        r65422 | antoine.pitrou | 2008-08-02 23:58:05 +0200 (Sat, 02 Aug 2008) | 1 line
      
        Preemptively backport the relevant parts of r65420
      ........
      cca483a7
    • Brett Cannon's avatar
      Blocked revisions 65425 via svnmerge · 7f8d2a50
      Brett Cannon authored
      ........
        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.
      ........
      7f8d2a50
    • Brett Cannon's avatar
      Blocked revisions 65423 via svnmerge · 85e83fd3
      Brett Cannon authored
      ........
        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.
      ........
      85e83fd3
  2. 02 Aug, 2008 13 commits
  3. 01 Aug, 2008 12 commits
    • Georg Brandl's avatar
      Fix merge conflict. · ebd9af44
      Georg Brandl authored
      ebd9af44
    • Benjamin Peterson's avatar
      Blocked revisions 65355 via svnmerge · 33df74ae
      Benjamin Peterson authored
      ........
        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.
      ........
      33df74ae
    • Martin v. Löwis's avatar
      Merged revisions 65368 via svnmerge from · 4fe5ed8f
      Martin v. Löwis authored
      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.
      ........
      4fe5ed8f
    • Mark Dickinson's avatar
      Merged revisions 65366 via svnmerge from · 4aab7119
      Mark Dickinson authored
      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.
      ........
      4aab7119
    • Mark Dickinson's avatar
      Merged revisions 65258,65292,65299,65308-65309,65315,65326 via svnmerge from · aa7633ab
      Mark Dickinson authored
      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
      ........
      aa7633ab
    • Brett Cannon's avatar
      Blocked revisions 65353 via svnmerge · c57df323
      Brett Cannon authored
      ........
        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.
      ........
      c57df323
    • Brett Cannon's avatar
      Blocked revisions 65351 via svnmerge · 77256ec0
      Brett Cannon authored
      ........
        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.
      ........
      77256ec0
    • Brett Cannon's avatar
      Blocked revisions 65349 via svnmerge · e631d5e8
      Brett Cannon authored
      ........
        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.
      ........
      e631d5e8
    • Brett Cannon's avatar
      Blocked revisions 65346 via svnmerge · 87668303
      Brett Cannon authored
      ........
        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.
      ........
      87668303
    • Amaury Forgeot d'Arc's avatar
      Merged revisions 65339-65340,65342 via svnmerge from · 7888d080
      Amaury Forgeot d'Arc authored
      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.
      ........
      7888d080
    • Amaury Forgeot d'Arc's avatar
      posix.fdopen does not exists any more; and os.fdopen exists on all platforms. · e2e36ba6
      Amaury Forgeot d'Arc authored
      Move tests from test_posix to test_os.
      e2e36ba6
    • Amaury Forgeot d'Arc's avatar
      #2491: os.fdopen() is now almost an alias to the builtin open(), and accepts the same parameters. · bdbddf8a
      Amaury Forgeot d'Arc authored
      It just checks that the first argument is a file descriptor.
      bdbddf8a
  4. 31 Jul, 2008 6 commits
    • Amaury Forgeot d'Arc's avatar
      Correct one of the "MemoryError oddities": · e19cadb4
      Amaury Forgeot d'Arc authored
      the traceback would grow each time a MemoryError is raised.
      e19cadb4
    • Benjamin Peterson's avatar
      Merged revisions 65293 via svnmerge from · a986dfa9
      Benjamin Peterson authored
      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
      ........
      a986dfa9
    • Benjamin Peterson's avatar
      Merged revisions 65259,65263,65296,65307,65321 via svnmerge from · d18de0e2
      Benjamin Peterson authored
      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.
      ........
      d18de0e2
    • Benjamin Peterson's avatar
      Merged revisions 65257 via svnmerge from · f17ff4e1
      Benjamin Peterson authored
      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.
      ........
      f17ff4e1
    • Benjamin Peterson's avatar
      Merged revisions 65209-65216,65225-65226,65233,65239,65246-65247,65255-65256 via svnmerge from · d6313715
      Benjamin Peterson authored
      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.
      ........
      d6313715
    • Benjamin Peterson's avatar