diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-03-18 14:47:41 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-03-18 14:47:41 (GMT) |
commit | 081dfee4f154f4dfd11a3cf14516340f385049bd (patch) | |
tree | 2b4fd8b8827acc861ee7e6ecbd6f39bd3a4bdaea /Misc | |
parent | ecdfd513a2a506f70c4d5aa0f3d39b9323f91e6e (diff) | |
download | cpython-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')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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'. |