diff options
author | Marc-André Lemburg <mal@egenix.com> | 2002-02-07 11:33:49 (GMT) |
---|---|---|
committer | Marc-André Lemburg <mal@egenix.com> | 2002-02-07 11:33:49 (GMT) |
commit | bd3be8f0ca4fd70d53d9330489ba565f83530b3b (patch) | |
tree | 33762ec816df0a313706c6a919fbe3629751b0b5 /Lib/test/output | |
parent | 9273ec726c1ae9f151d12bc21a1ad96e7c225b77 (diff) | |
download | cpython-bd3be8f0ca4fd70d53d9330489ba565f83530b3b.zip cpython-bd3be8f0ca4fd70d53d9330489ba565f83530b3b.tar.gz cpython-bd3be8f0ca4fd70d53d9330489ba565f83530b3b.tar.bz2 |
Fix to the UTF-8 encoder: it failed on 0-length input strings.
Fix for the UTF-8 decoder: it will now accept isolated surrogates
(previously it raised an exception which causes round-trips to
fail).
Added new tests for UTF-8 round-trip safety (we rely on UTF-8 for
marshalling Unicode objects, so we better make sure it works for
all Unicode code points, including isolated surrogates).
Bumped the PYC magic in a non-standard way -- please review. This
was needed because the old PYC format used illegal UTF-8 sequences
for isolated high surrogates which now raise an exception.
Diffstat (limited to 'Lib/test/output')
-rw-r--r-- | Lib/test/output/test_unicodedata | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/output/test_unicodedata b/Lib/test/output/test_unicodedata index 3bd5575..c2c3d7c 100644 --- a/Lib/test/output/test_unicodedata +++ b/Lib/test/output/test_unicodedata @@ -1,5 +1,5 @@ test_unicodedata Testing Unicode Database... -Methods: 6c7a7c02657b69d0fdd7a7d174f573194bba2e18 +Methods: 84b72943b1d4320bc1e64a4888f7cdf62eea219a Functions: 41e1d4792185d6474a43c83ce4f593b1bdb01f8a API: ok |