[Zope] dict

Vahur Rebas vahur at tpu.ee
Mon Aug 30 11:57:56 EDT 2004


Hi,

I was doing some dict modifing like testvar = 
{'test1':{'test2':'test2value'}}
so, everything was nice until I hit my browsers refresh button as fast
as I could and my little method which did some
if not testvar.has_key('test1')
wrote my default values to my testvar
tried setting self._p_changed = 1
but after some time(usually sooner) my values disapear and after zope 
restart they even don't exist anymore :(
Tried PersistentMapping, that also didn't help much :(

any suggestions?


Vahur




More information about the Zope mailing list