[Zope] Fun with Trees

Rik Hoekstra rik.hoekstra@inghist.nl
Mon, 03 Jul 2000 14:49:28 +0200


<snip>
> Not sure.  Supposedly objectValues() returns "actual objects", and
> I assumed that using sequence-item would be something closer to that.
> <shrug>  The finer points of python are still lost on me, but I'm working
> on it.

Hm, you're right of course.

> 
> The bigger problem seems to be the namespace issue that Dieter was
> speaking of.  When I tried your code, I got Attribute errors on
> __getitem__.  It appears that Tree does not inherit the usual DMTL
> namespace.  I've been looking at Tree trying to figure out how to add
> it back in or somehow sneak my namespace into it, wondering what I'll
> break in the process.  (But that's what makes Zope so interesting! 8-)

Yeah tree does some things. What does your tree-code like? 

Rik