<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/test_codeccallbacks.py, branch v2.4.3</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_codeccallbacks.py?h=v2.4.3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_codeccallbacks.py?h=v2.4.3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2005-08-30T10:46:06Z</updated>
<entry>
<title>Backport checkin:</title>
<updated>2005-08-30T10:46:06Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2005-08-30T10:46:06Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fd8e0170e2335da86d491d0324b47a3276032b90'/>
<id>urn:sha1:fd8e0170e2335da86d491d0324b47a3276032b90</id>
<content type='text'>
SF bug #1251300: On UCS-4 builds the "unicode-internal" codec will now complain
about illegal code points. The codec now supports PEP 293 style error handlers.
(This is a variant of the patch by Nik Haldimann that detects truncated data)
</content>
</entry>
<entry>
<title>Backport checkin: Fix copy &amp; paste error in comments.</title>
<updated>2004-12-14T21:33:13Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2004-12-14T21:33:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4a7a14cd49b98b40e62653c4d76bca1eac13e00f'/>
<id>urn:sha1:4a7a14cd49b98b40e62653c4d76bca1eac13e00f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Whitespace normalization.</title>
<updated>2004-01-18T20:29:55Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-01-18T20:29:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=58eb11cf62dd04ccc2c364b62fd51b4265e2e203'/>
<id>urn:sha1:58eb11cf62dd04ccc2c364b62fd51b4265e2e203</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix a bug in the memory reallocation code of PyUnicode_TranslateCharmap().</title>
<updated>2003-10-24T14:25:28Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2003-10-24T14:25:28Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4894c306266b5fb3a6cf8429cbb6bc31d3e23e4e'/>
<id>urn:sha1:4894c306266b5fb3a6cf8429cbb6bc31d3e23e4e</id>
<content type='text'>
charmaptranslate_makespace() allocated more memory than required for the
next replacement but didn't remember that fact, so memory size was growing
exponentially every time a replacement string is longer that one character.
This fixes SF bug #828737.
</content>
</entry>
<entry>
<title>Add a unicode prefix to the characters in the UnicodeEncodeError and</title>
<updated>2003-08-12T17:34:49Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2003-08-12T17:34:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a54b92b2ebcbaaa4b7f77ff411a73a820522a67b'/>
<id>urn:sha1:a54b92b2ebcbaaa4b7f77ff411a73a820522a67b</id>
<content type='text'>
UnicodeTranslateError message.
</content>
</entry>
<entry>
<title>Enhance message for UnicodeEncodeError and UnicodeTranslateError.</title>
<updated>2003-08-12T17:32:43Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2003-08-12T17:32:43Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fd196bd263c0474c2d40dc2505ce76d4a8f1b9e2'/>
<id>urn:sha1:fd196bd263c0474c2d40dc2505ce76d4a8f1b9e2</id>
<content type='text'>
If there is only one bad character it will now be printed in a
form that is a valid Python string.
</content>
</entry>
<entry>
<title>Combine the functionality of test_support.run_unittest()</title>
<updated>2003-05-01T17:45:56Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2003-05-01T17:45:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=21d3a32b99c5763444c34c189ef653ac9745f3c4'/>
<id>urn:sha1:21d3a32b99c5763444c34c189ef653ac9745f3c4</id>
<content type='text'>
and test_support.run_classtests() into run_unittest()
and use it wherever possible.

Also don't use "from test.test_support import ...", but
"from test import test_support" in a few spots.

From SF patch #662807.
</content>
</entry>
<entry>
<title>Use the new htmlentitydefs.codepoint2name for test_xmlcharnamereplace()</title>
<updated>2003-04-29T20:59:55Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2003-04-29T20:59:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1b0be2d4c64b11b0884b625d6c62259e0c51424b'/>
<id>urn:sha1:1b0be2d4c64b11b0884b625d6c62259e0c51424b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Whitespace normalization.</title>
<updated>2003-02-19T02:35:07Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2003-02-19T02:35:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f2715e076435b74638acb81512c2ee014f75aea2'/>
<id>urn:sha1:f2715e076435b74638acb81512c2ee014f75aea2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change the treatment of positions returned by PEP293</title>
<updated>2003-01-31T17:19:08Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2003-01-31T17:19:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2e0b18af3092a24c9689f72af898083ebfd9aec7'/>
<id>urn:sha1:2e0b18af3092a24c9689f72af898083ebfd9aec7</id>
<content type='text'>
error handers in the Unicode codecs: Negative
positions are treated as being relative to the end of
the input and out of bounds positions result in an
IndexError.

Also update the PEP and include an explanation of
this in the documentation for codecs.register_error.

Fixes a small bug in iconv_codecs: if the position
from the callback is negative *add* it to the size
instead of substracting it.

From SF patch #677429.
</content>
</entry>
</feed>
