Re: [ZODB-Dev] Running the test suite

2005-04-05 Thread Florent Guillaume
, and trunk lines. Passing -B to test.py causes test.py to run setup.py build_ext -i first. Indeed. Thanks to you and Sidnei. Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED

Re: [ZODB-Dev] RFC: Pre-commit hooks

2005-04-06 Thread Florent Guillaume
? Anyone up for implementing this (with a doctest, of course)? I'd like to get this into ZODB 3.4. Jim -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ For more

Re: [ZODB-Dev] ConflictErrors won't clear

2005-04-14 Thread Florent Guillaume
@zope.org http://mail.zope.org/mailman/listinfo/zodb-dev -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ For more information about ZODB, see the ZODB Wiki: http

[ZODB-Dev] Re: [Zodb-checkins] SVN: ZODB/branches/3.4/src/ Added savepoints!

2005-04-25 Thread Florent Guillaume
argument. It's hard to imagine someone actualy writing a data manager that supports subtransactions. Perhaps we need to send a query to zodb-dev and zope-dev. -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED

[ZODB-Dev] Re: [Zodb-checkins] Changed the strategy for managing savepoints.

2005-04-27 Thread Florent Guillaume
._savepoints[ref] = self._savepoint_index And also some dels. So I'd say you meant to have None for the class attribute initialization. Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED

Re: [ZODB-Dev] ZODB.POSException.ReadConflictError

2005-05-03 Thread Florent Guillaume
are accessed (no pattern). Alternatively, a blank page is returned. No messages appear in the Zope or Plone error log. Seeing that the tracebacks involve CMFFormController, it may be that this product is abusing sessions and using them badly. Florent -- Florent Guillaume, Nuxeo (Paris, France

[ZODB-Dev] Debugging ReadConflictErrors on ZODB 3.2 (Zope 2.7)

2005-06-03 Thread Florent Guillaume
to it, in effect giving you its path. There's a print that you can uncomment to see all objects loaded, for fun and maybe profit ;) Feedback welcome. Florent zodb-oid-debug.v2.patch Description: Binary data -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of RD +33 1 40 33 71 59

Re: [ZODB-Dev] ZEO cache problems and a lost ZEO connection

2005-08-02 Thread Florent Guillaume
when you have B and I but no A and E :) It usually clears up what's happening very quickly. Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ For more information about

[ZODB-Dev] Old persistence/transaction code

2005-08-04 Thread Florent Guillaume
://www.python.org/workshops/1996-11/ papers/Bobbase.html but I believe at least this part is obsolete. Thanks, Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ For more

[ZODB-Dev] transaction interfaces

2005-08-04 Thread Florent Guillaume
I think transaction/interfaces.py is wrong for IDataManager: commit() and abort() take an object as first argument, as seen in the calls from MultiObjectResourceAdapter. But maybe I'm confused by the different deprecated/current interfaces... Florent -- Florent Guillaume, Nuxeo (Paris

Re: [ZODB-Dev] transaction interfaces

2005-08-04 Thread Florent Guillaume
Florent Guillaume [EMAIL PROTECTED] wrote: I think transaction/interfaces.py is wrong for IDataManager: commit() and abort() take an object as first argument, as seen in the calls from MultiObjectResourceAdapter. But maybe I'm confused by the different deprecated/current interfaces

[ZODB-Dev] Setting the jar

2005-08-04 Thread Florent Guillaume
Trying to understand some code... What part of the transaction/persistence code sets the _p_jar of a persistent object to that of its parent when the object is assigned to a persistent parent and transaction.commit(1) is called ? Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO

Re: [ZODB-Dev] Setting the jar

2005-08-04 Thread Florent Guillaume
On 4 Aug 2005, at 22:11, Tim Peters wrote: [Florent Guillaume] What part of the transaction/persistence code sets the _p_jar of a persistent object to that of its parent when the object is assigned to a persistent parent and transaction.commit(1) is called ? I'm massively overloaded

[ZODB-Dev] Re: Setting the jar

2005-08-08 Thread Florent Guillaume
Tim Peters wrote: [Florent Guillaume] To be clear, I'm interested in how the _p_jar happens on a new object that's just been created. Basically if you do: # folder is a persistent object that has a _p_jar # folder.foo = Foo() # where Foo inherits from Persistent # here folder.foo doesn't have

[ZODB-Dev] Re: SVN: ZODB/branches/anguenot-ordering-beforecommitsubscribers/src/transaction/ Implements the ordering of before commit subscribers :

2005-08-08 Thread Florent Guillaume
If that's a concern, maybe it can be called order__ or something ? What's the pythonic way to do this ? Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ For more

[ZODB-Dev] Re: SVN: ZODB/branches/anguenot-ordering-beforecommitsubscribers/src/transaction/_transaction.py Implement the sort and insert using bisect.insort()

2005-08-09 Thread Florent Guillaume
bisect if you do a linear pass on the list first. The original code was clearer and was faster. If you had a natural way of getting the index, then why not. But anyway this kind of hook list will have only a few elements in it. Optimize later. Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO

[ZODB-Dev] Re: ConflicErro on my ZODB

2005-08-10 Thread Florent Guillaume
time is spent. For the ConflictErrors, you'll have to isolate what objects they apply to and understand who writes to them and causes conflict. I posted a patch on this list 1-2 months ago to get more information off ReadConflictErrors to identify objects. Florent -- Florent Guillaume, Nuxeo

[ZODB-Dev] Re: SVN: ZODB/branches/anguenot-ordering-beforecommitsubscribers/src/transaction/_transaction.py Implement the sort and insert using bisect.insort()

2005-08-11 Thread Florent Guillaume
Tim Peters wrote: [Florent Guillaume] Frankly I don't see the point of using bisect if you do a linear pass on the list first. The original code was clearer and was faster. If you had a natural way of getting the index, then why not. But anyway this kind of hook list will have only a few

[ZODB-Dev] Re: Ordering before commit hooks

2005-08-29 Thread Florent Guillaume
at least introduces some flexibility that we don't have today. I vote for keeping it in ZODB 3.5 Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ For more information

[ZODB-Dev] Re: Setting _p_changed on a ghost

2005-08-29 Thread Florent Guillaume
if doing obj._p_changed = True unghostified the object and marked it as changed. Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ For more information about ZODB, see

[ZODB-Dev] Re: Ordering before commit hooks

2005-08-31 Thread Florent Guillaume
level. Would an integer order be ok there ? And where should the code go ? Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ For more information about ZODB, see

[ZODB-Dev] Re: Ordering before commit hooks

2005-09-01 Thread Florent Guillaume
should go in a new common subsystem just above ZODB. For all our cases, I think Zope will suffice. Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ For more

[ZODB-Dev] Re: afterCommitHook

2005-09-21 Thread Florent Guillaume
be useful is the audit logging thing someone mentionned a few days ago. Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ For more information about ZODB, see the ZODB Wiki

[ZODB-Dev] Re: Weird errors with Zope 2.7.7

2005-10-25 Thread Florent Guillaume
of getting it into python seems a bit daunting from an outsiders perspective...) -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ For more information about ZODB, see the ZODB

[ZODB-Dev] Re: oids, numbers, hex and 8-byte strings

2005-11-02 Thread Florent Guillaume
-- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http

[ZODB-Dev] Re: states in _p_resolveConflicts

2005-12-07 Thread Florent Guillaume
. The second element is a dictionary with items for each of the assigned slots. Other classes can specialise the methods, see for instance BTrees.Length. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED

[ZODB-Dev] OID length

2005-12-09 Thread Florent Guillaume
, and would anyone be interested in seeing it removed. I'm asking because I'm planning a pretty complex storage layer, which would benefit from more complex OIDs (for instance bigger strings, or tuples of (str, int)). Thanks, Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD

Re: [ZODB-Dev] OID length

2005-12-09 Thread Florent Guillaume
other kinds of identifiers, like autoincremented integer primary keys, and several tables depending on object kind, I want to reuse its concepts and pack them into an oid like 'footable_12345'. Anyway thanks for the answers, I know in what direction to move now. Florent -- Florent Guillaume

[ZODB-Dev] Re: OID length

2005-12-10 Thread Florent Guillaume
by calling dict.update, which # will execute atomically by virtue of the GIL. But some storage # might generate oids where hash or compare invokes Python code. In # that case, the GIL can't save us. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http

[ZODB-Dev] Re: [Zodb-checkins] SVN: ZODB/trunk/src/persistent/interfaces.py Nail the type of oids, as agreed ; -) to in

2005-12-10 Thread Florent Guillaume
cleaner IMHO would be to use new methods storage.loadRoot() and storage.storeRoot() here instead of doing storage.load(storage.ROOT_OID, ...) etc. (And let storeRoot choose the initial serial instead of None). Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59

[ZODB-Dev] Re: [Zope-dev] Re: sessions in the presence of conflicts

2005-12-16 Thread Florent Guillaume
and update an instance's __dict__. BTrees.Length is a good example of a class that overrides these methods, using an integer as the state. Plagiarism! ;) http://mail.zope.org/pipermail/zodb-dev/2005-December/009560.html Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of RD +33 1

[ZODB-Dev] session problems

2005-12-23 Thread Florent Guillaume
the problem. Also, I don't know why we don't observe this for FileStorage, maybe something has a hard reference on it somewhere? Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED

Re: [ZODB-Dev] session problems

2005-12-26 Thread Florent Guillaume
? Also I don't understand why open()'s delegate attribute is not stored as a connection attribute, and close() should reuse it instead of obeying a primary attribute. Anyway, I guess historical code, etc. I'll let specialistst of the multi-databases decide what to do :) Florent -- Florent

[ZODB-Dev] Re: Connection pool makes no sense

2005-12-29 Thread Florent Guillaume
, and the number of thread is usually small. If you see many RDB connections, then it's a RDB problem and not a ZODB problem. Something not releasing RDB connections quick enough, or leaking RDB connections. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http

[ZODB-Dev] Re: Connection pool makes no sense

2005-12-29 Thread Florent Guillaume
on deletion of connection instances... but this is the clue to the topic. Even hundreds of ZODB connections is absurd. Again, with 4 threads you should never get more than 4 Filestorage connections plus 4 TemporaryStorage connections. Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO

[ZODB-Dev] Re: ZODB with a Relational Database

2006-01-03 Thread Florent Guillaume
than 10GB. Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list

[ZODB-Dev] Re: session problems

2006-01-09 Thread Florent Guillaume
or existing connection linked to the multidatabase set return anyjar.get_connection(self._getDBName()) along with a unit test. But the code that's in 2.9.0 is just as effective. Florent Florent Guillaume wrote: Ok I've dug deeper and now understand the problem. The root cause

[ZODB-Dev] Re: zLOG module deprecated

2006-01-09 Thread Florent Guillaume
at the trace level (as they were before the move to python's logging module), I'm thinking of transaction logs here. This leaves the 'debug' level free for application debugging. Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL

[ZODB-Dev] Re: [Zope-dev] Re: zLOG module deprecated

2006-01-09 Thread Florent Guillaume
strings, and indeed ZODB and zLOG have them defined. I want to use them. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ For more information about ZODB, see

[ZODB-Dev] Re: [Zope-dev] Re: zLOG module deprecated

2006-01-09 Thread Florent Guillaume
On 9 Jan 2006, at 17:25, Andreas Jung wrote: --On 9. Januar 2006 17:06:25 +0100 Florent Guillaume [EMAIL PROTECTED] wrote: My point is that the python logging levels are insufficiently fine grained. Sufficently enough for me. Sufficient for me is not a good reason sorry. If you don't want

[ZODB-Dev] Re: [Zope-dev] Re: zLOG module deprecated

2006-01-09 Thread Florent Guillaume
On 9 Jan 2006, at 17:20, Fred Drake wrote: On 1/9/06, Florent Guillaume [EMAIL PROTECTED] wrote: My point is that the python logging levels are insufficiently fine grained. The python logging framework leaves room for numeric levels and registering equivalent strings, and indeed ZODB and zLOG

[ZODB-Dev] zodb pickle format for root

2006-01-20 Thread Florent Guillaume
-- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@zope.org http

[ZODB-Dev] _added_during_commit not needed

2006-01-23 Thread Florent Guillaume
(). Florent PS: I'll take the time in a few weeks to review the messages I posted here and checkin changes for those who have received approval. But I don't have the bandwidth right now. -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL

[ZODB-Dev] Debugging ReadConflictErrors on ZODB 3.4 (Zope 2.8)

2006-01-31 Thread Florent Guillaume
. Some people have reported infinite loops starting zopectl debug, but I haven't had time to dig. Florent zodb-oid-debug.z28.patch Description: Binary data -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED

[ZODB-Dev] Re: Question (Re: Possible contributions to ZODB)

2006-02-03 Thread Florent Guillaume
without fear of conflict errors. This is vital for zasync, and other similar asynchronous queuing problems. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ For more

[ZODB-Dev] Re: Possible contributions to ZODB

2006-02-03 Thread Florent Guillaume
, you're testing much more, including the ZODB mechanisms that detect concurrently modified objects in different connections and regenerate old state from the database, etc. It's not strictly needed (and is a lot of setup). Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1

[ZODB-Dev] Re: Zodb with Yaml

2006-03-20 Thread Florent Guillaume
to know if it would need to be modified, maybe the function names in the code are misleading). No, the pickle cache doesn't actually have anything to do with the pickle protocol. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL

[ZODB-Dev] Re: Serial and transaction id

2006-04-10 Thread Florent Guillaume
and pickles -- no distinct concept of serial number there anymore). -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org

[ZODB-Dev] Re: Getting all OIDs from a storage.

2006-04-24 Thread Florent Guillaume
of iterating over all objects on any storage? Yes, such an API to iterate over all storage objects has been talked about several times before, but never implemented. It would be quite useful. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com

[ZODB-Dev] Re: ZEO and Twisted

2006-04-25 Thread Florent Guillaume
server. For the ZEO server I don't see the point of changing it, it works well. OTOH a ClientStorage has to integrate with the other servers in Zope, and that's the one that would benefit from being moved to the twisted event loop if twisted is used. Florent -- Florent Guillaume, Nuxeo (Paris

Re: [ZODB-Dev] Re: ZEO and Twisted

2006-04-25 Thread Florent Guillaume
On 25 Apr 2006, at 15:23, Jim Fulton wrote: Florent Guillaume wrote: [Ccing zodb-dev] On 25 Apr 2006, at 15:09, David Pratt wrote: The protocol is simple yes, but the iteractions w.r.t threading are sometimes subtle. Hi Florent. This could be set up using a twisted's application

[ZODB-Dev] Re: SVN: Zope3/branches/jim-adapter/src/zope/app/component/ Added compatibility for old pickles.

2006-04-25 Thread Florent Guillaume
the original code checks)? Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing

[ZODB-Dev] Re: Changes in _p_changed behaviour between Zope 2.7 and 2.9

2006-04-27 Thread Florent Guillaume
to it, but that seems a little heavyweight... You don't need any transactions to at least test this sequence, only the Persistent base class and a dummy connection can be involved. To really test the history yes of course you'll need a full database. Many tests do that. Florent -- Florent Guillaume, Nuxeo (Paris

[ZODB-Dev] Re: Changes in _p_changed behaviour between Zope 2.7 and 2.9

2006-04-29 Thread Florent Guillaume
Chris Withers wrote: Florent Guillaume wrote: base._p_changed=0 Marks the object not changed, to allow ghostifying. base._p_deactivate() Ghostifies the object. base.__setstate__(state) Updates the object's dict directly. This really shouldn't

[ZODB-Dev] Re: tid error with ClientStorage cache in Zope 2.9.2

2006-05-02 Thread Florent Guillaume
-size 20MB # # Uncomment to have a persistent disk cache # #client zeo1 # /zeoclient # /zodb_db Note the part about the persistent disk cache. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED

[ZODB-Dev] Re: Questions on ZODB BTrees versus bsddb BTrees

2006-05-05 Thread Florent Guillaume
on the reverse Tree (and it's fast). Florent If someone with more knowledge of ZODB and the BTrees therein and bsddb feels like confirming, correcting, or commenting on the above summary, and options, that would be great. -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1

[ZODB-Dev] Re: Getting an up to date instance of a persistent object

2006-05-26 Thread Florent Guillaume
/mailman/listinfo/zodb-dev -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list

[ZODB-Dev] proposed comments

2006-06-20 Thread Florent Guillaume
connections on finish. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev

[ZODB-Dev] Re: What makes the ZODB slow?

2006-06-23 Thread Florent Guillaume
in IOBTree. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev

Re: [ZODB-Dev] Re: What makes the ZODB slow?

2006-06-23 Thread Florent Guillaume
On 23 Jun 2006, at 17:55, Andreas Jung wrote: --On 23. Juni 2006 17:51:35 +0200 Florent Guillaume [EMAIL PROTECTED] wrote: BTrees perform best when keys' prefixes are randomly distributed. So if your application generates keys like 'foo001', 'foo002',... you'll get lots of conflicts. Same

Re: [ZODB-Dev] Re: What makes the ZODB slow?

2006-06-26 Thread Florent Guillaume
On 26 Jun 2006, at 15:02, Chris Withers wrote: Florent Guillaume wrote: BTrees perform best when keys' prefixes are randomly distributed. So if your application generates keys like 'foo001', 'foo002',... you'll get lots of conflicts. Same for consecutive integers in IOBTree. Tempted

Re: [ZODB-Dev] Re: More exciting ZODB errors ;-)

2006-06-26 Thread Florent Guillaume
On 26 Jun 2006, at 15:12, Chris Withers wrote: Florent Guillaume wrote: This patch didn't seem to cure our Zope 2.8 afflicted with the assert end is not None problem. Florent, Have you actually seen any problems from these errors? I still see them occasionally, but they never seem to have

[ZODB-Dev] Re: What makes the ZODB slow?

2006-06-26 Thread Florent Guillaume
Chris Withers wrote: Florent Guillaume wrote: I can comment, I have a big brain too: the code in the catalog uses per-connection series of keys, so no conflicts arise. Really? I thought they were per-thread... wasn't aware that each thread was tied to one connection indefinitely... I thought

Re: [ZODB-Dev] Re: getting the object ID (_p_oid attribute)

2006-06-26 Thread Florent Guillaume
the same identity (that's the purpose of the pickle cache and _added cache if you're interested in internals). Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ For more

[ZODB-Dev] BTrees persistence problem

2006-06-29 Thread Florent Guillaume
._p_changed B() This prints: False 4 False False Where I would expect True for the last two at least. Florent -- Florent Guillaume, Nuxeo (Paris, France) Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ For more information about