<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/string_tests.py, branch v2.2a3</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/string_tests.py?h=v2.2a3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/string_tests.py?h=v2.2a3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2001-08-17T18:39:25Z</updated>
<entry>
<title>Patch #445762: Support --disable-unicode</title>
<updated>2001-08-17T18:39:25Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2001-08-17T18:39:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=339d0f720e86dc34837547c90d3003a4a68d7d46'/>
<id>urn:sha1:339d0f720e86dc34837547c90d3003a4a68d7d46</id>
<content type='text'>
- Do not compile unicodeobject, unicodectype, and unicodedata if Unicode is disabled
- check for Py_USING_UNICODE in all places that use Unicode functions
- disables unicode literals, and the builtin functions
- add the types.StringTypes list
- remove Unicode literals from most tests.
</content>
</entry>
<entry>
<title>This patch changes the way the string .encode() method works slightly</title>
<updated>2001-05-15T12:00:02Z</updated>
<author>
<name>Marc-André Lemburg</name>
<email>mal@egenix.com</email>
</author>
<published>2001-05-15T12:00:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2d9204199fe8913cca9890f1822413d981587ee5'/>
<id>urn:sha1:2d9204199fe8913cca9890f1822413d981587ee5</id>
<content type='text'>
and introduces a new method .decode().

The major change is that strg.encode() will no longer try to convert
Unicode returns from the codec into a string, but instead pass along
the Unicode object as-is. The same is now true for all other codec
return types. The underlying C APIs were changed accordingly.

Note that even though this does have the potential of breaking
existing code, the chances are low since conversion from Unicode
previously took place using the default encoding which is normally
set to ASCII rendering this auto-conversion mechanism useless for
most Unicode encodings.

The good news is that you can now use .encode() and .decode() with
much greater ease and that the door was opened for better accessibility
of the builtin codecs.

As demonstration of the new feature, the patch includes a few new
codecs which allow string to string encoding and decoding (rot13,
hex, zip, uu, base64).

Written by Marc-Andre Lemburg. Copyright assigned to the PSF.
</content>
</entry>
<entry>
<title>SF bug #422088: [OSF1 alpha] string.replace().</title>
<updated>2001-05-09T23:00:26Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-05-09T23:00:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1a7b3eee946183c75eddecafe76c60e87c6f5e7d'/>
<id>urn:sha1:1a7b3eee946183c75eddecafe76c60e87c6f5e7d</id>
<content type='text'>
Platform blew up on "123".replace("123", "").  Michael Hudson pinned the
blame on platform malloc(0) returning NULL.
This is a candidate for all bugfix releases.
</content>
</entry>
<entry>
<title>String method conversion.</title>
<updated>2001-02-09T11:51:27Z</updated>
<author>
<name>Eric S. Raymond</name>
<email>esr@thyrsus.com</email>
</author>
<published>2001-02-09T11:51:27Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fc170b1fd5db978f4e8d4c23c138a7b59df681ec'/>
<id>urn:sha1:fc170b1fd5db978f4e8d4c23c138a7b59df681ec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed .capitalize() method of Unicode objects to work like the</title>
<updated>2001-01-29T11:14:16Z</updated>
<author>
<name>Marc-André Lemburg</name>
<email>mal@egenix.com</email>
</author>
<published>2001-01-29T11:14:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fde66e1bcc4431a59f36bad0ca0dd7a848ce794b'/>
<id>urn:sha1:fde66e1bcc4431a59f36bad0ca0dd7a848ce794b</id>
<content type='text'>
corresponding string method. Added tests for this too.

Patch written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
</content>
</entry>
<entry>
<title>Whitespace normalization.  Leaving tokenize_tests.py alone for now.</title>
<updated>2001-01-18T02:22:22Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-01-18T02:22:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d2bf3b7ca6f702f54b8e81ea8d194fc116ac6791'/>
<id>urn:sha1:d2bf3b7ca6f702f54b8e81ea8d194fc116ac6791</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added checks to prevent PyUnicode_Count() from dumping core</title>
<updated>2001-01-16T11:54:12Z</updated>
<author>
<name>Marc-André Lemburg</name>
<email>mal@egenix.com</email>
</author>
<published>2001-01-16T11:54:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3a645e4dd4eebbfbbfad8443558bb3b879e23896'/>
<id>urn:sha1:3a645e4dd4eebbfbbfad8443558bb3b879e23896</id>
<content type='text'>
in case the parameters are out of bounds and fixes error handling
for .count(), .startswith() and .endswith() for the case of
mixed string/Unicode objects.

This patch adds Python style index semantics to PyUnicode_Count()
indices (including the special handling of negative indices).

The patch is an extended version of patch #103249 submitted
by Michael Hudson (mwh) on SF. It also includes new test cases.
</content>
</entry>
<entry>
<title>small updates to string_join:</title>
<updated>2000-07-11T20:55:38Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2000-07-11T20:55:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=88887aa38eee7d6c12c5f5a108b6a0a4302d7ae5'/>
<id>urn:sha1:88887aa38eee7d6c12c5f5a108b6a0a4302d7ae5</id>
<content type='text'>
    use PyString_AS_STRING macro on local string object
    when resizing string, make sure resized string will always be big enough
    split string containing error message across two lines
add test to string_tests that causes resizing
</content>
</entry>
<entry>
<title>add more tests of string.join variants to run_method_tests</title>
<updated>2000-07-11T03:31:55Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2000-07-11T03:31:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=20f41b64563283467529dd1a001afafebf10d939'/>
<id>urn:sha1:20f41b64563283467529dd1a001afafebf10d939</id>
<content type='text'>
</content>
</entry>
<entry>
<title>factor out test definitions to string_tests module</title>
<updated>2000-07-10T17:08:42Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2000-07-10T17:08:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f82b04ecbb0b27635501c1b119c674c11bb0cd4e'/>
<id>urn:sha1:f82b04ecbb0b27635501c1b119c674c11bb0cd4e</id>
<content type='text'>
test_string and test_userstring run same tests for string methods
</content>
</entry>
</feed>
