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

GitHub noreply at github.com
Wed May 17 14:12:43 CEST 2017


  Branch: refs/heads/fix-ordered-dict-checker
  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.




More information about the checkins mailing list