--On 1. Mai 2007 05:15:37 -0400 Tim Peters <[EMAIL PROTECTED]> wrote:

Here's a very simple example using builtins to illustrate this:

x = {1: 2}
del x
x = {3: 4}

Those are obviously entirely different dictionaries, but they live at
the same memory address (and likely so, by design, and thanks to the
quick memory reuse allowed by refcounting).

In any case, yes, the intent is that a new transaction object is used
for each transaction; but, no, seeing the same memory address does not
mean that isn't happening.

I think you are right (as always). Then let me rephrase the question: how can one distinguish if two transaction objects represent the same or
different transactions in such case where memory address is identical?


Attachment: pgpPCvVtwHAWp.pgp
Description: PGP signature

For more information about ZODB, see the ZODB Wiki:

ZODB-Dev mailing list  -  ZODB-Dev@zope.org

Reply via email to