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.
http:
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 again
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
expe
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 statemen
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
http://mail.zope.org/mailman/list
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