Commit f1023af2 authored by Jason Madden's avatar Jason Madden

The Python persistent implementation has caught up enough with the C version...

The Python persistent implementation has caught up enough with the C version that we don't need to list extra special names that shouldn't re-wake Broken objects.
parent 8215fdc8
......@@ -23,15 +23,6 @@ import ZODB.interfaces
from ZODB._compat import IMPORT_MAPPING
from ZODB._compat import NAME_MAPPING
# Add our magic names to the Python implementation of persistence
# so that it won't try to re-activate the broken object.
import persistent.persistence
persistent.persistence.SPECIAL_NAMES += ('__Broken_newargs__',
'__Broken_initargs__',
#'__Broken_state__',
'__reduce__',
'__getstate__')
broken_cache = {}
@zope.interface.implementer(ZODB.interfaces.IBroken)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment