summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
diff options
context:
space:
mode:
authorMarc-André Lemburg <mal@egenix.com>2002-02-07 11:33:49 (GMT)
committerMarc-André Lemburg <mal@egenix.com>2002-02-07 11:33:49 (GMT)
commitbd3be8f0ca4fd70d53d9330489ba565f83530b3b (patch)
tree33762ec816df0a313706c6a919fbe3629751b0b5 /Lib/distutils
parent9273ec726c1ae9f151d12bc21a1ad96e7c225b77 (diff)
downloadcpython-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/distutils')
0 files changed, 0 insertions, 0 deletions