<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/test_codeccallbacks.py, branch v2.3.6</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_codeccallbacks.py?h=v2.3.6</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_codeccallbacks.py?h=v2.3.6'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2003-10-24T15:05:29Z</updated>
<entry>
<title>Backport checkin:</title>
<updated>2003-10-24T15:05:29Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2003-10-24T15:05:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=218f9abe4528a91a98f93c3baddd3fa4ff90733a'/>
<id>urn:sha1:218f9abe4528a91a98f93c3baddd3fa4ff90733a</id>
<content type='text'>
Fix a bug in the memory reallocation code of PyUnicode_TranslateCharmap().
charmaptranslate_makespace() allocates 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>Backport checkins:</title>
<updated>2003-08-12T17:38:22Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2003-08-12T17:38:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0098d8643341de44c731b398cf92c2e533cfb0e6'/>
<id>urn:sha1:0098d8643341de44c731b398cf92c2e533cfb0e6</id>
<content type='text'>
* Enhance message for UnicodeEncodeError and UnicodeTranslateError.
  If there is only one bad character it will now be printed in a
  form that is a valid Python string.
* Add a unicode prefix to the characters in the UnicodeEncodeError
  and UnicodeTranslateError message.
</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>
<entry>
<title>Add comments and remove duplicate tests.</title>
<updated>2003-01-20T02:34:07Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2003-01-20T02:34:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ea4250df7da556bc01b6e48f58afc1cd07c82abf'/>
<id>urn:sha1:ea4250df7da556bc01b6e48f58afc1cd07c82abf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make the test scripts work again with narrow Python builds.</title>
<updated>2003-01-09T11:38:50Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2003-01-09T11:38:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0cb27dd023aee4e964cd887e4c7dc2cf4f7be67e'/>
<id>urn:sha1:0cb27dd023aee4e964cd887e4c7dc2cf4f7be67e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add a few test cases to increase code coverage:</title>
<updated>2003-01-08T23:22:13Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2003-01-08T23:22:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=30537a46ac28a6c3f02d56098ba3bbd20c4dff42'/>
<id>urn:sha1:30537a46ac28a6c3f02d56098ba3bbd20c4dff42</id>
<content type='text'>
From:
 69.73% of 294 source lines executed in file ./Modules/_codecsmodule.c
 79.47% of 487 source lines executed in file Python/codecs.c
 78.45% of 3643 source lines executed in file Objects/unicodeobject.c

To:
 70.41% of 294 source lines executed in file ./Modules/_codecsmodule.c
 82.75% of 487 source lines executed in file Python/codecs.c
 80.76% of 3638 source lines executed in file Objects/unicodeobject.c

This actually unearthed a bug in the handling of None
values in PyUnicode_EncodeCharmap.
</content>
</entry>
<entry>
<title>Fix typo in comment.</title>
<updated>2002-11-25T17:58:02Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2002-11-25T17:58:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=00445d2393a9d2570766faa28d7066495c27ee01'/>
<id>urn:sha1:00445d2393a9d2570766faa28d7066495c27ee01</id>
<content type='text'>
</content>
</entry>
</feed>
