[Checkins] [zopefoundation/mongopersist] 49ad97: Handle issue with dict comparison bug in Python.

GitHub noreply at github.com
Mon Jan 13 05:09:47 CET 2014


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/mongopersist
  Commit: 49ad97ef1b72724fe87c3e43c18c864e7b9680fc
      https://github.com/zopefoundation/mongopersist/commit/49ad97ef1b72724fe87c3e43c18c864e7b9680fc
  Author: Stephan Richter <stephan.richter at gmail.com>
  Date:   2014-01-12 (Sun, 12 Jan 2014)

  Changed paths:
    M src/mongopersist/datamanager.py

  Log Message:
  -----------
  Handle issue with dict comparison bug in Python.

It can happen that comparing similar dicts can cause decode errors. Sigh.


  Commit: 0d5a3bf1f546d96f274c0befb12bc7480b2cd3c4
      https://github.com/zopefoundation/mongopersist/commit/0d5a3bf1f546d96f274c0befb12bc7480b2cd3c4
  Author: Stephan Richter <stephan.richter at gmail.com>
  Date:   2014-01-12 (Sun, 12 Jan 2014)

  Changed paths:
    M src/mongopersist/serialize.py

  Log Message:
  -----------
  isinstance() matches sub-classes too, which is undesirable at this place.

We want to make sure that only the actual basic, core types are treated
as native types.


  Commit: 58e9242cda219631a41da56bda2007fd1f6c05f9
      https://github.com/zopefoundation/mongopersist/commit/58e9242cda219631a41da56bda2007fd1f6c05f9
  Author: Stephan Richter <stephan.richter at gmail.com>
  Date:   2014-01-12 (Sun, 12 Jan 2014)

  Changed paths:
    M src/mongopersist/serialize.py

  Log Message:
  -----------
  Fix bug when storing the simple reduced state.

This feature was earlier added, but this was clearly a bug.


  Commit: ccdb513ff6322785bda1bd399773ac35cce76265
      https://github.com/zopefoundation/mongopersist/commit/ccdb513ff6322785bda1bd399773ac35cce76265
  Author: Stephan Richter <stephan.richter at gmail.com>
  Date:   2014-01-12 (Sun, 12 Jan 2014)

  Changed paths:
    M src/mongopersist/serialize.py

  Log Message:
  -----------
  Make sure that get_object() can also be used to de-serialize constants.


  Commit: fdf0b1fedd66a1089246cfe321d49e6a3603c967
      https://github.com/zopefoundation/mongopersist/commit/fdf0b1fedd66a1089246cfe321d49e6a3603c967
  Author: Stephan Richter <stephan.richter at gmail.com>
  Date:   2014-01-12 (Sun, 12 Jan 2014)

  Changed paths:
    M src/mongopersist/serialize.py

  Log Message:
  -----------
  Another scenario where looking up the type directly is better.


  Commit: d3d767e5f70dde1bc04de3f4523f3b49b858bc55
      https://github.com/zopefoundation/mongopersist/commit/d3d767e5f70dde1bc04de3f4523f3b49b858bc55
  Author: Stephan Richter <stephan.richter at gmail.com>
  Date:   2014-01-12 (Sun, 12 Jan 2014)

  Changed paths:
    M src/mongopersist/serialize.py

  Log Message:
  -----------
  Fix typo.


  Commit: 68f0939aa7d45623bcc88e85faf3a1cc10b469ad
      https://github.com/zopefoundation/mongopersist/commit/68f0939aa7d45623bcc88e85faf3a1cc10b469ad
  Author: Stephan Richter <stephan.richter at gmail.com>
  Date:   2014-01-12 (Sun, 12 Jan 2014)

  Changed paths:
    M CHANGES.txt
    M src/mongopersist/tests/test_serialize.py

  Log Message:
  -----------
  Added tests for latest fixes and updated changelog.


Compare: https://github.com/zopefoundation/mongopersist/compare/dcd5fd2eb3ed...68f0939aa7d4


More information about the checkins mailing list