[Checkins] [zopefoundation/zope.security] 756ac8: Promote the constant for zope.Public from metaconf...

GitHub noreply at github.com
Wed Sep 13 16:32:36 CEST 2017


  Branch: refs/heads/public_permission_const
  Home:   https://github.com/zopefoundation/zope.security
  Commit: 756ac89f2c80012954b306d20ac8916bdcb95e09
      https://github.com/zopefoundation/zope.security/commit/756ac89f2c80012954b306d20ac8916bdcb95e09
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-09-13 (Wed, 13 Sep 2017)

  Changed paths:
    M src/zope/security/interfaces.py
    M src/zope/security/metaconfigure.py
    M src/zope/security/permission.py
    M src/zope/security/protectclass.py
    M src/zope/security/testing.py
    M src/zope/security/tests/test_metaconfigure.py
    M src/zope/security/tests/test_permission.py
    M src/zope/security/tests/test_protectclass.py
    M src/zope/security/tests/test_testing.py
    M src/zope/security/tests/test_zcml.py
    M src/zope/security/zcml.py

  Log Message:
  -----------
  Promote the constant for zope.Public from metaconfigure.py to interfaces.py

And use it consistently throughout this package.

On Python 2, sometimes we were comparing the string with unicode and
sometimes with str. Now its consistent.

This is a start to addressing #6




More information about the checkins mailing list