"R. David Murray" wrote:
> My guess, after searching for the keyword 'map' and finding an
> interface that calls for the implementation of __getitem__ and says
> this allows 'for' loops and 'map' iterations, is that you can just
> drop the call to the .map method and use the IOBtree directly as
> the argument to the map function.  But in the absence of real
> knowledge about what the .map method of the old IOBTree does, that
> is just a guess.

Well, to give you an idea of what it did, here's the method I had to write
toreplace the functionality:

    def data_map(self,ids):
        for id in ids:
        return result

self.data is an IOBTree.

If this can be replaced wiith a simple return map(...,self.data), please let me
know :-)



Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to