namespace dictionaries ok?

Simon Burton simon at
Wed Oct 26 01:58:51 CEST 2005

In my case the deeply nested function calls are recursive calls for a
tree traversal.
This is similar to the visitor design pattern, where the Context class
above is the Visitor. The difference is that the Context instance does
not "visit" or "act" upon the nodes, but just stores state/context
information about the current traversal.


More information about the Python-list mailing list