Antoine Pitrou wrote: > By doing the traversal iteratively rather than recursively. Well, I admit > the following function took a couple of attempts to get right: It's also a totally unreasonable amount of obfuscation to endure just to be able to traverse the tree with a generator. -- Greg