[Zope-dev] New IOBTrees have no 'map' method

2001-05-07 Thread Chris Withers
Hi, I was going to have the next version of Squishdot use the new BTrees, but it appears that the new objects don't have the same methods as the old ones. In particular, the following line from Squishdot: return map(lambda x, p=self: x.__of__(p), self.data.map(self.site_id_list(currtime)))

Re: [Zope-dev] New IOBTrees have no 'map' method

2001-05-07 Thread Chris McDonough
Have you read the Interfaces.py file in the BTrees directory? - Original Message - From: Chris Withers [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 07, 2001 10:45 AM Subject: [Zope-dev] New IOBTrees have no 'map' method Hi, I was going to have the next version of

Re: [Zope-dev] New IOBTrees have no 'map' method

2001-05-07 Thread Chris Withers
Chris McDonough wrote: Have you read the Interfaces.py file in the BTrees directory? I have now, and to be honest, it didn't mean a lot to me :-( Sorry, it's late here, what am I missing? cheers, Chris ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] New IOBTrees have no 'map' method

2001-05-07 Thread R. David Murray
On Tue, 8 May 2001, Chris Withers wrote: Chris McDonough wrote: Have you read the Interfaces.py file in the BTrees directory? I have now, and to be honest, it didn't mean a lot to me :-( Sorry, it's late here, what am I missing? My guess, after searching for the keyword 'map' and

[Zope-dev] Re: Grrr... Python Scripts

2001-05-07 Thread Evan Simpson
From: Chris Withers [EMAIL PROTECTED] Where should I import CatalogError from? And _please_ don't tell me I have to go through some convoluted security process to do this :-( # After adding security decls from Catalog import CatalogError Use the same security process as providing access to