On Tuesday 28 January 2003 11:31 am, Romain Slootmaekers wrote: > I'm having trouble understanding what is happening:
You are storing an instance of the Random class in ZODB, but not telling ZODB about changes to its internal state. > def next(self): > """ > returns next random number. > """ self._p_changed = 1 > return self.__random.random() -- Toby Dickenson http://www.geminidataloggers.com/people/tdickenson _______________________________________________ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )