[Checkins] [zopefoundation/zope.security] cdb016: OrderedDict, BTree and dict all iterate the same w...

GitHub noreply at github.com
Wed May 17 16:49:05 CEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/zope.security
  Commit: cdb0161c7edf67857a7625ec666a80c9cd35c297
      https://github.com/zopefoundation/zope.security/commit/cdb0161c7edf67857a7625ec666a80c9cd35c297
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-05-17 (Wed, 17 May 2017)

  Changed paths:
    M CHANGES.rst
    M src/zope/security/checker.py
    M src/zope/security/tests/test_checker.py

  Log Message:
  -----------
  OrderedDict, BTree and dict all iterate the same way.

Fixes #23. Also a further fix for #20 (you couldn't iterate a BTree
all by itself).

Refactor the test case for BTree to be a shared implementation and
confirm that it works as expected for dict, using the actual dict
checker. Then apply it to OrderedDict and BTree and fix the resulting
failures by refactoring the fixup in checker.py to a shared
implementation and applying it.


  Commit: 7c93ce533da0f56d707200f66475e993541b3604
      https://github.com/zopefoundation/zope.security/commit/7c93ce533da0f56d707200f66475e993541b3604
  Author: Jason Madden <jason+github at nextthought.com>
  Date:   2017-05-17 (Wed, 17 May 2017)

  Changed paths:
    M CHANGES.rst
    M src/zope/security/checker.py
    M src/zope/security/tests/test_checker.py

  Log Message:
  -----------
  Merge pull request #24 from zopefoundation/fix-ordered-dict-checker

OrderedDict, BTree and dict all iterate the same way.


Compare: https://github.com/zopefoundation/zope.security/compare/2b82f8304880...7c93ce533da0


More information about the checkins mailing list