--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}
id(x)
10603952
del x
x = {3: 4}
id(x)
10603952

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?

Andreas

Attachment: pgpPCvVtwHAWp.pgp
Description: PGP signature

_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to