faassen at infrae.com
Fri Oct 20 04:15:18 EDT 2006
Philipp von Weitershausen wrote:
> Christian Theune wrote:
>> The most simple solution I can imagine would be to define a default
>> traverse() on the container that does the dict lookup.
> That's a good solution.
Hm, I think I disagree.
I think in general objects should have whatever traversal behavior
they do normally, and let traverse() be available for override. We don't
want to *reimplement* its normal traversal behavior with traverse.
More information about the Grok-dev