]> granicus.if.org Git - python/commit
Issue #6268: More bugfixes about BOM, UTF-16 and UTF-32
authorVictor Stinner <victor.stinner@haypocalc.com>
Sat, 22 May 2010 13:37:56 +0000 (13:37 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Sat, 22 May 2010 13:37:56 +0000 (13:37 +0000)
commit7df55dad3bd130992f5d978e8baf1119a7f2090b
tree977dc8c6e618ffdc1fb9a3ba67409b644217297b
parent54d2898ef85271f8fba369826469c16d59267a1a
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.
Lib/codecs.py
Lib/encodings/utf_16.py
Lib/encodings/utf_32.py
Lib/test/test_codecs.py
Misc/NEWS