cpython/Objects
Ezio Melotti 86e5e17bda Merged revisions 81758-81759 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81758 | ezio.melotti | 2010-06-05 20:51:07 +0300 (Sat, 05 Jun 2010) | 15 lines

  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) Add code and tests to reject surrogates (U+D800-U+DFFF) as defined in
     RFC 3629, but leave it commented out since it's not backward compatible;
  4) Change the error messages "unexpected code byte" to "invalid start byte"
     and "invalid data" to "invalid continuation byte";
  5) Add an extensive set of tests in test_unicode;
  6) Fix test_codeccallbacks because it was failing after this change.
........
  r81759 | ezio.melotti | 2010-06-05 22:21:32 +0300 (Sat, 05 Jun 2010) | 1 line

  Add a NEWS entry for r81758 and clarify a comment.
........
2010-07-03 05:34:39 +00:00
..
stringlib Merged revisions 81820 via svnmerge from 2010-06-07 22:27:32 +00:00
abstract.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
boolobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
bufferobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
bytearrayobject.c Merged revisions 81860 via svnmerge from 2010-06-09 16:31:23 +00:00
bytes_methods.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
cellobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
classobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
cobject.c #3668: When PyArg_ParseTuple correctly parses a s* format, but raises an 2008-08-29 18:39:48 +00:00
codeobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
complexobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
descrobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
dictnotes.txt Patch #1397848: add the reasoning behind no-resize-on-shrinkage. 2007-02-15 09:51:35 +00:00
dictobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
enumobject.c Merged revisions 81468 via svnmerge from 2010-05-22 11:44:30 +00:00
exceptions.c Merged revisions 82157 via svnmerge from 2010-06-22 19:21:33 +00:00
fileobject.c Merged revisions 81275 via svnmerge from 2010-05-17 20:00:52 +00:00
floatobject.c Merged revisions 82447 via svnmerge from 2010-07-02 19:45:11 +00:00
frameobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
funcobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
genobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
intobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
iterobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
listobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
listsort.txt Merged revisions 69846 via svnmerge from 2009-07-02 15:37:21 +00:00
longobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
methodobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
moduleobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
object.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
obmalloc.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
rangeobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
setobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
sliceobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
stringobject.c Merged revisions 82248 via svnmerge from 2010-06-26 18:47:01 +00:00
structseq.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
tupleobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
typeobject.c Merged revisions 81744 via svnmerge from 2010-06-05 12:52:03 +00:00
unicodectype.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00
unicodeobject.c Merged revisions 81758-81759 via svnmerge from 2010-07-03 05:34:39 +00:00
unicodetype_db.h Merged revisions 71894 via svnmerge from 2009-04-25 14:05:52 +00:00
weakrefobject.c Recorded merge of revisions 81029 via svnmerge from 2010-05-09 15:15:40 +00:00