<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/test_enumerate.py, branch 2.6</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_enumerate.py?h=2.6</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_enumerate.py?h=2.6'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2010-05-25T19:47:22Z</updated>
<entry>
<title>Merged revisions 81527 via svnmerge from</title>
<updated>2010-05-25T19:47:22Z</updated>
<author>
<name>Mark Dickinson</name>
<email>dickinsm@gmail.com</email>
</author>
<published>2010-05-25T19:47:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7620f66397fbbd49ed4894a80de3d56356e6273e'/>
<id>urn:sha1:7620f66397fbbd49ed4894a80de3d56356e6273e</id>
<content type='text'>
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r81527 | mark.dickinson | 2010-05-25 20:44:49 +0100 (Tue, 25 May 2010) | 1 line

  Fix a NameError in test_enumerate.
........
</content>
</entry>
<entry>
<title>Merged revisions 80991 via svnmerge from</title>
<updated>2010-05-08T16:51:40Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2010-05-08T16:51:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=614813941dcb3846af93faa1f69731158e2d4c90'/>
<id>urn:sha1:614813941dcb3846af93faa1f69731158e2d4c90</id>
<content type='text'>
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r80991 | benjamin.peterson | 2010-05-08 11:44:52 -0500 (Sat, 08 May 2010) | 1 line

  run and fix enumerate start test cases #8636
........
</content>
</entry>
<entry>
<title>Don't allow keyword arguments to reversed().</title>
<updated>2008-05-16T13:24:29Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2008-05-16T13:24:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ecf9091f59c31ca868dbf2d9626a9a697c1a084b'/>
<id>urn:sha1:ecf9091f59c31ca868dbf2d9626a9a697c1a084b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>#2831: add start argument to enumerate(). Patch by Scott Dial and me.</title>
<updated>2008-05-13T19:04:54Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2008-05-13T19:04:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=913835763a4734097423c49e284ce8d4b1093917'/>
<id>urn:sha1:913835763a4734097423c49e284ce8d4b1093917</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Convert iterator __len__() methods to a private API.</title>
<updated>2005-09-24T21:23:05Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2005-09-24T21:23:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6b27cda64386195cd07dfb686e9486f1c4bc3159'/>
<id>urn:sha1:6b27cda64386195cd07dfb686e9486f1c4bc3159</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Whitespace normalization.</title>
<updated>2005-07-17T23:16:17Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2005-07-17T23:16:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f5f32b47128763a1f782782bd5a1a125b6d8b28b'/>
<id>urn:sha1:f5f32b47128763a1f782782bd5a1a125b6d8b28b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix:</title>
<updated>2005-07-12T10:21:19Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2005-07-12T10:21:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0edc7a03e2505c4e9b3186f8b6caa18a7b3988e2'/>
<id>urn:sha1:0edc7a03e2505c4e9b3186f8b6caa18a7b3988e2</id>
<content type='text'>
[ 1229429 ] missing Py_DECREF in PyObject_CallMethod

Add a test in test_enumerate, which is a bit random, but suffices
(reversed_new calls PyObject_CallMethod under some circumstances).
</content>
</entry>
<entry>
<title>Improve test coverage.</title>
<updated>2004-09-29T11:40:50Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-09-29T11:40:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ff5dc0ee7740feba895e7ddfbdda37d9064c045e'/>
<id>urn:sha1:ff5dc0ee7740feba895e7ddfbdda37d9064c045e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use floor division operator.</title>
<updated>2004-09-27T15:29:05Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-09-27T15:29:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ffdb8bb99c4017152a9dca70669f9d6b9831d454'/>
<id>urn:sha1:ffdb8bb99c4017152a9dca70669f9d6b9831d454</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Tidied up the implementations of reversed (including the custom ones</title>
<updated>2004-03-10T10:10:42Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-03-10T10:10:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ef9bf4031a2f9ec674817274c93a90e0f21db114'/>
<id>urn:sha1:ef9bf4031a2f9ec674817274c93a90e0f21db114</id>
<content type='text'>
for xrange and list objects).

* list.__reversed__ now checks the length of the sequence object before
  calling PyList_GET_ITEM() because the mutable could have changed length.

* all three implementations are now tranparent with respect to length and
  maintain the invariant len(it) == len(list(it)) even when the underlying
  sequence mutates.

* __builtin__.reversed() now frees the underlying sequence as soon
  as the iterator is exhausted.

* the code paths were rearranged so that the most common paths
  do not require a jump.
</content>
</entry>
</feed>
