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 example), how would I cause a change to the dict to be committed? Is there any way other than this? class Foo(Persistent): def __init__(self, bar): self.my_dict = {'keyis': bar} def update_it(self, bar): self.my_dict['keyis'] = bar self.my_dict = dict(self.my_dict) Thanks, - Claudiu
_______________________________________________ For more information about ZODB, see http://zodb.org/ ZODB-Dev mailing list - ZODB-Dev@zope.org https://mail.zope.org/mailman/listinfo/zodb-dev