commit | b1556c537d7c49978fa40594a9c9f40c6f88cdde | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Thu May 20 11:29:45 2010 +0000 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Thu May 20 11:29:45 2010 +0000 |
tree | dee0eb7ce8283451d3e407ce1b299094e93acafd | |
parent | 8f692275e9c2cd4e5f7959328f6f9da8538ffe9e [diff] |
libpython.py: fix support of non-BMP unicode characters Forward port some code from Python3: * join surrogate pairs if sizeof(Py_UNICODE)==2 * Enable non-BMP test on narrow builds using u"\U0001D121" instead of unichr(0x1D121)