[Checkins] [zopefoundation/zope.security] 011ead: Allow iter({}.items()) on PyPy3

Marius Gedminas noreply at github.com
Sun Nov 10 10:49:41 CET 2019


  Branch: refs/heads/more-wheels
  Home:   https://github.com/zopefoundation/zope.security
  Commit: 011eadf27740547469e691183ddaf15d1041da19
      https://github.com/zopefoundation/zope.security/commit/011eadf27740547469e691183ddaf15d1041da19
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2019-11-10 (Sun, 10 Nov 2019)

  Changed paths:
    M src/zope/security/checker.py

  Log Message:
  -----------
  Allow iter({}.items()) on PyPy3

Dict item iterators use a special type (builtins.dict_itemiterator) on
recent versions of PyPy3.

Fixes zope.security.interfaces.ForbiddenAttribute: ('__next__',
<dict_itemiterator object at 0x00007f7c9c107320>)




More information about the checkins mailing list