cpython/Objects
Ezio Melotti e57e50c8e7 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.
2010-06-05 17:51:07 +00:00
..
stringlib Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
abstract.c _PyObject_LookupSpecial returns a new reference 2010-06-05 02:07:01 +00:00
boolobject.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
bufferobject.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
bytearrayobject.c tiny simplification 2010-04-16 22:52:44 +00:00
bytes_methods.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
capsule.c Backported PyCapsule from 3.1, and converted most uses of 2010-03-25 00:54:54 +00:00
cellobject.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
classobject.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
cobject.c Capsule-related changes: 2010-04-02 11:01:35 +00:00
codeobject.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
complexobject.c Issue #8748: Fix incorrect results from comparisons between an integer 2010-05-30 13:18:10 +00:00
descrobject.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
dictnotes.txt Patch #1397848: add the reasoning behind no-resize-on-shrinkage. 2007-02-15 09:51:35 +00:00
dictobject.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
enumobject.c #8635: document enumerate() start parameter in docstring. 2010-05-22 11:43:25 +00:00
exceptions.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
fileobject.c Issue #7079: Fix a possible crash when closing a file object while using 2010-05-17 19:56:59 +00:00
floatobject.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
frameobject.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
funcobject.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
genobject.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
intobject.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
iterobject.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
listobject.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
listsort.txt Issue #5341: Fix a variety of spelling errors. 2009-02-21 20:27:01 +00:00
lnotab_notes.txt Issue #6042: 2009-05-23 23:23:01 +00:00
longobject.c Wrap multiline macros in a 'do {} while(0)', for safety. 2010-05-09 20:42:09 +00:00
memoryobject.c Issue #7385: Fix a crash in `MemoryView_FromObject` when 2010-02-02 22:36:17 +00:00
methodobject.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
moduleobject.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
object.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
obmalloc.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
rangeobject.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
setobject.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
sliceobject.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
stringobject.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
structseq.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
tupleobject.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00
typeobject.c Fix comment typo. 2010-06-05 12:51:21 +00:00
unicodectype.c #1571184: makeunicodedata.py now generates the functions _PyUnicode_ToNumeric, 2009-10-06 19:56:32 +00:00
unicodeobject.c Update PyUnicode_DecodeUTF8 from RFC 2279 to RFC 3629. 2010-06-05 17:51:07 +00:00
unicodetype_db.h #7643: Unicode codepoints VT (0x0B) and FF (0x0C) are linebreaks according to Unicode Standard Annex #14. 2010-03-30 08:24:06 +00:00
weakrefobject.c Untabify C files. Will watch buildbots. 2010-05-09 14:46:46 +00:00