How to use generators?

Ian Vincent i_vincent at
Thu Nov 10 09:33:20 CET 2005

Tom Anderson <twic at> wrote in
news:Pine.LNX.4.62.0511091853420.25586 at 
> Exactly - using a queue means you'll do a breadth-first rather than a 
> depth-first search, which will involve much less depth of recursion.
> See: 

Thanks for the answers but found a easier (admittedly cheating) way around 
the the code on my 64bit Linux system at home.

More information about the Python-list mailing list