Re: [Zope-dev] product refresh and random number generation.
by Toby Dickenson other posts by this author
Jan 28 2003 11:46AM messages near this date
[Zope-dev] product refresh and random number generation.
|
[Zope-dev] How about some details about SGI's Supportfolio?
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 - Zope-Dev@[...].org
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 )
Thread:
Romain Slootmaekers
Toby Dickenson
|