[Checkins] [zopefoundation/zope.security] 014129: Fix iteration of BTrees.items() in pure-python; an...

GitHub noreply at github.com
Mon Apr 24 14:01:18 CEST 2017


  Branch: refs/heads/issue20
  Home:   https://github.com/zopefoundation/zope.security
  Commit: 014129f287f4f8d997afaaaacf513a8199ca132a
      https://github.com/zopefoundation/zope.security/commit/014129f287f4f8d997afaaaacf513a8199ca132a
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-04-24 (Mon, 24 Apr 2017)

  Changed paths:
    M .travis.yml
    M CHANGES.rst
    M setup.py
    M src/zope/security/checker.py
    M src/zope/security/tests/test_checker.py
    M tox.ini

  Log Message:
  -----------
  Fix iteration of BTrees.items() in pure-python; and 3.6 support

Also fix ``list(proxy_btree.items())`` (or a list comprehension of the
same) in Python 3, which wants the ``__len__`` for a hint.

This is a central place to make sure these all behave consistently.

Fixes #20

Also drop pypy3

As a 3.2 implementation, it's not supported by pip anymore. There is a
much more recent version, 3.5-beta, but it's not on Travis yet. The
3.3-alpha which is on Travis is a dead end.




More information about the checkins mailing list