commit | 22d9ee7e177bb0fcb514e898daaec98907ebde0c | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Sat Dec 28 10:33:58 2013 -0600 |
committer | Benjamin Peterson <benjamin@python.org> | Sat Dec 28 10:33:58 2013 -0600 |
tree | 054e2d5107f7c9a230c723ac130e32b5e1ed0602 | |
parent | 63cc99d9a6cf4751bd75b6bc32416fdb3a98440b [diff] [blame] |
complain if the codec doesn't return unicode
diff --git a/Misc/NEWS b/Misc/NEWS index fe793e8..7fff780 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -9,6 +9,9 @@ Core and Builtins ----------------- +- Raise a better error when non-unicode codecs are used for a file's coding + cookie. + - Issue #17976: Fixed potential problem with file.write() not detecting IO error by inspecting the return value of fwrite(). Based on patches by Jaakko Moisio and Victor Stinner.