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

GitHub noreply at github.com
Wed Sep 13 23:35:42 CEST 2017


  Branch: refs/heads/master
  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


  Commit: c192803b8e92255aea5c45349fdbd478b173224f
      https://github.com/zopefoundation/zope.security/commit/c192803b8e92255aea5c45349fdbd478b173224f
  Author: Jason Madden <jason+github at nextthought.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:
  -----------
  Merge pull request #42 from zopefoundation/public_permission_const

Promote the constant for zope.Public from metaconfigure.py to interfaces.py


Compare: https://github.com/zopefoundation/zope.security/compare/dde46cb714f3...c192803b8e92


More information about the checkins mailing list