[ZODB-Dev] An interface for broken objects?

Hanno Schlichting hanno at hannosch.eu
Thu Dec 31 11:46:22 EST 2009


Hi.

We currently have a package called "zope.broken" whose entire real content is:

import zope.interface

class IBroken(zope.interface.Interface):
    """Marker interface for broken objects
    """

This is used for example by zope.container, which won't try to set
__name__ and __parent__ pointers on these objects.

Is this something that could be put into the ZODB itself and have the
ZODB.broken.Broken class directly implement this interface?

Thanks,
Hanno


More information about the ZODB-Dev mailing list