<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/UserString.py, branch 2.2</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/UserString.py?h=2.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/UserString.py?h=2.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2003-04-11T18:21:22Z</updated>
<entry>
<title>Backport:</title>
<updated>2003-04-11T18:21:22Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2003-04-11T18:21:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9976fdf83cd75816e2d370197f030074c6cc1697'/>
<id>urn:sha1:9976fdf83cd75816e2d370197f030074c6cc1697</id>
<content type='text'>
Fix SF bug #697220, string.strip implementation/doc mismatch

Attempt to make all the various string/unicode *strip methods the same.
 * Doc - add doc for when functions were added
 * UserString
 * string/unicode object methods
 * string module functions
'chars' is used for the last parameter everywhere.
</content>
</entry>
<entry>
<title>Backport the following changes:</title>
<updated>2002-04-22T11:57:06Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2002-04-22T11:57:06Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1c097b7102c6c5a1a03cbb5d36c819eedae60d5a'/>
<id>urn:sha1:1c097b7102c6c5a1a03cbb5d36c819eedae60d5a</id>
<content type='text'>
Misc/NEWS 1.387-&gt;1.388
Lib/test/string_tests.py 1.10-&gt;1.11, 1.12-&gt;1.14,
Lib/test/test_unicode.py 1.50-&gt;1.51, 1.53-&gt;1.54, 1.55-&gt;1.56
Lib/test/test_string.py 1.15-&gt;1.16
Lib/string.py 1.61-&gt;1.63
Lib/test/test_userstring.py 1.5-&gt;1.6, 1.11, 1.12
Objects/stringobject.c 2.156-&gt;2.159
Objects/unicodeobject.c 2.137-&gt;2.139
Doc/lib/libstdtypes.tec 1.87-&gt;1.88

Add a method zfill to str, unicode and UserString
and change Lib/string.py accordingly
(see SF patch http://www.python.org/sf/536241)

This also adds Guido's fix to test_userstring.py
and the subinstance checks in test_string.py
and test_unicode.py.
</content>
</entry>
<entry>
<title>backport gvanrossum's patch:</title>
<updated>2002-04-18T05:17:53Z</updated>
<author>
<name>Anthony Baxter</name>
<email>anthonybaxter@gmail.com</email>
</author>
<published>2002-04-18T05:17:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=22115b7ef0f7bc81f4c2f09bf002c881be3fb01b'/>
<id>urn:sha1:22115b7ef0f7bc81f4c2f09bf002c881be3fb01b</id>
<content type='text'>
Partially implement SF feature request 444708.

Add optional arg to string methods strip(), lstrip(), rstrip().
The optional arg specifies characters to delete.

Also for UserString.

Still to do:

- Misc/NEWS
- LaTeX docs (I did the docstrings though)
- Unicode methods, and Unicode support in the string methods.

Original patches were:
python/dist/src/Lib/UserString.py:1.11
</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>added __all__ lists to a number of Python modules</title>
<updated>2001-01-20T19:54:20Z</updated>
<author>
<name>Skip Montanaro</name>
<email>skip@pobox.com</email>
</author>
<published>2001-01-20T19:54:20Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e99d5ea25ba994491c773d9b5872332334ccd1c5'/>
<id>urn:sha1:e99d5ea25ba994491c773d9b5872332334ccd1c5</id>
<content type='text'>
added test script and expected output file as well
this closes patch 103297.
__all__ attributes will be added to other modules without first submitting
a patch, just adding the necessary line to the test script to verify
more-or-less correct implementation.
</content>
</entry>
<entry>
<title>Whitespace normalization.  Top level of Lib now fixed-point for reindent.py!</title>
<updated>2001-01-15T03:34:38Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-01-15T03:34:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e119006e7dc0df0a5ff6b60764b2ce3cd9477688'/>
<id>urn:sha1:e119006e7dc0df0a5ff6b60764b2ce3cd9477688</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix two typos in __imul__.  Closes Bug #117745.</title>
<updated>2000-10-25T21:58:20Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2000-10-25T21:58:20Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=add8d8632528d104a3a1e653ec815ed2e2c75b7a'/>
<id>urn:sha1:add8d8632528d104a3a1e653ec815ed2e2c75b7a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>simple typo that makes regression test test_userstring fail</title>
<updated>2000-08-24T21:47:34Z</updated>
<author>
<name>Peter Schneider-Kamp</name>
<email>nowonder@nowonder.de</email>
</author>
<published>2000-08-24T21:47:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fa12e13ae7e5a95f83e4880f518f32f083bdd010'/>
<id>urn:sha1:fa12e13ae7e5a95f83e4880f518f32f083bdd010</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Support for augmented assignment in the UserList, UserDict, UserString and</title>
<updated>2000-08-24T20:14:10Z</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2000-08-24T20:14:10Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=104a7bcc28f96c6192815e82971d660c9910c16b'/>
<id>urn:sha1:104a7bcc28f96c6192815e82971d660c9910c16b</id>
<content type='text'>
rfc822 (Addresslist) modules. Also a preliminary testcase for augmented
assignment, which should actually be merged with the test_class testcase I
added last week.
</content>
</entry>
<entry>
<title>Denis S. Otkidach &lt;den@analyt.chem.msu.ru&gt;:</title>
<updated>2000-08-21T21:47:20Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2000-08-21T21:47:20Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a893957c8e0a514bc62f6ea7fe91a0ecf073fe83'/>
<id>urn:sha1:a893957c8e0a514bc62f6ea7fe91a0ecf073fe83</id>
<content type='text'>
Let UserString.translate() method work with unicode data.

This closes SourceForge patch #101246.
</content>
</entry>
</feed>
