[Checkins] [zopefoundation/zope.securitypolicy] 91a8d9: Setting __bool__ to __nonzero__ behaves differentl...

GitHub noreply at github.com
Tue Oct 16 14:30:28 CEST 2018


  Branch: refs/heads/bool-inheritance
  Home:   https://github.com/zopefoundation/zope.securitypolicy
  Commit: 91a8d9b73fa8315384ee373f44582de42bb117fb
      https://github.com/zopefoundation/zope.securitypolicy/commit/91a8d9b73fa8315384ee373f44582de42bb117fb
  Author: Lennart Regebro <regebro at gmail.com>
  Date:   2018-10-16 (Tue, 16 Oct 2018)

  Changed paths:
    M src/zope/securitypolicy/securitymap.py
    M src/zope/securitypolicy/tests/test_securitymap.py

  Log Message:
  -----------
  Setting __bool__ to __nonzero__ behaves differently in Python 3

This change restores the Python 2 behavior.



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the checkins mailing list