cpython/Objects
Ezio Melotti 57221d02ba 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.
2010-07-01 07:32:02 +00:00
..
stringlib Merged revisions 81824 via svnmerge from 2010-06-07 22:35:08 +00:00
abstract.c update error message 2010-06-28 19:43:42 +00:00
boolobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
bytearrayobject.c Merged revisions 81860 via svnmerge from 2010-06-09 16:38:55 +00:00
bytes_methods.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
bytesobject.c Merged revisions 81860 via svnmerge from 2010-06-09 16:38:55 +00:00
capsule.c Use size_t instead of int for a PyMem_MALLOC argument; silences a gcc 'comparison always false' warning. 2009-10-03 20:13:37 +00:00
cellobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
classobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
codeobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
complexobject.c Issue #8188: Introduce a new scheme for computing hashes of numbers 2010-05-23 13:33:13 +00:00
descrobject.c Merged revisions 82317 via svnmerge from 2010-06-28 03:07:10 +00:00
dictnotes.txt Merged revisions 53623-53858 via svnmerge from 2007-02-23 15:07:44 +00:00
dictobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
enumobject.c Merged revisions 81465-81466,81468,81679,81735,81760,81868,82183 via svnmerge from 2010-06-27 21:45:24 +00:00
exceptions.c Merged revisions 82157 via svnmerge from 2010-06-22 19:21:52 +00:00
fileobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
floatobject.c Issue #9089: Remove references to intobject.c and intobject.h from comments. 2010-06-27 18:19:09 +00:00
frameobject.c Issue #9089: Remove references to intobject.c and intobject.h from comments. 2010-06-27 18:19:09 +00:00
funcobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
genobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
iterobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
listobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
listsort.txt #6814: remove traces of xrange(). 2009-09-01 07:34:27 +00:00
lnotab_notes.txt Merged revisions 72487-72488,72879 via svnmerge from 2009-07-21 04:30:03 +00:00
longobject.c Fix naming inconsistency. 2010-06-07 18:47:09 +00:00
memoryobject.c Merged revisions 77916 via svnmerge from 2010-02-02 22:47:00 +00:00
methodobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
moduleobject.c Issue #6697: Fix a crash if a module attribute name contains a surrogate 2010-05-19 00:03:09 +00:00
object.c Issue #8188: Introduce a new scheme for computing hashes of numbers 2010-05-23 13:33:13 +00:00
obmalloc.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
rangeobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
setobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
sliceobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
structseq.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
tupleobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00
typeobject.c Merged revisions 81709-81710 via svnmerge from 2010-06-05 01:03:24 +00:00
unicodectype.c Merged revisions 75272-75273 via svnmerge from 2009-10-06 21:03:20 +00:00
unicodeobject.c Update PyUnicode_DecodeUTF8 from RFC 2279 to RFC 3629. 2010-07-01 07:32:02 +00:00
unicodetype_db.h Merged revisions 79494,79496 via svnmerge from 2010-03-30 19:34:18 +00:00
weakrefobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:52:27 +00:00