diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-05-22 13:37:56 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-05-22 13:37:56 (GMT) |
commit | 7df55dad3bd130992f5d978e8baf1119a7f2090b (patch) | |
tree | 977dc8c6e618ffdc1fb9a3ba67409b644217297b /Misc | |
parent | 54d2898ef85271f8fba369826469c16d59267a1a (diff) | |
download | cpython-7df55dad3bd130992f5d978e8baf1119a7f2090b.zip cpython-7df55dad3bd130992f5d978e8baf1119a7f2090b.tar.gz cpython-7df55dad3bd130992f5d978e8baf1119a7f2090b.tar.bz2 |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -31,8 +31,9 @@ Library - Issue #3924: Ignore cookies with invalid "version" field in cookielib. -- Issue #6268: Fix seek() method of codecs.open(), don't read the BOM twice - after seek(0) +- Issue #6268: Fix seek() method of codecs.open(), don't read or write the BOM + twice after seek(0). Fix also reset() method of codecs, UTF-16, UTF-32 and + StreamWriter classes. - Issue #5640: Fix Shift-JIS incremental encoder for error handlers different than strict |