Andreas' practical language comparison

Terry Reedy tjreedy at udel.edu
Thu Apr 29 22:04:49 EDT 2004


> I think there's an n-queens solution by Tim Peters somewhere, written
> as an example of Python simple generators (which is mostly 'his'
> language feature, IIRC).

It is in Lib/test/test_generators.py.   It also has other examples of fancy
footwork with generators .  Anyone interested in the topic should read it.

Terry J. Reedy







More information about the Python-list mailing list