[Zope-dev] explicit/controlled/filtered acquisition for Folders?

2001-06-08 Thread Michael Halle
without a wholesale copy of the existing classes. To those in the know, how hard would it be to do, and what issues would be involved? Thanks. Michael Halle [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman

[Zope-dev] Re: Creating a namespace

2001-01-28 Thread Michael Halle
is None: return self.__d.items() return filter((lambda x, spec=spec: x[0] in spec), self.__d.items()) def getMap(self, spec=None): items = self.getItems(spec) dict = {} for (i, j) in items: dict[i] = j return dict

[Zope] specifying namespace stacks in dtml-with

2001-01-20 Thread Michael Halle
's the natural order of the stack? If you give the argument "[a, b, c]" to "with", is "a" or "c" on the top of the namespace stack? I'd probably say "a". I'd appreciate any ideas/suggestions others may have. Thanks! Michael Halle [EMAIL PR