summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-07-04 21:26:43 (GMT)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-07-04 21:26:43 (GMT)
commita4db68622c585e1bb526ef89f5d5ccf602906110 (patch)
tree3c2f15bbc29fec0bd7d127d7e6e540fc626d6665 /Misc
parent142957ce952c067414df3503431ab36a91c9c40c (diff)
downloadcpython-a4db68622c585e1bb526ef89f5d5ccf602906110.zip
cpython-a4db68622c585e1bb526ef89f5d5ccf602906110.tar.gz
cpython-a4db68622c585e1bb526ef89f5d5ccf602906110.tar.bz2
Issue #3280: like chr() already does, the "%c" format now accepts the full unicode range
even on "narrow Unicode" builds; the result is a pair of UTF-16 surrogates.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 76e9552..4024991 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,11 @@ What's new in Python 3.0b2?
Core and Builtins
-----------------
+- Issue #3280: like chr(), the "%c" format now accepts unicode code points
+ beyond the Basic Multilingual Plane (above 0xffff) on all configurations. On
+ "narrow Unicode" builds, the result is a string of 2 code units, forming a
+ UTF-16 surrogate pair.
+
- Issue #3282: str.isprintable() should return False for undefined
Unicode characters.