<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython.git/Lib/test/test_codeccallbacks.py, branch v2.7</title>
<subtitle>
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/'/>
<entry>
<title>Update PyUnicode_DecodeUTF8 from RFC 2279 to RFC 3629.</title>
<updated>2010-06-05T17:51:07+00:00</updated>
<author>
<name>Ezio Melotti</name>
<email>ezio.melotti@gmail.com</email>
</author>
<published>2010-06-05T17:51:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=c8cc931ab39884089a8aa01de90c4e635c4089c1'/>
<id>c8cc931ab39884089a8aa01de90c4e635c4089c1</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #5341: Fix a variety of spelling errors.</title>
<updated>2009-02-21T20:27:01+00:00</updated>
<author>
<name>Mark Dickinson</name>
<email>dickinsm@gmail.com</email>
</author>
<published>2009-02-21T20:27:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=aef7f683a5b690a71034bd46967bd2134a47cf72'/>
<id>aef7f683a5b690a71034bd46967bd2134a47cf72</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix test that wasn't working as expected #4990</title>
<updated>2009-01-18T21:11:38+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2009-01-18T21:11:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=a3449db9a59c132ef4ac660e1ca15d5cf884587e'/>
<id>a3449db9a59c132ef4ac660e1ca15d5cf884587e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>revert creation of the html.entities and html.parser modules</title>
<updated>2008-05-20T06:08:38+00:00</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2008-05-20T06:08:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=980b73e563b202a18d9d3385d64a75a53107fdfa'/>
<id>980b73e563b202a18d9d3385d64a75a53107fdfa</id>
<content type='text'>
(http://bugs.python.org/issue2882)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(http://bugs.python.org/issue2882)
</pre>
</div>
</content>
</entry>
<entry>
<title>update references and documentation for modules in the new html package</title>
<updated>2008-05-17T21:14:05+00:00</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2008-05-17T21:14:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=a5d1bc8580f78aaa448d08ec7b3f9de2a3a80b8c'/>
<id>a5d1bc8580f78aaa448d08ec7b3f9de2a3a80b8c</id>
<content type='text'>
(http://bugs.python.org/issue2882)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(http://bugs.python.org/issue2882)
</pre>
</div>
</content>
</entry>
<entry>
<title>Backport r57105 and r57145 from the py3k branch: UTF-32 codecs.</title>
<updated>2007-08-17T16:41:28+00:00</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2007-08-17T16:41:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=0ca2234feea24779b8fd1d2e687fdd461a7d6d77'/>
<id>0ca2234feea24779b8fd1d2e687fdd461a7d6d77</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Conversion of exceptions over from faked-up classes to new-style C types.</title>
<updated>2006-05-27T12:29:24+00:00</updated>
<author>
<name>Richard Jones</name>
<email>richard@commonground.com.au</email>
</author>
<published>2006-05-27T12:29:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=c7d03556ec824eb6970f4a77bd5737f9c311e95e'/>
<id>c7d03556ec824eb6970f4a77bd5737f9c311e95e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add tests to increase code coverage in Python/codecs.c and Python/exceptions.c.</title>
<updated>2005-11-17T18:51:34+00:00</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2005-11-17T18:51:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=2657961531fa837c201bc48f5c476b7dc8ecda36'/>
<id>2657961531fa837c201bc48f5c476b7dc8ecda36</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add tests for various error cases and for readbuffer_encode() and</title>
<updated>2005-11-17T08:52:34+00:00</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2005-11-17T08:52:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=59700770a79e72c19605fe4524ec6b2ea1045f6f'/>
<id>59700770a79e72c19605fe4524ec6b2ea1045f6f</id>
<content type='text'>
charbuffer_encode(). This increases code coverage in Modules/_codecsmodule.c
from 83% to 95%.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
charbuffer_encode(). This increases code coverage in Modules/_codecsmodule.c
from 83% to 95%.
</pre>
</div>
</content>
</entry>
<entry>
<title>SF bug #1251300: On UCS-4 builds the "unicode-internal" codec will now complain</title>
<updated>2005-08-30T10:23:14+00:00</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2005-08-30T10:23:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython.git/commit/?id=aff4a6809d7b9aa8070d27286df03835e90de754'/>
<id>aff4a6809d7b9aa8070d27286df03835e90de754</id>
<content type='text'>
about illegal code points. The codec now supports PEP 293 style error handlers.
(This is a variant of the Nik Haldimann's patch that detects truncated data)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
about illegal code points. The codec now supports PEP 293 style error handlers.
(This is a variant of the Nik Haldimann's patch that detects truncated data)
</pre>
</div>
</content>
</entry>
</feed>
