diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2010-02-25 17:51:33 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2010-02-25 17:51:33 (GMT) |
commit | 85ddea7e69aa6892858df1a93d468608cedb93df (patch) | |
tree | bc744f554c760c7d09d8c64dc83f2582441d8fa2 /Misc | |
parent | 5a896788b62608104a04a73820216768de11188e (diff) | |
download | cpython-85ddea7e69aa6892858df1a93d468608cedb93df.zip cpython-85ddea7e69aa6892858df1a93d468608cedb93df.tar.gz cpython-85ddea7e69aa6892858df1a93d468608cedb93df.tar.bz2 |
Merged revisions 78449 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78449 | ezio.melotti | 2010-02-25 19:36:04 +0200 (Thu, 25 Feb 2010) | 1 line
#7649: "u'%c' % char" now behaves like "u'%s' % char" and raises a UnicodeDecodeError if 'char' is a byte string that can't be decoded using the default encoding.
........
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -16,8 +16,9 @@ Core and Builtins UnicodeEncodeError, UnicodeDecodeError, and UnicodeTranslateError to strings. -- Issue #7649: Fix u'%c' % char for character in range 0x80..0xFF, raise an - UnicodeDecodeError. +- Issue #7649: "u'%c' % char" now behaves like "u'%s' % char" and raises a + UnicodeDecodeError if 'char' is a byte string that can't be decoded using + the default encoding. - Issue #5677: Explicitly forbid write operations on read-only file objects, and read operations on write-only file objects. On Windows, the system C |