[Zodb-checkins] CVS: Zope3/src/zodb/tests - test_connection.py:1.9

Jeremy Hylton jeremy at zope.com
Wed Oct 15 10:04:08 EDT 2003


On Wed, 2003-10-15 at 08:00, Marius Gedminas wrote:
> Update of /cvs-repository/Zope3/src/zodb/tests
> In directory cvs.zope.org:/tmp/cvs-serv27246/tests
> 
> Modified Files:
> 	test_connection.py 
> Log Message:
> There was a problem with modifying a persistent object during its
> __getstate__ method, during a transaction savepoint or commit.
> There was also a similar problem when calling connection.add() during
> the time a connection is preparing to commit.
> These are all different manifestations of the same problem: the registered
> objects mapping in a connection cannot be modified during an iteration over
> its keys or values or items.

I actually intended that it not be possible to modify objects or add
objects to a connection after the transaction commit has begun.  Can you
provide a rationale for adding this feature?

Jeremy





More information about the Zodb-checkins mailing list