diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-05-20 11:29:45 +0000 |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-05-20 11:29:45 +0000 |
commit | b1556c537d7c49978fa40594a9c9f40c6f88cdde (patch) | |
tree | dee0eb7ce8283451d3e407ce1b299094e93acafd /Python/sysmodule.c | |
parent | 8f692275e9c2cd4e5f7959328f6f9da8538ffe9e (diff) | |
download | cpython-git-b1556c537d7c49978fa40594a9c9f40c6f88cdde.tar.gz |
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)
Diffstat (limited to 'Python/sysmodule.c')
0 files changed, 0 insertions, 0 deletions