[Python-Dev] PEP 289: Generator Expressions

Tim Peters tim at zope.com
Thu Oct 23 14:44:24 EDT 2003

FYI, some of the implementations of the backtracking conjoin() operator in
test_generators.py make heavy use of

    for values[i] in gs[i]():

style for-loops.  That style is often useful when generating vectors
representing combinatorial objects.  I could live without it, but so far
haven't needed to prove that <wink>.

More information about the Python-Dev mailing list