1. 22 May, 2010 1 kayıt (commit)
    • Victor Stinner's avatar
      Merged revisions 81474 via svnmerge from · b64d0eba
      Victor Stinner yazdı
      svn+ssh://pythondev@svn.python.org/python/branches/py3k
      
      ................
        r81474 | victor.stinner | 2010-05-22 18:59:09 +0200 (sam., 22 mai 2010) | 20 lines
      
        Merged revisions 81471-81472 via svnmerge from
        svn+ssh://pythondev@svn.python.org/python/trunk
      
        ........
          r81471 | victor.stinner | 2010-05-22 15:37:56 +0200 (sam., 22 mai 2010) | 7 lines
      
          Issue #6268: More bugfixes about BOM, UTF-16 and UTF-32
      
           * Fix seek() method of codecs.open(), don't write the BOM twice after seek(0)
           * Fix reset() method of codecs, UTF-16, UTF-32 and StreamWriter classes
           * test_codecs: use "w+" mode instead of "wt+". "t" mode is not supported by
             Solaris or Windows, but does it really exist? I found it the in the issue.
        ........
          r81472 | victor.stinner | 2010-05-22 15:44:25 +0200 (sam., 22 mai 2010) | 4 lines
      
          Fix my last commit (r81471) about codecs
      
          Rememder: don't touch the code just before a commit
        ........
      ................
      b64d0eba
  2. 30 Agu, 2007 1 kayıt (commit)
  3. 16 Nis, 2007 1 kayıt (commit)
  4. 21 Nis, 2006 1 kayıt (commit)
    • Thomas Wouters's avatar
      Merge part of the trunk changes into the p3yk branch. This merges from 43030 · a977329b
      Thomas Wouters yazdı
      (branch-creation time) up to 43067. 43068 and 43069 contain a little
      swapping action between re.py and sre.py, and this mightily confuses svn
      merge, so later changes are going in separately.
      
      This merge should break no additional tests.
      
      The last-merged revision is going in a 'last_merge' property on '.' (the
      branch directory.) Arbitrarily chosen, really; if there's a BCP for this, I
      couldn't find it, but we can easily change it afterwards ;)
      a977329b
  5. 14 Mar, 2005 1 kayıt (commit)
  6. 07 Eyl, 2004 1 kayıt (commit)
    • Walter Dörwald's avatar
      SF patch #998993: The UTF-8 and the UTF-16 stateful decoders now support · 69652035
      Walter Dörwald yazdı
      decoding incomplete input (when the input stream is temporarily exhausted).
      codecs.StreamReader now implements buffering, which enables proper
      readline support for the UTF-16 decoders. codecs.StreamReader.read()
      has a new argument chars which specifies the number of characters to
      return. codecs.StreamReader.readline() and codecs.StreamReader.readlines()
      have a new argument keepends. Trailing "\n"s will be stripped from the lines
      if keepends is false. Added C APIs PyUnicode_DecodeUTF8Stateful and
      PyUnicode_DecodeUTF16Stateful.
      69652035
  7. 08 Agu, 2002 1 kayıt (commit)
  8. 05 Nis, 2002 1 kayıt (commit)
  9. 19 Haz, 2001 1 kayıt (commit)
    • Marc-André Lemburg's avatar
      This patch by Martin v. Loewis changes the UTF-16 codec to only · 92b550cd
      Marc-André Lemburg yazdı
      write a BOM at the start of the stream and also to only read it as
      BOM at the start of a stream.
      
      Subsequent reading/writing of BOMs will read/write the BOM as ZWNBSP
      character. This is in sync with the Unicode specifications.
      
      Note that UTF-16 files will now *have* to start with a BOM mark
      in order to be readable by the codec.
      92b550cd
  10. 10 Mar, 2000 1 kayıt (commit)