<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects/stringobject.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/stringobject.c?h=v2.4b2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/stringobject.c?h=v2.4b2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2004-10-26T01:52:37Z</updated>
<entry>
<title>SF bug #1054139:  serious string hashing error in 2.4b1</title>
<updated>2004-10-26T01:52:37Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-10-26T01:52:37Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=561fbf138d30896af3e7afe33f9bc602dda5f2b7'/>
<id>urn:sha1:561fbf138d30896af3e7afe33f9bc602dda5f2b7</id>
<content type='text'>
_PyString_Resize() readied strings for mutation but did not invalidate
the cached hash value.
</content>
</entry>
<entry>
<title>SF Patch #1007087:  Return new string for single subclass joins (Bug #1001011)</title>
<updated>2004-08-23T23:23:54Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-08-23T23:23:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=674f241e9c5bd0f40418580d74e3c8e430f651cc'/>
<id>urn:sha1:674f241e9c5bd0f40418580d74e3c8e430f651cc</id>
<content type='text'>
(Patch contributed by Nick Coghlan.)

Now joining string subtypes will always return a string.
Formerly, if there were only one item, it was returned unchanged.
</content>
</entry>
<entry>
<title>This was quite a dark bug in my recent in-place string concatenation</title>
<updated>2004-08-07T20:58:32Z</updated>
<author>
<name>Armin Rigo</name>
<email>arigo@tunes.org</email>
</author>
<published>2004-08-07T20:58:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=618fbf5469ec6b8013b00989623763db21dd0ce5'/>
<id>urn:sha1:618fbf5469ec6b8013b00989623763db21dd0ce5</id>
<content type='text'>
hack: it would resize *interned* strings in-place!  This occurred because
their reference counts do not have their expected value -- stringobject.c
hacks them.  Mea culpa.
</content>
</entry>
<entry>
<title>Fixed some compiler warnings.</title>
<updated>2004-08-07T19:27:39Z</updated>
<author>
<name>Armin Rigo</name>
<email>arigo@tunes.org</email>
</author>
<published>2004-08-07T19:27:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=79f7ad228b0f7d5c4609e790d9a06345f36a5aaf'/>
<id>urn:sha1:79f7ad228b0f7d5c4609e790d9a06345f36a5aaf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Subclasses of string can no longer be interned.  The semantics of</title>
<updated>2004-08-07T19:20:05Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2004-08-07T19:20:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4c989ddc9c8bd38ab14c9f42511eb567ed219604'/>
<id>urn:sha1:4c989ddc9c8bd38ab14c9f42511eb567ed219604</id>
<content type='text'>
interning were not clear here -- a subclass could be mutable, for
example -- and had bugs.  Explicitly interning a subclass of string
via intern() will raise a TypeError.  Internal operations that attempt
to intern a string subclass will have no effect.

Added a few tests to test_builtin that includes the old buggy code and
verifies that calls like PyObject_SetAttr() don't fail.  Perhaps these
tests should have gone in test_string.
</content>
</entry>
<entry>
<title>.encode()/.decode() patch part 2.</title>
<updated>2004-07-08T19:13:55Z</updated>
<author>
<name>Marc-André Lemburg</name>
<email>mal@egenix.com</email>
</author>
<published>2004-07-08T19:13:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1dffb120b733a45f9de3c1c4c2d10946ad6ea6d8'/>
<id>urn:sha1:1dffb120b733a45f9de3c1c4c2d10946ad6ea6d8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Allow string and unicode return types from .encode()/.decode()</title>
<updated>2004-07-08T17:57:32Z</updated>
<author>
<name>Marc-André Lemburg</name>
<email>mal@egenix.com</email>
</author>
<published>2004-07-08T17:57:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d2d4598ec2e33e73efcbf295e630296b24a1b70b'/>
<id>urn:sha1:d2d4598ec2e33e73efcbf295e630296b24a1b70b</id>
<content type='text'>
methods on string and unicode objects. Added unicode.decode()
which was missing for no apparent reason.
</content>
</entry>
<entry>
<title>sizeof(char) is 1, by definition, so get rid of that expression in</title>
<updated>2004-06-27T17:24:49Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-06-27T17:24:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e7c053233fa4a0f9a1ddfe96b5a3ea57495f9882'/>
<id>urn:sha1:e7c053233fa4a0f9a1ddfe96b5a3ea57495f9882</id>
<content type='text'>
places it's just noise.
</content>
</entry>
<entry>
<title>Patch #774665: Make Python LC_NUMERIC agnostic.</title>
<updated>2004-06-08T18:52:54Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2004-06-08T18:52:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=737ea82a5abd448b3e214b44d7d3c579b77e8155'/>
<id>urn:sha1:737ea82a5abd448b3e214b44d7d3c579b77e8155</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[SF #866875] Add a specialized routine for one character</title>
<updated>2004-01-05T00:29:51Z</updated>
<author>
<name>Hye-Shik Chang</name>
<email>hyeshik@gmail.com</email>
</author>
<published>2004-01-05T00:29:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=75c00efcc79d8207242685ddbd499d5af892bfd1'/>
<id>urn:sha1:75c00efcc79d8207242685ddbd499d5af892bfd1</id>
<content type='text'>
separaters on str.split() and str.rsplit().
</content>
</entry>
</feed>
