[ZODB-Dev] An interface for broken objects?

Jim Fulton jim at zope.com
Thu Dec 31 12:03:45 EST 2009

On Thu, Dec 31, 2009 at 11:46 AM, Hanno Schlichting <hanno at hannosch.eu> wrote:
> 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?

+1. although it shouldn't be an empty interface.


Jim Fulton

More information about the ZODB-Dev mailing list