1. 27 Dec, 2008 13 commits
    • Benjamin Peterson's avatar
      fix syntax · d148630e
      Benjamin Peterson authored
      d148630e
    • Benjamin Peterson's avatar
      Merged revisions... · 9203501b
      Benjamin Peterson authored
      Merged revisions 67889-67892,67895,67898,67904-67907,67912,67918,67920-67921,67923-67924,67926-67927,67930,67943 via svnmerge from
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ................
        r67889 | benjamin.peterson | 2008-12-20 19:04:32 -0600 (Sat, 20 Dec 2008) | 1 line
      
        sphinx.web is long gone
      ................
        r67890 | benjamin.peterson | 2008-12-20 19:12:26 -0600 (Sat, 20 Dec 2008) | 1 line
      
        update readme
      ................
        r67891 | benjamin.peterson | 2008-12-20 19:14:47 -0600 (Sat, 20 Dec 2008) | 1 line
      
        there are way too many places which need to have the current version added
      ................
        r67892 | benjamin.peterson | 2008-12-20 19:29:32 -0600 (Sat, 20 Dec 2008) | 9 lines
      
        Merged revisions 67809 via svnmerge from
        svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
      
        ........
          r67809 | benjamin.peterson | 2008-12-15 21:54:45 -0600 (Mon, 15 Dec 2008) | 1 line
      
          fix logic error
        ........
      ................
        r67895 | neal.norwitz | 2008-12-21 08:28:32 -0600 (Sun, 21 Dec 2008) | 2 lines
      
        Add Tarek for work on distutils.
      ................
        r67898 | benjamin.peterson | 2008-12-21 15:00:53 -0600 (Sun, 21 Dec 2008) | 1 line
      
        compute DISTVERSION with patchlevel.py
      ................
        r67904 | benjamin.peterson | 2008-12-22 14:44:58 -0600 (Mon, 22 Dec 2008) | 1 line
      
        less attitude
      ................
        r67905 | benjamin.peterson | 2008-12-22 14:51:15 -0600 (Mon, 22 Dec 2008) | 1 line
      
        fix #4720: the format to PyArg_ParseTupleAndKeywords can now start with '|'
      ................
        r67906 | benjamin.peterson | 2008-12-22 14:52:53 -0600 (Mon, 22 Dec 2008) | 1 line
      
        add NEWS note
      ................
        r67907 | benjamin.peterson | 2008-12-22 16:12:19 -0600 (Mon, 22 Dec 2008) | 1 line
      
        silence compiler warning
      ................
        r67912 | georg.brandl | 2008-12-23 06:37:21 -0600 (Tue, 23 Dec 2008) | 2 lines
      
        Fix missing "svn" command.
      ................
        r67918 | georg.brandl | 2008-12-23 09:44:25 -0600 (Tue, 23 Dec 2008) | 2 lines
      
        Markup fix.
      ................
        r67920 | benjamin.peterson | 2008-12-23 14:09:28 -0600 (Tue, 23 Dec 2008) | 1 line
      
        use a global variable, so the compiler doesn't optimize the assignment out
      ................
        r67921 | benjamin.peterson | 2008-12-23 14:12:33 -0600 (Tue, 23 Dec 2008) | 1 line
      
        make global static
      ................
        r67923 | benjamin.peterson | 2008-12-24 09:10:27 -0600 (Wed, 24 Dec 2008) | 1 line
      
        #4736 BufferRWPair.closed shouldn't try to call another property as a function
      ................
        r67924 | benjamin.peterson | 2008-12-24 10:10:05 -0600 (Wed, 24 Dec 2008) | 1 line
      
        pretend exceptions don't exist a while longer
      ................
        r67926 | tarek.ziade | 2008-12-24 13:10:05 -0600 (Wed, 24 Dec 2008) | 1 line
      
        fixed #4400 : distutils .pypirc default generated file was broken.
      ................
        r67927 | benjamin.peterson | 2008-12-26 17:26:30 -0600 (Fri, 26 Dec 2008) | 1 line
      
        python version is included in file name now
      ................
        r67930 | hirokazu.yamamoto | 2008-12-26 22:19:48 -0600 (Fri, 26 Dec 2008) | 2 lines
      
        Issue #4740: Use HIGHEST_PROTOCOL in pickle test.
        (There is no behavior difference in 2.x because HIGHEST_PROTOCOL == 2)
      ................
        r67943 | alexandre.vassalotti | 2008-12-27 04:02:59 -0600 (Sat, 27 Dec 2008) | 2 lines
      
        Fix bogus unicode tests in pickletester.
      ................
      9203501b
    • Antoine Pitrou's avatar
      Merged revisions 67946 via svnmerge from · db5fe667
      Antoine Pitrou authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r67946 | antoine.pitrou | 2008-12-27 16:43:12 +0100 (sam., 27 déc. 2008) | 4 lines
      
        Issue #4756: zipfile.is_zipfile() now supports file-like objects.
        Patch by Gabriel Genellina.
      ........
      db5fe667
    • Hirokazu Yamamoto's avatar
      Fixed incompatible pointer warning. · d88e8fab
      Hirokazu Yamamoto authored
      d88e8fab
    • Alexandre Vassalotti's avatar
      Blocked revisions 67934-67935 via svnmerge · 0c6225f0
      Alexandre Vassalotti authored
      ........
        r67934 | alexandre.vassalotti | 2008-12-27 02:08:47 -0500 (Sat, 27 Dec 2008) | 4 lines
      
        Fix issue #4730: cPickle corrupts high-unicode strings.
        Update outdated copy of PyUnicode_EncodeRawUnicodeEscape.
        Add a test case.
      ........
        r67935 | alexandre.vassalotti | 2008-12-27 02:13:01 -0500 (Sat, 27 Dec 2008) | 2 lines
      
        Add Misc/NEWS entry for r67934.
      ........
      0c6225f0
    • Alexandre Vassalotti's avatar
      Fix bogus assertion. · bad1b921
      Alexandre Vassalotti authored
      bad1b921
    • Alexandre Vassalotti's avatar
      Fix issue #4374: Pickle tests fail w/o _pickle extension. · 3cfcab95
      Alexandre Vassalotti authored
      Add an initialization check to mimic the interface of _pickle.
      3cfcab95
    • Alexandre Vassalotti's avatar
      Optimize built-in unicode codecs by avoiding unnecessary copying. · 44531cb2
      Alexandre Vassalotti authored
      The approach used is similiar to what is currently used in the version
      of unicodeobject.c in Python 2.x. The only difference is we use
      _PyBytes_Resize instead of _PyString_Resize.
      44531cb2
    • Alexandre Vassalotti's avatar
      Fix wrong bytes type conversion in PyUnicode_AsUnicodeEscapeString. · 9cb6f7f7
      Alexandre Vassalotti authored
      Fix wrong bytes type conversion in PyUnicode_AsUnicodeDecodeString.
      9cb6f7f7
    • Alexandre Vassalotti's avatar
      Update copy of PyUnicode_EncodeRawUnicodeEscape in _pickle. · 554d878b
      Alexandre Vassalotti authored
      Add astral character test case.
      554d878b
    • Alexandre Vassalotti's avatar
      Merged revisions 67932 via svnmerge from · aa0e531e
      Alexandre Vassalotti authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r67932 | alexandre.vassalotti | 2008-12-27 01:36:10 -0500 (Sat, 27 Dec 2008) | 5 lines
      
        Remove unnecessary casts related to unicode_decode_call_errorhandler.
        Make the _PyUnicode_Resize macro a static function.
      
        These changes are needed to avoid breaking strict aliasing rules.
      ........
      aa0e531e
    • Hirokazu Yamamoto's avatar
      Issue #4740: Use HIGHEST_PROTOCOL in pickle test. This enables test for protocol 3 · 801f9d38
      Hirokazu Yamamoto authored
      (== HIGHEST_PROTOCOL in 3.x)
      801f9d38
    • Benjamin Peterson's avatar
      string -> bytes in error message #4745 · 81d90a22
      Benjamin Peterson authored
      81d90a22
  2. 24 Dec, 2008 1 commit
  3. 23 Dec, 2008 1 commit
  4. 22 Dec, 2008 1 commit
  5. 21 Dec, 2008 2 commits
    • Benjamin Peterson's avatar
      Merged revisions 67885 via svnmerge from · 6e43fb14
      Benjamin Peterson authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r67885 | benjamin.peterson | 2008-12-20 17:48:54 -0600 (Sat, 20 Dec 2008) | 1 line
      
        silence annoying DeprecationWarning
      ........
      6e43fb14
    • Benjamin Peterson's avatar
      Merged revisions... · 6ebe78f5
      Benjamin Peterson authored
      Merged revisions 67654,67676-67677,67681,67692,67725,67761,67784-67785,67787-67788,67802,67848-67850,67862-67864,67880,67882 via svnmerge from
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r67654 | georg.brandl | 2008-12-07 16:42:09 -0600 (Sun, 07 Dec 2008) | 2 lines
      
        #4457: rewrite __import__() documentation.
      ........
        r67676 | benjamin.peterson | 2008-12-08 20:03:03 -0600 (Mon, 08 Dec 2008) | 1 line
      
        specify how things are copied
      ........
        r67677 | benjamin.peterson | 2008-12-08 20:05:11 -0600 (Mon, 08 Dec 2008) | 1 line
      
        revert unrelated change to installer script
      ........
        r67681 | jeremy.hylton | 2008-12-09 15:03:10 -0600 (Tue, 09 Dec 2008) | 2 lines
      
        Add simple unittests for Request
      ........
        r67692 | amaury.forgeotdarc | 2008-12-10 18:03:42 -0600 (Wed, 10 Dec 2008) | 2 lines
      
        #1030250: correctly pass the dry_run option to the mkpath() function.
      ........
        r67725 | benjamin.peterson | 2008-12-12 22:02:20 -0600 (Fri, 12 Dec 2008) | 1 line
      
        fix incorrect example
      ........
        r67761 | benjamin.peterson | 2008-12-14 11:26:04 -0600 (Sun, 14 Dec 2008) | 1 line
      
        fix missing bracket
      ........
        r67784 | georg.brandl | 2008-12-15 02:33:58 -0600 (Mon, 15 Dec 2008) | 2 lines
      
        #4446: document "platforms" argument for setup().
      ........
        r67785 | georg.brandl | 2008-12-15 02:36:11 -0600 (Mon, 15 Dec 2008) | 2 lines
      
        #4611: fix typo.
      ........
        r67787 | georg.brandl | 2008-12-15 02:58:59 -0600 (Mon, 15 Dec 2008) | 2 lines
      
        #4578: fix has_key() usage in compiler package.
      ........
        r67788 | georg.brandl | 2008-12-15 03:07:39 -0600 (Mon, 15 Dec 2008) | 2 lines
      
        #4568: remove limitation in varargs callback example.
      ........
        r67802 | amaury.forgeotdarc | 2008-12-15 16:29:14 -0600 (Mon, 15 Dec 2008) | 4 lines
      
        #3632: the "pyo" macro from gdbinit can now run when the GIL is released.
      
        Patch by haypo.
      ........
        r67848 | benjamin.peterson | 2008-12-18 20:28:56 -0600 (Thu, 18 Dec 2008) | 1 line
      
        fix typo
      ........
        r67849 | benjamin.peterson | 2008-12-18 20:31:35 -0600 (Thu, 18 Dec 2008) | 1 line
      
        _call_method -> _callmethod and _get_value to _getvalue
      ........
        r67850 | raymond.hettinger | 2008-12-19 03:06:07 -0600 (Fri, 19 Dec 2008) | 9 lines
      
        Fix-up and clean-up docs for int.bit_length().
      
        * Replace dramatic footnote with in-line comment about possible round-off errors in logarithms of large numbers.
        * Add comments to the pure python code equivalent.
        * replace floor() with int() in the mathematical equivalent so the type is correct (should be an int, not a float).
        * add abs() to the mathematical equivalent so that it matches the previous line that it is supposed to be equivalent to.
        * make one combined example with a negative input.
      ........
        r67862 | benjamin.peterson | 2008-12-19 20:48:02 -0600 (Fri, 19 Dec 2008) | 1 line
      
        copy sentence from docstring
      ........
        r67863 | benjamin.peterson | 2008-12-19 20:51:26 -0600 (Fri, 19 Dec 2008) | 1 line
      
        add headings
      ........
        r67864 | benjamin.peterson | 2008-12-19 20:57:19 -0600 (Fri, 19 Dec 2008) | 1 line
      
        beef up docstring
      ........
        r67880 | benjamin.peterson | 2008-12-20 16:49:24 -0600 (Sat, 20 Dec 2008) | 1 line
      
        remove redundant sentence
      ........
        r67882 | benjamin.peterson | 2008-12-20 16:59:49 -0600 (Sat, 20 Dec 2008) | 1 line
      
        add some recent releases to the list
      ........
      6ebe78f5
  6. 20 Dec, 2008 4 commits
  7. 19 Dec, 2008 3 commits
  8. 18 Dec, 2008 5 commits
  9. 17 Dec, 2008 3 commits
  10. 16 Dec, 2008 2 commits
    • Antoine Pitrou's avatar
    • Benjamin Peterson's avatar
      Merged revisions 67806 via svnmerge from · 0b24b3d9
      Benjamin Peterson authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ................
        r67806 | benjamin.peterson | 2008-12-15 21:35:28 -0600 (Mon, 15 Dec 2008) | 111 lines
      
        Merged revisions 67427,67431,67433,67435,67630,67652,67656-67657,67674-67675,67678-67679,67705-67706,67716,67723,67765-67771,67774,67776,67778 via svnmerge from
        svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
      
        ........
          r67427 | benjamin.peterson | 2008-11-28 16:07:41 -0600 (Fri, 28 Nov 2008) | 1 line
      
          fix spelling in comment
        ........
          r67431 | benjamin.peterson | 2008-11-28 17:14:08 -0600 (Fri, 28 Nov 2008) | 1 line
      
          add a scripts directory; move things to it
        ........
          r67433 | benjamin.peterson | 2008-11-28 17:18:48 -0600 (Fri, 28 Nov 2008) | 1 line
      
          run svneol.py
        ........
          r67435 | benjamin.peterson | 2008-11-28 17:25:03 -0600 (Fri, 28 Nov 2008) | 1 line
      
          rename pre/post_order_mapping to pre/post_order_heads
        ........
          r67630 | alexandre.vassalotti | 2008-12-06 21:51:56 -0600 (Sat, 06 Dec 2008) | 2 lines
      
          Fix typo in the urllib2.HTTPDigestAuthHandler fixer.
        ........
          r67652 | armin.ronacher | 2008-12-07 15:39:43 -0600 (Sun, 07 Dec 2008) | 5 lines
      
          Added a fixer that cleans up a tuple argument to isinstance after the tokens
          in it were fixed.  This is mainly used to remove double occurrences of
          tokens as a leftover of the long -> int / unicode -> str conversion.
        ........
          r67656 | armin.ronacher | 2008-12-07 16:54:16 -0600 (Sun, 07 Dec 2008) | 3 lines
      
          Added missing copyright fo 2to3 fix_isinstance.
        ........
          r67657 | armin.ronacher | 2008-12-07 18:29:35 -0600 (Sun, 07 Dec 2008) | 3 lines
      
          2to3: intern and reduce fixes now add the imports if missing.  Because that is a common task the fixer_util module now has a function "touch_import" that adds imports if missing.
        ........
          r67674 | benjamin.peterson | 2008-12-08 19:58:11 -0600 (Mon, 08 Dec 2008) | 1 line
      
          copy permission bits when making backup files #4602
        ........
          r67675 | benjamin.peterson | 2008-12-08 19:59:11 -0600 (Mon, 08 Dec 2008) | 1 line
      
          add forgotten import
        ........
          r67678 | benjamin.peterson | 2008-12-08 20:08:30 -0600 (Mon, 08 Dec 2008) | 1 line
      
          fix #4602 for real
        ........
          r67679 | armin.ronacher | 2008-12-09 00:54:03 -0600 (Tue, 09 Dec 2008) | 3 lines
      
          Removed redudant code from the 2to3 long fixer.  This fixes #4590.
        ........
          r67705 | benjamin.peterson | 2008-12-11 13:04:08 -0600 (Thu, 11 Dec 2008) | 1 line
      
          put trailers after a range call after the list()
        ........
          r67706 | benjamin.peterson | 2008-12-11 13:17:57 -0600 (Thu, 11 Dec 2008) | 1 line
      
          add html related modules to the fix_imports mapping
        ........
          r67716 | benjamin.peterson | 2008-12-11 22:16:47 -0600 (Thu, 11 Dec 2008) | 1 line
      
          consolidate tests
        ........
          r67723 | benjamin.peterson | 2008-12-12 19:49:31 -0600 (Fri, 12 Dec 2008) | 1 line
      
          fix name
        ........
          r67765 | benjamin.peterson | 2008-12-14 14:05:05 -0600 (Sun, 14 Dec 2008) | 1 line
      
          run fix_isinstance after fix_long and fix_unicode
        ........
          r67766 | benjamin.peterson | 2008-12-14 14:13:05 -0600 (Sun, 14 Dec 2008) | 1 line
      
          use run_order instead of order
        ........
          r67767 | benjamin.peterson | 2008-12-14 14:28:12 -0600 (Sun, 14 Dec 2008) | 1 line
      
          don't retain parenthesis if there is only one item left
        ........
          r67768 | benjamin.peterson | 2008-12-14 14:32:30 -0600 (Sun, 14 Dec 2008) | 1 line
      
          use insert_child()
        ........
          r67769 | benjamin.peterson | 2008-12-14 14:59:10 -0600 (Sun, 14 Dec 2008) | 1 line
      
          parenthesize doesn't belong in pygram or FixerBase
        ........
          r67770 | alexandre.vassalotti | 2008-12-14 15:15:36 -0600 (Sun, 14 Dec 2008) | 2 lines
      
          Fix typo: html.paser -> html.parser.
        ........
          r67771 | benjamin.peterson | 2008-12-14 15:22:09 -0600 (Sun, 14 Dec 2008) | 1 line
      
          altering .children needs to call changed()
        ........
          r67774 | benjamin.peterson | 2008-12-14 15:55:38 -0600 (Sun, 14 Dec 2008) | 1 line
      
          employ an evil hack to fix multiple names in the same import statement
        ........
          r67776 | benjamin.peterson | 2008-12-14 16:22:38 -0600 (Sun, 14 Dec 2008) | 1 line
      
          make a common mixin class for Test_imports and friends
        ........
          r67778 | alexandre.vassalotti | 2008-12-14 17:48:20 -0600 (Sun, 14 Dec 2008) | 2 lines
      
          Make fix_imports refactor multiple imports as.
        ........
      ................
      0b24b3d9
  11. 15 Dec, 2008 5 commits