<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects/unicodeobject.c, branch v2.4b2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/unicodeobject.c?h=v2.4b2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/unicodeobject.c?h=v2.4b2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2004-10-15T07:45:05Z</updated>
<entry>
<title>Applied patch for [ 1047269 ] Buffer overwrite in PyUnicode_AsWideChar.</title>
<updated>2004-10-15T07:45:05Z</updated>
<author>
<name>Marc-André Lemburg</name>
<email>mal@egenix.com</email>
</author>
<published>2004-10-15T07:45:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=204bd6d9d2c7aa6c49ed9f6edd1ed12489ba972b'/>
<id>urn:sha1:204bd6d9d2c7aa6c49ed9f6edd1ed12489ba972b</id>
<content type='text'>
Python 2.3.x candidate.
</content>
</entry>
<entry>
<title>Initialize sep and seplen to suppress warning from gcc.</title>
<updated>2004-09-16T03:28:13Z</updated>
<author>
<name>Skip Montanaro</name>
<email>skip@pobox.com</email>
</author>
<published>2004-09-16T03:28:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6543b45b0c0adfd8a91ad64997ffe507e9482b0c'/>
<id>urn:sha1:6543b45b0c0adfd8a91ad64997ffe507e9482b0c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add a missing line continuation character.</title>
<updated>2004-09-15T11:41:32Z</updated>
<author>
<name>Thomas Heller</name>
<email>theller@ctypes.org</email>
</author>
<published>2004-09-15T11:41:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ca0d2cb66ea25e56bb7ec5184aeb20cd65303d1a'/>
<id>urn:sha1:ca0d2cb66ea25e56bb7ec5184aeb20cd65303d1a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make the hint about the None default less ambiguous.</title>
<updated>2004-09-14T09:45:10Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2004-09-14T09:45:10Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=065a32f5508152a4d9781e611185c48ab46ed108'/>
<id>urn:sha1:065a32f5508152a4d9781e611185c48ab46ed108</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Enhance the docstrings for unicode.split() and string.split()</title>
<updated>2004-09-14T09:40:45Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2004-09-14T09:40:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=782afc5927c5d37c3de1a082b6363a79e4bd5962'/>
<id>urn:sha1:782afc5927c5d37c3de1a082b6363a79e4bd5962</id>
<content type='text'>
to make it clear that it is possible to pass None as the
separator argument to get the default "any whitespace" separator.
</content>
</entry>
<entry>
<title>SF patch #998993: The UTF-8 and the UTF-16 stateful decoders now support</title>
<updated>2004-09-07T20:24:22Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2004-09-07T20:24:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=69652035bc2cf22b0326bb00824f4b7e2674cc8b'/>
<id>urn:sha1:69652035bc2cf22b0326bb00824f4b7e2674cc8b</id>
<content type='text'>
decoding incomplete input (when the input stream is temporarily exhausted).
codecs.StreamReader now implements buffering, which enables proper
readline support for the UTF-16 decoders. codecs.StreamReader.read()
has a new argument chars which specifies the number of characters to
return. codecs.StreamReader.readline() and codecs.StreamReader.readlines()
have a new argument keepends. Trailing "\n"s will be stripped from the lines
if keepends is false. Added C APIs PyUnicode_DecodeUTF8Stateful and
PyUnicode_DecodeUTF16Stateful.
</content>
</entry>
<entry>
<title>PyUnicode_Join():  Bozo Alert.  While this is chugging along, it may</title>
<updated>2004-08-27T22:35:44Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-08-27T22:35:44Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=91879ab8ea3ccb611a2b46b81a9984f451cb0669'/>
<id>urn:sha1:91879ab8ea3ccb611a2b46b81a9984f451cb0669</id>
<content type='text'>
need to convert str objects from the iterable to unicode.  So, if
someone set the system default encoding to something nasty enough,
the conversion process could mutate the input iterable as a side
effect, and PySequence_Fast doesn't hide that from us if the input was
a list.  IOW, can't assume the size of PySequence_Fast's result is
invariant across PyUnicode_FromObject() calls.
</content>
</entry>
<entry>
<title>PyUnicode_Join():  Rewrote to use PySequence_Fast().  This doesn't do</title>
<updated>2004-08-27T21:32:02Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-08-27T21:32:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=05eba1fdc80efe145bac39d9d84cb1cc439f303c'/>
<id>urn:sha1:05eba1fdc80efe145bac39d9d84cb1cc439f303c</id>
<content type='text'>
much to reduce the size of the code, but greatly improves its clarity.
It's also quicker in what's probably the most common case (the argument
iterable is a list).  Against it, if the iterable isn't a list or a tuple,
a temp tuple is materialized containing the entire input sequence, and
that's a bigger temp memory burden.  Yawn.
</content>
</entry>
<entry>
<title>PyUnicode_Join():  Missed a spot where I intended a cast from size_t to</title>
<updated>2004-08-27T05:08:36Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-08-27T05:08:36Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=894c512c2ff6c2ec511716e58d8c4d9ff7e8c137'/>
<id>urn:sha1:894c512c2ff6c2ec511716e58d8c4d9ff7e8c137</id>
<content type='text'>
int.  I sure wish MS would gripe about that!  Whatever, note that the
statement above it guarantees that the cast loses no info.
</content>
</entry>
<entry>
<title>PyUnicode_Join():  Two primary aims:</title>
<updated>2004-08-27T01:49:32Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-08-27T01:49:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8ce9f162595e500af16d8543e896ceeb815e51ac'/>
<id>urn:sha1:8ce9f162595e500af16d8543e896ceeb815e51ac</id>
<content type='text'>
1. u1.join([u2]) is u2
2. Be more careful about C-level int overflow.

Since PySequence_Fast() isn't needed to achieve #1, it's not used -- but
the code could sure be simpler if it were.
</content>
</entry>
</feed>
