summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-11-19 11:32:41 +0200
committerSerhiy Storchaka <storchaka@gmail.com>2013-11-19 11:32:41 +0200
commitc1c39389d8a80767e05f84820e28caf528ba0f81 (patch)
tree6518ca8e2ef488b2f64999fbc013e4f95ab4fb05 /Python/pythonrun.c
parent6cb333aab2f849df8bfdeadf153b978d0efcc5cf (diff)
downloadcpython-c1c39389d8a80767e05f84820e28caf528ba0f81.tar.gz
Issue #12892: The utf-16* and utf-32* codecs now reject (lone) surrogates.
The utf-16* and utf-32* encoders no longer allow surrogate code points (U+D800-U+DFFF) to be encoded. The utf-32* decoders no longer decode byte sequences that correspond to surrogate code points. The surrogatepass error handler now works with the utf-16* and utf-32* codecs. Based on patches by Victor Stinner and Kang-Hao (Kenny) Lu.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions