<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects/iterobject.c, branch v2.2.1</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/iterobject.c?h=v2.2.1</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/iterobject.c?h=v2.2.1'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2001-08-16T13:15:00Z</updated>
<entry>
<title>Patch #427190: Implement and use METH_NOARGS and METH_O.</title>
<updated>2001-08-16T13:15:00Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2001-08-16T13:15:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e3eb1f2b2320bceb10a763ec8691200b85ec287a'/>
<id>urn:sha1:e3eb1f2b2320bceb10a763ec8691200b85ec287a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge of descr-branch back into trunk.</title>
<updated>2001-08-02T04:15:00Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-08-02T04:15:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6d6c1a35e08b95a83dbe47dbd9e6474daff00354'/>
<id>urn:sha1:6d6c1a35e08b95a83dbe47dbd9e6474daff00354</id>
<content type='text'>
</content>
</entry>
<entry>
<title>GC for iterator objects.</title>
<updated>2001-07-12T13:27:25Z</updated>
<author>
<name>Neil Schemenauer</name>
<email>nascheme@enme.ucalgary.ca</email>
</author>
<published>2001-07-12T13:27:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7eac9b72d45f68d82e1dc463d1050aa86af94709'/>
<id>urn:sha1:7eac9b72d45f68d82e1dc463d1050aa86af94709</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Discard a misleading comment about iter_iternext().</title>
<updated>2001-05-01T17:01:25Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-05-01T17:01:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=47668928e6f02713a1fbd27b434b08b08ca75d1b'/>
<id>urn:sha1:47668928e6f02713a1fbd27b434b08b08ca75d1b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Mondo changes to the iterator stuff, without changing how Python code</title>
<updated>2001-04-23T14:08:49Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-04-23T14:08:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=213c7a6aa5889f42495352199715a1c1a0833a00'/>
<id>urn:sha1:213c7a6aa5889f42495352199715a1c1a0833a00</id>
<content type='text'>
sees it (test_iter.py is unchanged).

- Added a tp_iternext slot, which calls the iterator's next() method;
  this is much faster for built-in iterators over built-in types
  such as lists and dicts, speeding up pybench's ForLoop with about
  25% compared to Python 2.1.  (Now there's a good argument for
  iterators. ;-)

- Renamed the built-in sequence iterator SeqIter, affecting the C API
  functions for it.  (This frees up the PyIter prefix for generic
  iterator operations.)

- Added PyIter_Check(obj), which checks that obj's type has a
  tp_iternext slot and that the proper feature flag is set.

- Added PyIter_Next(obj) which calls the tp_iternext slot.  It has a
  somewhat complex return condition due to the need for speed: when it
  returns NULL, it may not have set an exception condition, meaning
  the iterator is exhausted; when the exception StopIteration is set
  (or a derived exception class), it means the same thing; any other
  exception means some other error occurred.
</content>
</entry>
<entry>
<title>Adding iterobject.[ch], which were accidentally not added.  Sorry\!</title>
<updated>2001-04-20T21:06:46Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-04-20T21:06:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=05311481d470fe59e9a23d9c165e09f0e3a4ee2e'/>
<id>urn:sha1:05311481d470fe59e9a23d9c165e09f0e3a4ee2e</id>
<content type='text'>
</content>
</entry>
</feed>
