<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects/stringlib/find.h, branch 2.7</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/stringlib/find.h?h=2.7</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/stringlib/find.h?h=2.7'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2011-04-20T14:39:15Z</updated>
<entry>
<title>startswith and endswith don't accept None as slice index. Patch by Torsten Becker. (closes #11828)</title>
<updated>2011-04-20T14:39:15Z</updated>
<author>
<name>Jesus Cea</name>
<email>jcea@jcea.es</email>
</author>
<published>2011-04-20T14:39:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=44e81687a22b5890e9fddc80de6afaeb1757aa6d'/>
<id>urn:sha1:44e81687a22b5890e9fddc80de6afaeb1757aa6d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #7622: Improve the split(), rsplit(), splitlines() and replace()</title>
<updated>2010-01-13T07:55:48Z</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2010-01-13T07:55:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6467213bfd10dd45f0ae6fa607c8052a3bdaec23'/>
<id>urn:sha1:6467213bfd10dd45f0ae6fa607c8052a3bdaec23</id>
<content type='text'>
methods of bytes, bytearray and unicode objects by using a common
implementation based on stringlib's fast search.  Patch by Florent Xicluna.
</content>
</entry>
<entry>
<title>Issue #7462: Implement the stringlib fast search algorithm for the `rfind`,</title>
<updated>2010-01-02T21:12:58Z</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2010-01-02T21:12:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5b7139aab41becad7ad736bd9ff2332960bf67f9'/>
<id>urn:sha1:5b7139aab41becad7ad736bd9ff2332960bf67f9</id>
<content type='text'>
`rindex`, `rsplit` and `rpartition` methods.  Patch by Florent Xicluna.
</content>
</entry>
<entry>
<title>#3967: Correct a crash in count() and find() methods of string-like objects.</title>
<updated>2008-09-26T22:34:08Z</updated>
<author>
<name>Amaury Forgeot d'Arc</name>
<email>amauryfa@gmail.com</email>
</author>
<published>2008-09-26T22:34:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fc5ea3928947152d60c3a1d1c456345a64774cf0'/>
<id>urn:sha1:fc5ea3928947152d60c3a1d1c456345a64774cf0</id>
<content type='text'>
For example:
   "".count("xxxx", sys.maxint, 0)

Reviewed by Benjamin Peterson.
Will port to 2.5 and 3.0.
</content>
</entry>
<entry>
<title>Silenced compiler warning</title>
<updated>2008-08-22T19:47:25Z</updated>
<author>
<name>Christian Heimes</name>
<email>christian@cheimes.de</email>
</author>
<published>2008-08-22T19:47:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7d4c3177d541bb65d2d98aae165b0be9186e74f6'/>
<id>urn:sha1:7d4c3177d541bb65d2d98aae165b0be9186e74f6</id>
<content type='text'>
Objects/stringlib/find.h:97: warning: 'stringlib_contains_obj' defined but not used
Reviewed by Benjamin Peterson
</content>
</entry>
<entry>
<title>Made _ParseTupleFinds only defined to unicodeobject.c</title>
<updated>2007-11-16T19:16:15Z</updated>
<author>
<name>Facundo Batista</name>
<email>facundobatista@gmail.com</email>
</author>
<published>2007-11-16T19:16:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6f7e6fb7a2e5f379a140f320e7c19cb171ab72c1'/>
<id>urn:sha1:6f7e6fb7a2e5f379a140f320e7c19cb171ab72c1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix for stupid error (I need to remember to do a full 'make clean + make'</title>
<updated>2007-11-16T18:41:24Z</updated>
<author>
<name>Facundo Batista</name>
<email>facundobatista@gmail.com</email>
</author>
<published>2007-11-16T18:41:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=292a069b88b72d910dee2e70a98af5d63982ebd1'/>
<id>urn:sha1:292a069b88b72d910dee2e70a98af5d63982ebd1</id>
<content type='text'>
cycle before the tests...). Sorry.
</content>
</entry>
<entry>
<title>Now in find, rfind, index, and rindex, you can use None as defaults,</title>
<updated>2007-11-16T18:04:14Z</updated>
<author>
<name>Facundo Batista</name>
<email>facundobatista@gmail.com</email>
</author>
<published>2007-11-16T18:04:14Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=57d5669f4be86fcaf21f95436fcd5142ffe5efae'/>
<id>urn:sha1:57d5669f4be86fcaf21f95436fcd5142ffe5efae</id>
<content type='text'>
as usual with slicing (both with str and unicode strings).  This
fixes issue 1259.

For str only the stringobject.c file was modified.  But for unicode,
I needed to repeat in the four functions a lot of code, so created
a new function that does part of the job for them (and placed it in
find.h, following a suggestion of Barry).

Also added tests for this behaviour.
</content>
</entry>
<entry>
<title>changed find/rfind to return -1 for matches outside the source string</title>
<updated>2006-05-30T17:11:48Z</updated>
<author>
<name>Fredrik Lundh</name>
<email>fredrik@pythonware.com</email>
</author>
<published>2006-05-30T17:11:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=93eff6fecd6563c04ab6a15c546f00852ef8e639'/>
<id>urn:sha1:93eff6fecd6563c04ab6a15c546f00852ef8e639</id>
<content type='text'>
</content>
</entry>
<entry>
<title>needforspeed: stringlib refactoring: changed find_obj to find_slice,</title>
<updated>2006-05-27T15:20:22Z</updated>
<author>
<name>Fredrik Lundh</name>
<email>fredrik@pythonware.com</email>
</author>
<published>2006-05-27T15:20:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=60d8b1883113b35fa72e94dbf58e2e439120a1ae'/>
<id>urn:sha1:60d8b1883113b35fa72e94dbf58e2e439120a1ae</id>
<content type='text'>
to enable use from stringobject
</content>
</entry>
</feed>
