28 Jan
2003
28 Jan
'03
11:46 a.m.
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