1. 03 Jan, 2009 3 commits
    • Antoine Pitrou's avatar
      Issue #4580: slicing of memoryviews when itemsize != 1 is wrong. · c3b39245
      Antoine Pitrou authored
      Also fix len() to return number of items rather than length in bytes.
      
      I'm sorry it was not possible for me to work on this without reindenting
      a bit some stuff around. The indentation in memoryobject.c is a mess,
      I'll open a separate bug for it.
      c3b39245
    • Benjamin Peterson's avatar
      Merged revisions 68197 via svnmerge from · 8bcddcab
      Benjamin Peterson authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ................
        r68197 | benjamin.peterson | 2009-01-03 10:34:02 -0600 (Sat, 03 Jan 2009) | 55 lines
      
        Merged revisions 67900-67901,67919,67928,67984,67991-67993,68106-68108,68110 via svnmerge from
        svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
      
        ........
          r67900 | benjamin.peterson | 2008-12-22 14:02:45 -0600 (Mon, 22 Dec 2008) | 4 lines
      
          fix_execfile: wrap the open(fn).read() call in compile(), so the filename is preserved
      
          also add unittests for the fixer
        ........
          r67901 | benjamin.peterson | 2008-12-22 14:09:55 -0600 (Mon, 22 Dec 2008) | 1 line
      
          remove unused import
        ........
          r67919 | benjamin.peterson | 2008-12-23 13:12:22 -0600 (Tue, 23 Dec 2008) | 1 line
      
          copy permission bits from the backup to the original
        ........
          r67928 | benjamin.peterson | 2008-12-26 20:49:30 -0600 (Fri, 26 Dec 2008) | 1 line
      
          don't be so idiot about multiple local imports in fix_import; still won't handle absolute and local imports on the same line
        ........
          r67984 | benjamin.peterson | 2008-12-28 09:55:16 -0600 (Sun, 28 Dec 2008) | 1 line
      
          don't need loop
        ........
          r67991 | benjamin.peterson | 2008-12-28 14:30:26 -0600 (Sun, 28 Dec 2008) | 1 line
      
          actually call finish_tree()
        ........
          r67992 | benjamin.peterson | 2008-12-28 14:34:47 -0600 (Sun, 28 Dec 2008) | 1 line
      
          remove useless test
        ........
          r67993 | benjamin.peterson | 2008-12-28 15:04:32 -0600 (Sun, 28 Dec 2008) | 1 line
      
          update pyk3's test grammar
        ........
          r68106 | benjamin.peterson | 2008-12-31 11:53:58 -0600 (Wed, 31 Dec 2008) | 1 line
      
          #2734 don't convert every instance of long (eg if it's an attribute)
        ........
          r68107 | benjamin.peterson | 2008-12-31 11:55:10 -0600 (Wed, 31 Dec 2008) | 1 line
      
          add another test
        ........
          r68108 | benjamin.peterson | 2008-12-31 12:00:12 -0600 (Wed, 31 Dec 2008) | 1 line
      
          don't change long even if it's the only argument name
        ........
          r68110 | benjamin.peterson | 2008-12-31 14:13:26 -0600 (Wed, 31 Dec 2008) | 1 line
      
          remove unused import
        ........
      ................
      8bcddcab
    • Mark Dickinson's avatar
      Merged revisions 68191 via svnmerge from · 627cf6a9
      Mark Dickinson authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r68191 | mark.dickinson | 2009-01-03 12:07:20 +0000 (Sat, 03 Jan 2009) | 2 lines
      
        Issue #4812:  further renaming of internal Decimal constants, for clarity.
      ........
      627cf6a9
  2. 02 Jan, 2009 10 commits
  3. 01 Jan, 2009 9 commits
    • Amaury Forgeot d'Arc's avatar
      #4747: on Windows, starting a module with a non-ascii filename would print a... · 374e220b
      Amaury Forgeot d'Arc authored
      #4747: on Windows, starting a module with a non-ascii filename would print a useless "SyntaxError: None"
      when the script contains a "# coding:" declaration.
      
      The Python API expects char* to be utf-8 encoded. wcstombs should be avoided here.
      
      Reviewed by Benjamin. Will backport to 3.0
      374e220b
    • Hirokazu Yamamoto's avatar
    • Hirokazu Yamamoto's avatar
      Merged revisions 68134 via svnmerge from · 0f22d69c
      Hirokazu Yamamoto authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r68134 | hirokazu.yamamoto | 2009-01-02 00:45:39 +0900 | 2 lines
      
        Issue #4797: IOError.filename was not set when _fileio.FileIO failed to open
        file with `str' filename on Windows.
      ........
      0f22d69c
    • Georg Brandl's avatar
      Blocked revisions 67955 via svnmerge · 646d9a20
      Georg Brandl authored
      ........
        r67955 | georg.brandl | 2008-12-27 19:27:53 +0100 (Sat, 27 Dec 2008) | 3 lines
      
        Follow-up to r67746 in order to restore backwards-compatibility for
        those who (monkey-)patch TextWrapper.wordsep_re with a custom RE.
      ........
      646d9a20
    • Georg Brandl's avatar
      Merged revisions 67953 via svnmerge from · db7b6b95
      Georg Brandl authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r67953 | georg.brandl | 2008-12-27 19:20:04 +0100 (Sat, 27 Dec 2008) | 3 lines
      
        Patch #4739 by David Laban: add symbols to pydoc help topics,
        so that ``help('@')`` works as expected.
      ........
      db7b6b95
    • Georg Brandl's avatar
      Blocked revisions 67967,67980 via svnmerge · bce3977b
      Georg Brandl authored
      ........
        r67967 | benjamin.peterson | 2008-12-27 23:18:58 +0100 (Sat, 27 Dec 2008) | 1 line
      
        fix markup
      ........
        r67980 | antoine.pitrou | 2008-12-28 15:24:29 +0100 (Sun, 28 Dec 2008) | 1 line
      
        wrong version number in doc changes committed in r67979
      ........
      bce3977b
    • Antoine Pitrou's avatar
      Merged revisions 68128 via svnmerge from · 7ddda783
      Antoine Pitrou authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r68128 | antoine.pitrou | 2009-01-01 15:11:22 +0100 (jeu., 01 janv. 2009) | 3 lines
      
        Issue #3680: Reference cycles created through a dict, set or deque iterator did not get collected.
      ........
      7ddda783
    • Benjamin Peterson's avatar
      Merged revisions 68116-68119,68121,68123-68127 via svnmerge from · 75edad05
      Benjamin Peterson authored
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r68116 | georg.brandl | 2009-01-01 05:46:51 -0600 (Thu, 01 Jan 2009) | 2 lines
      
        #4100: note that element children are not necessarily present on "start" events.
      ........
        r68117 | georg.brandl | 2009-01-01 05:53:55 -0600 (Thu, 01 Jan 2009) | 2 lines
      
        #4156: make clear that "protocol" is to be replaced with the protocol name.
      ........
        r68118 | georg.brandl | 2009-01-01 06:00:19 -0600 (Thu, 01 Jan 2009) | 2 lines
      
        #4185: clarify escape behavior of replacement strings.
      ........
        r68119 | georg.brandl | 2009-01-01 06:09:40 -0600 (Thu, 01 Jan 2009) | 3 lines
      
        #4222: document dis.findlabels() and dis.findlinestarts() and
        put them into dis.__all__.
      ........
        r68121 | georg.brandl | 2009-01-01 06:43:33 -0600 (Thu, 01 Jan 2009) | 2 lines
      
        Point to types module in new module deprecation notice.
      ........
        r68123 | georg.brandl | 2009-01-01 06:52:29 -0600 (Thu, 01 Jan 2009) | 2 lines
      
        #4784: ... on three counts ...
      ........
        r68124 | georg.brandl | 2009-01-01 06:53:19 -0600 (Thu, 01 Jan 2009) | 2 lines
      
        #4782: Fix markup error that hid load() and loads().
      ........
        r68125 | georg.brandl | 2009-01-01 07:02:09 -0600 (Thu, 01 Jan 2009) | 2 lines
      
        #4776: add data_files and package_dir arguments.
      ........
        r68126 | georg.brandl | 2009-01-01 07:05:13 -0600 (Thu, 01 Jan 2009) | 2 lines
      
        Handlers are in the `logging.handlers` module.
      ........
        r68127 | georg.brandl | 2009-01-01 07:14:49 -0600 (Thu, 01 Jan 2009) | 2 lines
      
        #4767: Use correct submodules for all MIME classes.
      ........
      75edad05
    • Benjamin Peterson's avatar
      Merged revisions... · da10d3b7
      Benjamin Peterson authored
      Merged revisions 67952,67957-67958,67960-67961,67963,67973,67978,67995,68030,68057,68061 via svnmerge from
      svn+ssh://pythondev@svn.python.org/python/trunk
      
      ........
        r67952 | georg.brandl | 2008-12-27 11:42:40 -0600 (Sat, 27 Dec 2008) | 2 lines
      
        #4752: actually use custom handler in example.
      ........
        r67957 | georg.brandl | 2008-12-27 12:49:19 -0600 (Sat, 27 Dec 2008) | 2 lines
      
        #4754: improve winsound documentation.
      ........
        r67958 | georg.brandl | 2008-12-27 13:02:59 -0600 (Sat, 27 Dec 2008) | 2 lines
      
        #4682: 'b' is actually unsigned char.
      ........
        r67960 | georg.brandl | 2008-12-27 13:04:44 -0600 (Sat, 27 Dec 2008) | 2 lines
      
        #4695: fix backslashery.
      ........
        r67961 | georg.brandl | 2008-12-27 13:06:04 -0600 (Sat, 27 Dec 2008) | 2 lines
      
        Use :samp: role.
      ........
        r67963 | georg.brandl | 2008-12-27 13:11:15 -0600 (Sat, 27 Dec 2008) | 2 lines
      
        #4671: document that pydoc imports modules.
      ........
        r67973 | alexandre.vassalotti | 2008-12-27 20:58:22 -0600 (Sat, 27 Dec 2008) | 2 lines
      
        Document Py_VaBuildValue.
      ........
        r67978 | georg.brandl | 2008-12-28 05:58:49 -0600 (Sun, 28 Dec 2008) | 2 lines
      
        #4731: clarify message about missing module prerequisites.
      ........
        r67995 | benjamin.peterson | 2008-12-28 15:16:07 -0600 (Sun, 28 Dec 2008) | 1 line
      
        #4763 PyErr_ExceptionMatches won't blow up with NULL arguments
      ........
        r68030 | benjamin.peterson | 2008-12-29 15:38:14 -0600 (Mon, 29 Dec 2008) | 1 line
      
        fix French
      ........
        r68057 | vinay.sajip | 2008-12-30 01:01:25 -0600 (Tue, 30 Dec 2008) | 1 line
      
        Minor documentation change relating to NullHandler.
      ........
        r68061 | georg.brandl | 2008-12-30 04:15:49 -0600 (Tue, 30 Dec 2008) | 2 lines
      
        #4778: attributes can't be called.
      ........
      da10d3b7
  4. 31 Dec, 2008 6 commits
  5. 30 Dec, 2008 7 commits
  6. 29 Dec, 2008 5 commits