summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-06-29 02:41:16 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-06-29 02:41:16 (GMT)
commitbe4f0a7748433fb051f6d67bf24c77a73add6a12 (patch)
tree8a8b415aef1803e38e3467d65d77bb7f7d72f371 /Python
parent7becc91fefacaffc403b0cb47178a3d817843cad (diff)
downloadcpython-be4f0a7748433fb051f6d67bf24c77a73add6a12.zip
cpython-be4f0a7748433fb051f6d67bf24c77a73add6a12.tar.gz
cpython-be4f0a7748433fb051f6d67bf24c77a73add6a12.tar.bz2
Added a simple but general backtracking generator (conjoin), and a couple
examples of use. These poke stuff not specifically targeted before, incl. recursive local generators relying on nested scopes, ditto but also inside class methods and rebinding instance vars, and anonymous partially-evaluated generators (the N-Queens solver creates a different column-generator for each row -- AFAIK this is my invention, and it's really pretty <wink>). No problems, not even a new leak.
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions