I have a small module that can dynamically update code objects in
memory after reloading their module (http://paste.plone.org/5431). It
greatly simplifies debugging during development. However, as you might
expect, at best it doesn't work at all for ZODB, and at worse it
sometimes causes ZODB to raise exceptions like:

File "C:\Program Files\Python24\Lib\site-packages\ZODB\Connection.py",
line 232, in close
   raise ConnectionStateError("Cannot close a connection joined to "
ZODB.POSException.ConnectionStateError: Cannot close a connection
joined to a transaction

Is there any way to dynamically replace the class objects so ZODB can see them?

For more information about ZODB, see the ZODB Wiki:

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

Reply via email to