[Checkins] [zopefoundation/ZODB] eedf68: Attempt to fix class on 'setGhostState' if differe...

GitHub noreply at github.com
Tue May 9 15:55:45 CEST 2017


  Branch: refs/heads/ensure-correct-class-on-ghost-set-state
  Home:   https://github.com/zopefoundation/ZODB
  Commit: eedf689fcbf5930ee0832eb4ca9621d11f2cdc15
      https://github.com/zopefoundation/ZODB/commit/eedf689fcbf5930ee0832eb4ca9621d11f2cdc15
  Author: Malthe Borch <mborch at gmail.com>
  Date:   2017-05-09 (Tue, 09 May 2017)

  Changed paths:
    M CHANGES.rst
    M src/ZODB/serialize.py

  Log Message:
  -----------
  Attempt to fix class on 'setGhostState' if different

This is not ideal and perhaps what should happen instead is
that a warning should be issued.

The fact is that the canonical source for the '__class__' of
a persisted item is the class metadata, not the references
to the object from other persistent items.




More information about the checkins mailing list