Richard Oudkerk added the comment: I was thinking about the line self.__dict__.update(state) overwriting new data with stale data. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue17621> _______________________________________