summaryrefslogtreecommitdiff
path: root/Lib/test/test_generators.py
AgeCommit message (Expand)AuthorLines
2004-02-12Replace backticks with repr() or "%r"Walter Dörwald-1/+1
2002-12-30This test depends on the exact ordering produced by the WichmannHillRaymond Hettinger-3/+3
2002-08-09Add tests for weakref support for generator-iterators.Fred Drake-1/+27
2002-07-23Get rid of relative imports in all unittests. Now anything thatBarry Warsaw-1/+3
2002-07-16Whitespace normalization.Tim Peters-1/+1
2002-06-12SF bug 567538: Generator can crash the interpreter (Finn Bock).Guido van Rossum-0/+20
2002-04-03Add the 'bool' type and its values 'False' and 'True', as described inGuido van Rossum-12/+12
2002-04-01Remove some now-obsolete generator future statements.Tim Peters-2/+0
2002-03-10SF patch 499062: Minor typo in test_generators.py.Tim Peters-1/+1
2001-12-06SF bug #488514: -Qnew needs workTim Peters-6/+6
2001-09-09Teach regrtest how to pass on doctest failure msgs. This is done via aTim Peters-5/+5
2001-09-03Make dir() wordier (see the new docstring). The new behavior is a mixedTim Peters-7/+1
2001-08-16The change of type(None).__name__ from 'None' to 'NoneType' broke thisGuido van Rossum-2/+2
2001-08-15Move one of the tests into the "PEP 255" section, to reflect a change inTim Peters-12/+15
2001-08-10The message accompanying the TypeError exception on a readonlyGuido van Rossum-1/+1
2001-08-02Merge of descr-branch back into trunk.Tim Peters-2/+8
2001-07-16Part way to allowing "from __future__ import generators" to communicateTim Peters-0/+2
2001-07-13Having fun on my own time: quicker flat_conjoin; Knights Tour solverTim Peters-113/+123
2001-07-12Remove the last remnants of the hacks to worm around leaks.Tim Peters-12/+3
2001-07-12Repair flawed example.Tim Peters-1/+1
2001-07-12Remove now-unnecessary "from __future__ import nested_scopes" stmts.Tim Peters-2/+0
2001-07-12Remove reference cycle breaking code. The GC now takes care of it.Neil Schemenauer-7/+1
2001-07-04Added a non-recursive implementation of conjoin(), and a Knight's Tourunknown-2/+291
2001-07-02A clever union-find implementation from c.l.py, due to David Eppstein.Tim Peters-0/+77
2001-06-30Derive an industrial-strength conjoin() via cross-recursion loop unrolling,Tim Peters-9/+83
2001-06-29Added a simple but general backtracking generator (conjoin), and a coupleTim Peters-1/+162
2001-06-28Another "if 0:" hack, this time to complain about otherwise invisibleTim Peters-0/+33
2001-06-27This no longer leaks memory when run in an infinite loop. However,Tim Peters-81/+58
2001-06-26gen_getattr: make the gi_running and gi_frame members discoverable (butTim Peters-2/+22
2001-06-26SF bug #436207: "if 0: yield x" is ignored.Tim Peters-7/+128
2001-06-25Teach the types module about generators. Thanks to James Althoff on theTim Peters-0/+20
2001-06-25Repair indentation in comment.Tim Peters-2/+9
2001-06-24Added a "generate k-combinations of a list" example posted to c.l.py.Tim Peters-1/+49
2001-06-24New tests to provoke SyntaxErrors unique to generators. Minor fiddlingTim Peters-6/+85
2001-06-24Another variant of the 2-3-5 test, mixing generators with a LazyList class.Tim Peters-0/+37
2001-06-24More tests.Tim Peters-1/+68
2001-06-23Add a recursive Sieve of Eratosthenes prime generator. Not practical,Tim Peters-1/+39
2001-06-23Add all the examples from PEP 255, and a few email examples.Tim Peters-2/+183
2001-06-23New std test for generators, initially populated with doctests NeilS putTim Peters-0/+139