summaryrefslogtreecommitdiff
path: root/Lib/test/test_generators.py
AgeCommit message (Expand)AuthorLines
2006-07-30Patch #1531113: Fix augmented assignment with yield expressions.Neal Norwitz-3/+36
2006-06-04Patch #1346214: correctly optimize away "if 0"-style stmtsGeorg Brandl-3/+3
2006-04-15Add missing DECREF to PyErr_WriteUnraisable(). That function reportsThomas Wouters-2/+34
2006-04-15Consolidate 'leak_test1' and 'refleaks_tests', since they both test for theThomas Wouters-17/+15
2006-04-15Add missing PyObject_GC_Track call, causing *some* itertools.tee objects toThomas Wouters-17/+6
2006-04-15Changed comments to make sense now that the LazyList-basedTim Peters-4/+6
2006-04-15Fix SF#1470508: crash in generator cycle finalization. There were twoPhillip J. Eby-7/+0
2006-04-14Move the old test_generator_cycle.py which leaked but was removed into the testNeal Norwitz-0/+17
2006-03-31Fix the reference leak in test_generators, by explicitly breaking the cycleThomas Wouters-9/+19
2006-03-28In true regression-test spirit, make sure theThomas Wouters-0/+29
2006-03-25Support throw() of string exceptions.Phillip J. Eby-2/+4
2005-12-25Whitespace normalization.Tim Peters-1/+1
2005-11-27Improve test coverage. Hope the test_file changes work the same on windows.Neal Norwitz-0/+5
2005-10-22Revert previous checkin:Neal Norwitz-1/+1
2005-10-21Add comment lost from AST mergeNeal Norwitz-1/+1
2005-10-20Merge ast-branch to headJeremy Hylton-1/+1
2005-08-26Whitespace normalization (via reindent.py).Tim Peters-3/+3
2005-08-24[ 1113421 ] New tutorial tests in test_generators.pyGeorg Brandl-0/+78
2005-08-07Whitespace normalization (ran reindent.py over the whole tree).Tim Peters-10/+10
2005-08-02PEP 342 implementation. Per Guido's comments, the generator throw()Phillip J. Eby-15/+261
2004-09-13DocTestFinder._find(): for tests derived from a module __test__ global,Tim Peters-6/+6
2004-08-27Removed old "if 0:" block for leak detection; wouldn't work anymore anyway.Tim Peters-8/+1
2004-08-27Don't really need ellipsis doctests for the syntax errors, becauseTim Peters-12/+12
2004-08-27Fixed 6 failures due to doctest changes.Tim Peters-16/+16
2004-08-09Fixed doctest error (wrong prompts)Edward Loper-3/+3
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