summaryrefslogtreecommitdiffstats
path: root/PC/os2vacpp/pyconfig.h
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2010-07-01 07:32:02 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2010-07-01 07:32:02 (GMT)
commit57221d02bad3fff71b9abe7aa564352506c94514 (patch)
tree2980078793efc178ce95a0b9aa81d35f82c962e6 /PC/os2vacpp/pyconfig.h
parentead3c83ea956bebed675c6c02f398d21b2fbeb62 (diff)
downloadcpython-57221d02bad3fff71b9abe7aa564352506c94514.zip
cpython-57221d02bad3fff71b9abe7aa564352506c94514.tar.gz
cpython-57221d02bad3fff71b9abe7aa564352506c94514.tar.bz2
Update PyUnicode_DecodeUTF8 from RFC 2279 to RFC 3629.
1) #8271: when a byte sequence is invalid, only the start byte and all the valid continuation bytes are now replaced by U+FFFD, instead of replacing the number of bytes specified by the start byte. See http://www.unicode.org/versions/Unicode5.2.0/ch03.pdf (pages 94-95); 2) 5- and 6-bytes-long UTF-8 sequences are now considered invalid (no changes in behavior); 3) Change the error messages "unexpected code byte" to "invalid start byte" and "invalid data" to "invalid continuation byte"; 4) Add an extensive set of tests in test_unicode; 5) Fix test_codeccallbacks because it was failing after this change.
Diffstat (limited to 'PC/os2vacpp/pyconfig.h')
0 files changed, 0 insertions, 0 deletions