Re[2]: [ZODB-Dev] lazy BTreeItems

2005-12-10 Thread Victor Safronovich
Hello Dieter Maurer, Saturday, December 10, 2005, 12:32:35 AM, you wrote: DM l = range(10) DM for f in l: l.remove(f) DM l -- [1, 3, 5, 7, 9] DM Due to the much more complex BTree structures, the results DM of modifications during iteration might be even more surprising. I know about this

Re[2]: [ZODB-Dev] Deferred notifing from one thread to another.

2005-12-10 Thread Victor Safronovich
Hello Dieter Maurer, Saturday, December 10, 2005, 12:34:48 AM, you wrote: DM Victor Safronovich wrote at 2005-12-9 14:33 +0500: ... But when T2 still not commiting its transaction, dispatcher not see new element :(. DM Any transaction will only see committed changes. DM Only at transaction

[ZODB-Dev] Heads-up: Test failure on trunk/Python 2.4.2/OS X

2005-12-10 Thread Jens Vagelpohl
Just as a heads-up because I don't know how much testing ever gets done on OS X: Running the tests on the current ZODB trunk using a self.built Python 2.4.2 on OS X (10.4.3) the following test fails: Failure in test test_must_use_consistent_connections

RE: [ZODB-Dev] Re: OID length

2005-12-10 Thread Tim Peters
[Tim] _p_oid = Attribute( The object id. ... Non-None object ids must be non-empty strings. [Florent] Ok then I guess this comment in Connection doesn't apply anymore: # It sucks that we have to hold the lock to read _invalidated. # Normally, _invalidated is written by

RE: [ZODB-Dev] Heads-up: Test failure on trunk/Python 2.4.2/OS X

2005-12-10 Thread Tim Peters
[Jens Vagelpohl] Just as a heads-up because I don't know how much testing ever gets done on OS X: I do: none ;-) For ZODB specifically, since the Zope trunks were changed to stop running ZODB tests, no version of ZODB is regularly tested on any platform anymore; the overnight test runners and

[ZODB-Dev] __dict__ sharing between persistent and nonpersistent objects

2005-12-10 Thread kotamura kotamura
Hello, I'm now thinking of using ZODB for our application. Is it possible to make something like this? http://hohehohe2.hp.infoseek.co.jp/kerama/misc/shareddict.jpg There are data in a DataHolder object that needs to be saved. DataHolder is not a subclass of Persistent but each data stored in