hi,
I'm having problems with random number generation and product refreshes.
To illustrate the problem, consider the following product code:
class RandomNumberGenerator(SimpleItem.SimpleItem):
...
def __init__(self,id):
initialize an instance
self.id = id
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
On Sunday 26 January 2003 7:25 pm, Kazuya FUKAMACHI wrote:
Have you decided which version the patch should be included?
I combined 4 of the patches and Yousei Tahara's patch into single patch
and published for japanese users on Jan 15.
BL == Brian Lloyd [EMAIL PROTECTED] writes:
Here's the status - an engagement that we're doing has been
bringing up some issues regarding ZODB and ZEO in large-scale
environments. I think that the fixes are useful enough that
they should be in 2.6.1, but getting them finalized
[[EMAIL PROTECTED]]
It has been a false alarm. Sorry!
The same problem occured with the new BTrees module.
Therefore, I checked the error again and found,
that the problem was not caused by tree[k] = v
but by a nearby del tree[k] (which, of course, is entitled to raise
KeyError).