<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects/stringobject.c, branch v2.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/Objects/stringobject.c?h=v2.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/stringobject.c?h=v2.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2001-12-10T15:45:54Z</updated>
<entry>
<title>SF patch #491049 (David Jacobs): Small PyString_FromString optimization</title>
<updated>2001-12-10T15:45:54Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-12-10T15:45:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=169192e8184fe742c9694bb2ba9a545302a0fc44'/>
<id>urn:sha1:169192e8184fe742c9694bb2ba9a545302a0fc44</id>
<content type='text'>
PyString_FromString():
  Since the length of the string is already being stored in size,
  changed the strcpy() to a memcpy() for a small speed improvement.
</content>
</entry>
<entry>
<title>PyString_FromString:  this requires its argument be non-NULL, but doesn't</title>
<updated>2001-12-06T20:29:32Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-12-06T20:29:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=62de65b25e56d01a7cd10f55576ff00eae1021fc'/>
<id>urn:sha1:62de65b25e56d01a7cd10f55576ff00eae1021fc</id>
<content type='text'>
check it.  Added an assert() to that effect.
</content>
</entry>
<entry>
<title>Little stuff.</title>
<updated>2001-12-06T15:18:48Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2001-12-06T15:18:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7802a53e38399e8df647f0633f18658b7bb1be4a'/>
<id>urn:sha1:7802a53e38399e8df647f0633f18658b7bb1be4a</id>
<content type='text'>
Add a missing DECREF in an obscure corner.  If the str() or repr() of
an object passed to a string interpolation -- e.g. "%s" % obj --
returns a non-string, the returned object was leaked.

Repair an indentation glitch.

Replace a bunch of PyString_AsString() calls (and their ilk) with
macros.
</content>
</entry>
<entry>
<title>Add more inline documentation, as contributed in #487906.</title>
<updated>2001-12-03T08:24:52Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2001-12-03T08:24:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8f1ea71eab5538be1e0da8e2e40991dc62a6fbc5'/>
<id>urn:sha1:8f1ea71eab5538be1e0da8e2e40991dc62a6fbc5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>PyString_FromFormatV, string_repr:  document why these use sprintf</title>
<updated>2001-12-03T01:55:38Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-12-03T01:55:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9161c8b0a1902269a3fad313ed201137d803dcd4'/>
<id>urn:sha1:9161c8b0a1902269a3fad313ed201137d803dcd4</id>
<content type='text'>
instead of PyOS_snprintf; add some relevant comments and asserts.
</content>
</entry>
<entry>
<title>Patch 487906: update inline docs.</title>
<updated>2001-12-02T18:09:41Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2001-12-02T18:09:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d132750206afe3d634f46d48c127f8f673aaaae3'/>
<id>urn:sha1:d132750206afe3d634f46d48c127f8f673aaaae3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sprintf -&gt; PyOS_snprintf in some "obviously safe" cases.</title>
<updated>2001-11-28T20:27:42Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-11-28T20:27:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=885d457709c1d680c899dc3d035a47c8fb514cfa'/>
<id>urn:sha1:885d457709c1d680c899dc3d035a47c8fb514cfa</id>
<content type='text'>
Also changed &lt;&gt;-style #includes to ""-style in some places where the
former didn't make sense.
</content>
</entry>
<entry>
<title>Make the error message for unsupported operand types cleaner, in</title>
<updated>2001-10-22T04:12:44Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-10-22T04:12:44Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5c66a26dee41853a9ce43b75965cc16b8e34aef0'/>
<id>urn:sha1:5c66a26dee41853a9ce43b75965cc16b8e34aef0</id>
<content type='text'>
response to a message by Laura Creighton on c.l.py.  E.g.

    &gt;&gt;&gt; 0+''
    TypeError: unsupported operand types for +: 'int' and 'str'

(previously this did not mention the operand types)

    &gt;&gt;&gt; ''+0
    TypeError: cannot concatenate 'str' and 'int' objects
</content>
</entry>
<entry>
<title>SF bug [#468061] __str__ ignored in str subclass.</title>
<updated>2001-10-16T20:18:24Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-10-16T20:18:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c993315b188b08b6d78248522f6d0ed31d52f939'/>
<id>urn:sha1:c993315b188b08b6d78248522f6d0ed31d52f939</id>
<content type='text'>
object.c, PyObject_Str:  Don't try to optimize anything except exact
string objects here; in particular, let str subclasses go thru tp_str,
same as non-str objects.  This allows overrides of tp_str to take
effect.

stringobject.c:
+ string_print (str's tp_print):  If the argument isn't an exact string
  object, get one from PyObject_Str.

+ string_str (str's tp_str):  Make a genuine-string copy of the object if
  it's of a proper str subclass type.  str() applied to a str subclass
  that doesn't override __str__ ends up here.

test_descr.py:  New str_of_str_subclass() test.
</content>
</entry>
<entry>
<title>Remove extra "]" in splitlines() docstring.</title>
<updated>2001-10-13T15:57:55Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2001-10-13T15:57:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2bae4face24ac270520ca88f763886d1dca5a705'/>
<id>urn:sha1:2bae4face24ac270520ca88f763886d1dca5a705</id>
<content type='text'>
Reported by Neal Norwitz.
</content>
</entry>
</feed>
