]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Make the unicode-escape and the UTF-16 codecs handle surrogates
authorMarc-André Lemburg <mal@egenix.com>
Fri, 20 Jul 2001 17:39:11 +0000 (17:39 +0000)
committerMarc-André Lemburg <mal@egenix.com>
Fri, 20 Jul 2001 17:39:11 +0000 (17:39 +0000)
commit6c6bfb7c70d77b52354a6fd8c76de2cc641aa8fe
tree78df5b177cd555fcaef467117c6d04d1de021215
parent0d42e0c54a3b95aec4d4d12d1cd758438d645089
Make the unicode-escape and the UTF-16 codecs handle surrogates
correctly and thus roundtrip-safe.

Some minor cleanups of the code.

Added tests for the roundtrip-safety.
Lib/test/test_unicode.py
Objects/unicodeobject.c