Skip to content

Commit

Permalink
The Python persistent implementation has caught up enough with the C …
Browse files Browse the repository at this point in the history
…version that we don't need to list extra special names that shouldn't re-wake Broken objects.
  • Loading branch information
jamadden committed Apr 10, 2015
1 parent 8215fdc commit f1023af
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/ZODB/broken.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,6 @@
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)
Expand Down

0 comments on commit f1023af

Please sign in to comment.