Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
f6ed0740a89bea8a8b219c3dbce0702e25e18bd8
/
Lib
/
test
/
test_generators.py
f6ed074
This no longer leaks memory when run in an infinite loop. However,
by Tim Peters
· 23 years ago
e77f2e2
gen_getattr: make the gi_running and gi_frame members discoverable (but
by Tim Peters
· 23 years ago
b6c3cea
SF bug #436207: "if 0: yield x" is ignored.
by Tim Peters
· 23 years ago
3e7b1a0
Teach the types module about generators. Thanks to James Althoff on the
by Tim Peters
· 23 years ago
2106ef0
Repair indentation in comment.
by Tim Peters
· 23 years ago
b2bc6a9
Added a "generate k-combinations of a list" example posted to c.l.py.
by Tim Peters
· 23 years ago
ea2e97a
New tests to provoke SyntaxErrors unique to generators. Minor fiddling
by Tim Peters
· 23 years ago
ee30927
Another variant of the 2-3-5 test, mixing generators with a LazyList class.
by Tim Peters
· 23 years ago
b9e9ff1
More tests.
by Tim Peters
· 23 years ago
0f9da0a
Add a recursive Sieve of Eratosthenes prime generator. Not practical,
by Tim Peters
· 23 years ago
6ba5f79
Add all the examples from PEP 255, and a few email examples.
by Tim Peters
· 23 years ago
1def351
New std test for generators, initially populated with doctests NeilS put
by Tim Peters
· 23 years ago