<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/test_iter.py, branch v2.2</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_iter.py?h=v2.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_iter.py?h=v2.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2001-12-03T19:33:25Z</updated>
<entry>
<title>unpack_iterable(): Add a missing DECREF in an error case.  Reported by</title>
<updated>2001-12-03T19:33:25Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2001-12-03T19:33:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bb8f59a37148eb81ef1a1a26a6fb6e1e03583d12'/>
<id>urn:sha1:bb8f59a37148eb81ef1a1a26a6fb6e1e03583d12</id>
<content type='text'>
Armin Rigo (SF bug #488477).  Added a testcase to test_unpack_iter()
in test_iter.py.
</content>
</entry>
<entry>
<title>Whitespace normalization.</title>
<updated>2001-10-04T05:36:56Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-10-04T05:36:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=527e64fd68046cb6e2ff35afaf077160346d37ff'/>
<id>urn:sha1:527e64fd68046cb6e2ff35afaf077160346d37ff</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Generalize file.writelines() to allow iterable objects.</title>
<updated>2001-09-23T04:06:05Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-09-23T04:06:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2c9aa5ea8d13de7372c8c8587e96479223ea420d'/>
<id>urn:sha1:2c9aa5ea8d13de7372c8c8587e96479223ea420d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Change the PyUnit-based tests to use the test_main() approach.  This</title>
<updated>2001-09-20T21:33:42Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2001-09-20T21:33:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2e2be3760ccdfd4bdde4afdd66f4078022ba3b61'/>
<id>urn:sha1:2e2be3760ccdfd4bdde4afdd66f4078022ba3b61</id>
<content type='text'>
allows using the tests with unittest.py as a script.  The tests will
still run when run as a script themselves.
</content>
</entry>
<entry>
<title>Generalize operator.indexOf (PySequence_Index) to work with any</title>
<updated>2001-09-08T04:00:12Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-09-08T04:00:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=16a77adfbd745c202878fabb0b921514fec7ca16'/>
<id>urn:sha1:16a77adfbd745c202878fabb0b921514fec7ca16</id>
<content type='text'>
iterable object.  I'm not sure how that got overlooked before!

Got rid of the internal _PySequence_IterContains, introduced a new
internal _PySequence_IterSearch, and rewrote all the iteration-based
"count of", "index of", and "is the object in it or not?" routines to
just call the new function.  I suppose it's slower this way, but the
code duplication was getting depressing.
</content>
</entry>
<entry>
<title>Patch #445762: Support --disable-unicode</title>
<updated>2001-08-17T18:39:25Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2001-08-17T18:39:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=339d0f720e86dc34837547c90d3003a4a68d7d46'/>
<id>urn:sha1:339d0f720e86dc34837547c90d3003a4a68d7d46</id>
<content type='text'>
- Do not compile unicodeobject, unicodectype, and unicodedata if Unicode is disabled
- check for Py_USING_UNICODE in all places that use Unicode functions
- disables unicode literals, and the builtin functions
- add the types.StringTypes list
- remove Unicode literals from most tests.
</content>
</entry>
<entry>
<title>Teach the UNPACK_SEQUENCE opcode how to tease an iterable object into</title>
<updated>2001-06-21T02:49:55Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-06-21T02:49:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d6d010b874a82df889037bdb1cc71032d2155034'/>
<id>urn:sha1:d6d010b874a82df889037bdb1cc71032d2155034</id>
<content type='text'>
giving up the goods.
NEEDS DOC CHANGES
</content>
</entry>
<entry>
<title>Generalize zip() to work with iterators.</title>
<updated>2001-05-06T01:05:02Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-05-06T01:05:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8572b4fedf7e6ee4cd350680d53cd0a21574b083'/>
<id>urn:sha1:8572b4fedf7e6ee4cd350680d53cd0a21574b083</id>
<content type='text'>
NEEDS DOC CHANGES.
More AttributeErrors transmuted into TypeErrors, in test_b2.py, and,
again, this strikes me as a good thing.
This checkin completes the iterator generalization work that obviously
needed to be done.  Can anyone think of others that should be changed?
</content>
</entry>
<entry>
<title>Get rid of silly 5am "del" stmts.</title>
<updated>2001-05-05T21:36:52Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-05-05T21:36:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ef0c42d4e5d0d7493395b1e3c37fe53dc48a377f'/>
<id>urn:sha1:ef0c42d4e5d0d7493395b1e3c37fe53dc48a377f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reimplement PySequence_Contains() and instance_contains(), so they work</title>
<updated>2001-05-05T21:05:01Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-05-05T21:05:01Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=cb8d368b824a38a0b04598ba2bcd107d6aae3595'/>
<id>urn:sha1:cb8d368b824a38a0b04598ba2bcd107d6aae3595</id>
<content type='text'>
safely together and don't duplicate logic (the common logic was factored
out into new private API function _PySequence_IterContains()).
Visible change:
    some_complex_number  in  some_instance
no longer blows up if some_instance has __getitem__ but neither
__contains__ nor __iter__.  test_iter changed to ensure that remains true.
</content>
</entry>
</feed>
