cpython/Lib/test/output/test_unicodedata
Marc-André Lemburg bd3be8f0ca 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.
2002-02-07 11:33:49 +00:00

5 lines
155 B
Text

test_unicodedata
Testing Unicode Database...
Methods: 84b72943b1d4320bc1e64a4888f7cdf62eea219a
Functions: 41e1d4792185d6474a43c83ce4f593b1bdb01f8a
API: ok