]> granicus.if.org Git - python/commit
Issue 4474: On platforms with sizeof(wchar_t) == 4 and
authorMark Dickinson <dickinsm@gmail.com>
Wed, 18 Mar 2009 16:07:26 +0000 (16:07 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Wed, 18 Mar 2009 16:07:26 +0000 (16:07 +0000)
commit6b265f1bf875762ba871028056613d1dd7ab6e11
tree8910d66c857741a18cbf92993b563a9a6476c1e2
parenteb15863a97a6b9d95c8b2c7ad13125c6a2c7c67e
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.

(backport of r70452 from py3k to trunk)
Misc/NEWS
Modules/_testcapimodule.c
Objects/unicodeobject.c