diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-05-22 16:59:09 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-05-22 16:59:09 (GMT) |
commit | a92ad7ee2cfd4e81c22a7715aa0278196d9da664 (patch) | |
tree | b56c15ee389d4409a703614122260378cc07468a /Misc | |
parent | fff532bef328f78ac149123845b1962d9ca5ba59 (diff) | |
download | cpython-a92ad7ee2cfd4e81c22a7715aa0278196d9da664.zip cpython-a92ad7ee2cfd4e81c22a7715aa0278196d9da664.tar.gz cpython-a92ad7ee2cfd4e81c22a7715aa0278196d9da664.tar.bz2 |
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
........
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -393,8 +393,9 @@ C-API Library ------- -- 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 #3798: sys.exit(message) writes the message to sys.stderr file, instead of the C file stderr, to use stderr encoding and error handler |