Am 17.06.2010, 11:28 Uhr, schrieb Wichert Akkerman <wich...@wiggy.net>:

> I noticed something odd in repoze.folder: __setitem__ does not allow you
> to replace an existing item. This is a result from __setitem__ being an
> alias for add(). Is that a deliberate design decision? If not I'ld like
> to change it to allow replacing items.

This is standard behaviour for folders (the not accepting duplicates). I  
think changing it would be against user expectations.

Charlie
-- 
Charlie Clark
Managing Director
Clark Consulting & Research
German Office
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-600-3657
Mobile: +49-178-782-6226
_______________________________________________
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev

Reply via email to