Re: [Zope3-Users] Re: Blog naming proposals

2007-06-06 Thread Lennart Regebro
On 6/2/07, Martin Aspeli [EMAIL PROTECTED] wrote: FWIW, I think it'd sound a lot less like a tool for l33t teenagers if it didn't have the Z in it, but otherwise a good choice of name. :) So, it needs to be N01z3, then. :-) Me speek l33t. -- Lennart Regebro: Zope and Plone consulting.

[Zope3-Users] Evolution of ZoDB after changing python modules structure (moving content classes to another module)

2007-06-06 Thread Alek Kowalczyk
Hi, I have just done some slight refactoring of my code. Ok, it's not even refactoring, just a tree structure cleanup. I moved my content class from mypackage.mymodule.MyContentClass into mypackage.mysubpackage.mymodule.MyContentClass. I changed all the paths in imports and Unit Tests work

[Zope3-Users] problems deleting objects in containers

2007-06-06 Thread Dominique Lederer
hi i want to delete objects in my container, for that i do for xx in container.keys(): logging.info(xx) del container[xx] but only every second obj is deleted, the loop touches objects in this order: 1,3,5,7,. if i remove the del statement from the upper example, the loop works as

Re: [Zope3-Users] problems deleting objects in containers

2007-06-06 Thread Dominique Lederer
Dominique Lederer wrote: hi i want to delete objects in my container, for that i do for xx in container.keys(): logging.info(xx) del container[xx] but only every second obj is deleted, the loop touches objects in this order: 1,3,5,7,. if i remove the del statement from the

Re: [Zope3-Users] problems deleting objects in containers

2007-06-06 Thread Benji York
Dominique Lederer wrote: for xx in [key for key in container.keys()]: del container[xx] Or: container.clear() -- Benji York Senior Software Engineer Zope Corporation ___ Zope3-users mailing list Zope3-users@zope.org

Re: [Zope3-Users] problems with catalog: indexing field from an objects adapter

2007-06-06 Thread Bernd Dorn
On 28.03.2007, at 13:19, Dominique Lederer wrote: hi, I want to index a field from an object, which works perfectly via Catalog and Field Index. But if my callable field returns a value, which is returned from an adapter of the object, things get complicated for me: i create my object