[Checkins] [zopefoundation/persistent] dfc982: If the python version of Persistent had __setstate...

GitHub noreply at github.com
Wed Feb 19 23:57:57 CET 2014


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/persistent
  Commit: dfc9823e1394db55c79bdfdbc3e16f88edd970db
      https://github.com/zopefoundation/persistent/commit/dfc9823e1394db55c79bdfdbc3e16f88edd970db
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2014-02-18 (Tue, 18 Feb 2014)

  Changed paths:
    M persistent/persistence.py
    M persistent/tests/test_persistence.py

  Log Message:
  -----------
  If the python version of Persistent had __setstate__ called with a dictionary containing exactly two items, it would fail at idict.update(inst_dict) with 'ValueError: sequence of pairs expected' due to incorrect tuple unpacking. Do what the C version does and check for a tuple explicitly.


  Commit: e3d4f56a11aefa2f81baa8d0e7e4d0965ca1313a
      https://github.com/zopefoundation/persistent/commit/e3d4f56a11aefa2f81baa8d0e7e4d0965ca1313a
  Author: Tres Seaver <tseaver at palladion.com>
  Date:   2014-02-19 (Wed, 19 Feb 2014)

  Changed paths:
    M persistent/persistence.py
    M persistent/tests/test_persistence.py

  Log Message:
  -----------
  Merge branch 'setstate' of https://github.com/NextThought/persistent into NextThought-setstate


  Commit: 59310ca3b0df3781815494e0d1d26702fa1c22eb
      https://github.com/zopefoundation/persistent/commit/59310ca3b0df3781815494e0d1d26702fa1c22eb
  Author: Tres Seaver <tseaver at palladion.com>
  Date:   2014-02-19 (Wed, 19 Feb 2014)

  Changed paths:
    M CHANGES.rst

  Log Message:
  -----------
  Changelog for PR #5.


Compare: https://github.com/zopefoundation/persistent/compare/ffa62bf28c89...59310ca3b0df


More information about the checkins mailing list