Re: [ZODB-Dev] How to cause commit with non-PersistentDict?

2012-06-19 Thread Marius Gedminas
On Tue, Jun 19, 2012 at 04:22:43PM -0400, Claudiu Saftoiu wrote: > Hello all, > > Say I have a: > > class Foo(Persistent): > def __init__(self, bar): > self.my_dict = PersistentDict({'keyis': bar}) > def update_it(self, bar): > self.my_dict['keyis'] = b

[ZODB-Dev] How to cause commit with non-PersistentDict?

2012-06-19 Thread Claudiu Saftoiu
Hello all, Say I have a: class Foo(Persistent): def __init__(self, bar): self.my_dict = PersistentDict({'keyis': bar}) def update_it(self, bar): self.my_dict['keyis'] = bar If I want to use a `dict`, instead (it seems it might be faster for my larger e