<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/UserString.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/UserString.py?h=v2.2a3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/UserString.py?h=v2.2a3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2001-05-15T12:00:02Z</updated>
<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>
<entry>
<title>add isalpha and isalnum methods</title>
<updated>2000-07-10T17:07:17Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2000-07-10T17:07:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fd54757336de0d3494e38228acfd0c1d1b9db1b8'/>
<id>urn:sha1:fd54757336de0d3494e38228acfd0c1d1b9db1b8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Marc-Andre Lemburg:</title>
<updated>2000-04-11T15:38:46Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2000-04-11T15:38:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=86662914be20e1f008132647a82cdeb9506f13c5'/>
<id>urn:sha1:86662914be20e1f008132647a82cdeb9506f13c5</id>
<content type='text'>
The maxsplit functionality in .splitlines() was replaced by the keepends
functionality which allows keeping the line end markers together
with the string.
</content>
</entry>
<entry>
<title>UserString class from Peter Funk &lt;pf@artcom-gmbh.de&gt;.</title>
<updated>2000-04-03T03:51:50Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2000-04-03T03:51:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a22b576d05d7f7b8f70341268a46c219a3fd6a9c'/>
<id>urn:sha1:a22b576d05d7f7b8f70341268a46c219a3fd6a9c</id>
<content type='text'>
</content>
</entry>
</feed>
