<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/string_tests.py, branch v2.7a2</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/test/string_tests.py?h=v2.7a2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/string_tests.py?h=v2.7a2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2010-01-02T21:53:44Z</updated>
<entry>
<title>Remove silly conditional.</title>
<updated>2010-01-02T21:53:44Z</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2010-01-02T21:53:44Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b538d546da7a306300377bc3f38f659f0f7df832'/>
<id>urn:sha1:b538d546da7a306300377bc3f38f659f0f7df832</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add tests for issue #7458: str.rfind() would crash when called with an invalid</title>
<updated>2010-01-02T21:47:10Z</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2010-01-02T21:47:10Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=83f86e8e98ff789f1c2832860ff78a59562db37d'/>
<id>urn:sha1:83f86e8e98ff789f1c2832860ff78a59562db37d</id>
<content type='text'>
start value.  The offending code itself was removed as part of #7462.
This patch by Victor Stinner.
</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>Remove restriction on precision when formatting floats.  This is the</title>
<updated>2009-11-23T18:46:41Z</updated>
<author>
<name>Mark Dickinson</name>
<email>dickinsm@gmail.com</email>
</author>
<published>2009-11-23T18:46:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=18cfada1eac3a798fffa658fc67582a450b5a7e6'/>
<id>urn:sha1:18cfada1eac3a798fffa658fc67582a450b5a7e6</id>
<content type='text'>
first step towards removing the %f -&gt; %g switch (see issues 7117,
5859).
</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>Issue #3751: str.rpartition would perform a left-partition when called with</title>
<updated>2008-09-01T19:52:00Z</updated>
<author>
<name>Amaury Forgeot d'Arc</name>
<email>amauryfa@gmail.com</email>
</author>
<published>2008-09-01T19:52:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3571fbfed7c49895a03b8c0de1fa47a9de112da9'/>
<id>urn:sha1:3571fbfed7c49895a03b8c0de1fa47a9de112da9</id>
<content type='text'>
a unicode argument.

will backport.
</content>
</entry>
<entry>
<title>Merged revisions 61750,61752,61754,61756,61760,61763,61768,61772,61775,61805,61809,61812,61819,61917,61920,61930,61933-61934 via svnmerge from</title>
<updated>2008-03-26T12:49:49Z</updated>
<author>
<name>Christian Heimes</name>
<email>christian@cheimes.de</email>
</author>
<published>2008-03-26T12:49:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1a6387e68300b6f554f4f4f044491b7034733442'/>
<id>urn:sha1:1a6387e68300b6f554f4f4f044491b7034733442</id>
<content type='text'>
svn+ssh://pythondev@svn.python.org/python/branches/trunk-bytearray

........
  r61750 | christian.heimes | 2008-03-22 20:47:44 +0100 (Sat, 22 Mar 2008) | 1 line

  Copied files from py3k w/o modifications
........
  r61752 | christian.heimes | 2008-03-22 20:53:20 +0100 (Sat, 22 Mar 2008) | 7 lines

  Take One
  * Added initialization code, warnings, flags etc. to the appropriate places
  * Added new buffer interface to string type
  * Modified tests
  * Modified Makefile.pre.in to compile the new files
  * Added bytesobject.c to Python.h
........
  r61754 | christian.heimes | 2008-03-22 21:22:19 +0100 (Sat, 22 Mar 2008) | 2 lines

  Disabled bytearray.extend for now since it causes an infinite recursion
  Fixed serveral unit tests
........
  r61756 | christian.heimes | 2008-03-22 21:43:38 +0100 (Sat, 22 Mar 2008) | 5 lines

  Added PyBytes support to several places:
  str + bytearray
  ord(bytearray)
  bytearray(str, encoding)
........
  r61760 | christian.heimes | 2008-03-22 21:56:32 +0100 (Sat, 22 Mar 2008) | 1 line

  Fixed more unit tests related to type('') is not unicode
........
  r61763 | christian.heimes | 2008-03-22 22:20:28 +0100 (Sat, 22 Mar 2008) | 2 lines

  Fixed more unit tests
  Fixed bytearray.extend
........
  r61768 | christian.heimes | 2008-03-22 22:40:50 +0100 (Sat, 22 Mar 2008) | 1 line

  Implemented old buffer interface for bytearray
........
  r61772 | christian.heimes | 2008-03-22 23:24:52 +0100 (Sat, 22 Mar 2008) | 1 line

  Added backport of the io module
........
  r61775 | christian.heimes | 2008-03-23 03:50:49 +0100 (Sun, 23 Mar 2008) | 1 line

  Fix str assignement to bytearray. Assignment of a str of size 1 is interpreted as a single byte
........
  r61805 | christian.heimes | 2008-03-23 19:33:48 +0100 (Sun, 23 Mar 2008) | 3 lines

  Fixed more tests
  Fixed bytearray() comparsion with unicode()
  Fixed iterator assignment of bytearray
........
  r61809 | christian.heimes | 2008-03-23 21:02:21 +0100 (Sun, 23 Mar 2008) | 2 lines

  str(bytesarray()) now returns the bytes and not the representation of the bytearray object
  Enabled and fixed more unit tests
........
  r61812 | christian.heimes | 2008-03-23 21:53:08 +0100 (Sun, 23 Mar 2008) | 3 lines

  Clear error PyNumber_AsSsize_t() fails
  Use CHARMASK for ob_svall access
  disabled a test with memoryview again
........
  r61819 | christian.heimes | 2008-03-23 23:05:57 +0100 (Sun, 23 Mar 2008) | 1 line

  Untested updates to the PCBuild directory
........
  r61917 | christian.heimes | 2008-03-26 00:57:06 +0100 (Wed, 26 Mar 2008) | 1 line

  The type system of Python 2.6 has subtle differences to 3.0's. I've removed the Py_TPFLAGS_BASETYPE flags from bytearray for now. bytearray can't be subclasses until the issues with bytearray subclasses are fixed.
........
  r61920 | christian.heimes | 2008-03-26 01:44:08 +0100 (Wed, 26 Mar 2008) | 2 lines

  Disabled last failing test
  I don't understand what the test is testing and how it suppose to work. Ka-Ping, please check it out.
........
  r61930 | christian.heimes | 2008-03-26 12:46:18 +0100 (Wed, 26 Mar 2008) | 1 line

  Re-enabled bytes warning code
........
  r61933 | christian.heimes | 2008-03-26 13:20:46 +0100 (Wed, 26 Mar 2008) | 1 line

  Fixed a bug in the new buffer protocol. The buffer slots weren't copied into a subclass.
........
  r61934 | christian.heimes | 2008-03-26 13:25:09 +0100 (Wed, 26 Mar 2008) | 1 line

  Re-enabled bytearray subclassing - all tests are passing.
........
</content>
</entry>
<entry>
<title>Issue 1742669. Now %d accepts very big float numbers.</title>
<updated>2008-02-24T03:17:21Z</updated>
<author>
<name>Facundo Batista</name>
<email>facundobatista@gmail.com</email>
</author>
<published>2008-02-24T03:17:21Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c11cecf3d0f816893f5765a7b5e25d5f4e3fe531'/>
<id>urn:sha1:c11cecf3d0f816893f5765a7b5e25d5f4e3fe531</id>
<content type='text'>
Thanks Gabriel Genellina.
</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>Improve extended slicing support in builtin types and classes. Specifically:</title>
<updated>2007-08-28T15:28:19Z</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2007-08-28T15:28:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3ccec68a05abae43cf74dc7821c61ba88ab6cb46'/>
<id>urn:sha1:3ccec68a05abae43cf74dc7821c61ba88ab6cb46</id>
<content type='text'>
 - Specialcase extended slices that amount to a shallow copy the same way as
   is done for simple slices, in the tuple, string and unicode case.

 - Specialcase step-1 extended slices to optimize the common case for all
   involved types.

 - For lists, allow extended slice assignment of differing lengths as long
   as the step is 1. (Previously, 'l[:2:1] = []' failed even though
   'l[:2] = []' and 'l[:2:None] = []' do not.)

 - Implement extended slicing for buffer, array, structseq, mmap and
   UserString.UserString.

 - Implement slice-object support (but not non-step-1 slice assignment) for
   UserString.MutableString.

 - Add tests for all new functionality.
</content>
</entry>
</feed>
