summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-03-18 14:47:41 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-03-18 14:47:41 (GMT)
commit081dfee4f154f4dfd11a3cf14516340f385049bd (patch)
tree2b4fd8b8827acc861ee7e6ecbd6f39bd3a4bdaea /Misc/NEWS
parentecdfd513a2a506f70c4d5aa0f3d39b9323f91e6e (diff)
downloadcpython-081dfee4f154f4dfd11a3cf14516340f385049bd.zip
cpython-081dfee4f154f4dfd11a3cf14516340f385049bd.tar.gz
cpython-081dfee4f154f4dfd11a3cf14516340f385049bd.tar.bz2
Issue 4474: On platforms with sizeof(wchar_t) == 4 and
sizeof(Py_UNICODE) == 2, PyUnicode_FromWideChar now converts each character outside the BMP to the appropriate surrogate pair. Thanks Victor Stinner for the patch.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index e289c18..90b6091 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,10 @@ What's New in Python 3.1 alpha 2?
Core and Builtins
-----------------
+- Issue #4474: PyUnicode_FromWideChar now converts characters outside
+ the BMP to surrogate pairs, on systems with sizeof(wchar_t) == 4
+ and sizeof(Py_UNICODE) == 2.
+
- Issue #5237: Allow auto-numbered fields in str.format(). For
example: '{} {}'.format(1, 2) == '1 2'.