[Checkins] [zopefoundation/RestrictedPython] 7a6a65: Fix the Python-3 variant which was not equivalent ...

GitHub noreply at github.com
Tue Mar 14 10:46:58 CET 2017


  Branch: refs/heads/fix-full-write-guard
  Home:   https://github.com/zopefoundation/RestrictedPython
  Commit: 7a6a6572c44fa73e5ce90706eeb5ef74bb3cf82f
      https://github.com/zopefoundation/RestrictedPython/commit/7a6a6572c44fa73e5ce90706eeb5ef74bb3cf82f
  Author: Michael Howitz <mh at gocept.com>
  Date:   2017-03-14 (Tue, 14 Mar 2017)

  Changed paths:
    M src/RestrictedPython/Guards.py

  Log Message:
  -----------
  Fix the Python-3 variant which was not equivalent to the Python-2 one.

safetype(type(ob)) will raise a TypeError if `safetype` is the `keys` method
of the dict.




More information about the checkins mailing list