summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2010-02-25 17:51:33 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2010-02-25 17:51:33 (GMT)
commit85ddea7e69aa6892858df1a93d468608cedb93df (patch)
treebc744f554c760c7d09d8c64dc83f2582441d8fa2 /Misc
parent5a896788b62608104a04a73820216768de11188e (diff)
downloadcpython-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/NEWS5
1 files changed, 3 insertions, 2 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 4292d8d..33601a8 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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