[Zope-dev] product refresh and random number generation.

2003-01-28 Thread Romain Slootmaekers
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

Re: [Zope-dev] product refresh and random number generation.

2003-01-28 Thread Toby Dickenson
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

Re: [Zope-dev] Zope 2.6.0 ZMI Problem for CJK(Collector 623) patch.

2003-01-28 Thread Toby Dickenson
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.

RE: [Zope-dev] 2.6.1b2?

2003-01-28 Thread Jeremy Hylton
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

[Zope-dev] RE: [ZODB-Dev] False alarm (was: [BUG] maybe yet unknown BTREES bug)

2003-01-28 Thread Tim Peters
[[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).