commit | 6b265f1bf875762ba871028056613d1dd7ab6e11 | [log] [tgz] |
---|---|---|
author | Mark Dickinson <dickinsm@gmail.com> | Wed Mar 18 16:07:26 2009 +0000 |
committer | Mark Dickinson <dickinsm@gmail.com> | Wed Mar 18 16:07:26 2009 +0000 |
tree | 8910d66c857741a18cbf92993b563a9a6476c1e2 | |
parent | eb15863a97a6b9d95c8b2c7ad13125c6a2c7c67e [diff] |
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)