Mercurial > cpython-lru_cache-weakref
diff Python/getcompiler.c @ 87261:0d9624f2ff43
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.
| author | Serhiy Storchaka <storchaka@gmail.com> |
|---|---|
| date | Tue, 19 Nov 2013 11:32:41 +0200 |
| parents | 4306107b1395 |
| children |
