ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> zope-Dev
zope-Dev
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved