[Zope-dev] Why is TemplateDict so opaque? -and- Have you seen this problem?

Dave Parker dparker@globalcrossing.com
Thu, 16 Dec 1999 07:09:41 -0600


Anthony Baxter wrote:

> The problem is that it's implemented as a multimapping. To do keys(),
> items(), &c you'd have to walk the multimapping and search each object.

Yeah, I saw that in there, but the thing is it's not like I'd want to
use that for anything else other than trying to figure out what is going
on in the namespace.  You'd be able to do so much with that extra bit of
information when you get a traceback, for instance.  Right now it's so
opaque as to be frightening (hey, what are you hiding, man?!?)  ;-)