[Checkins] [zopefoundation/zope.interface] 102551: When an invariant is defined in an interface, it's...

Jan-Jaap Driessen noreply at github.com
Thu Oct 1 13:52:43 CEST 2020


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/zope.interface
  Commit: 1025519cb68ad8fdae379daa6de8d9ec427456cd
      https://github.com/zopefoundation/zope.interface/commit/1025519cb68ad8fdae379daa6de8d9ec427456cd
  Author: Jan-Jaap Driessen <jdriessen at minddistrict.com>
  Date:   2020-09-25 (Fri, 25 Sep 2020)

  Changed paths:
    M .gitignore
    M CHANGES.rst
    M src/zope/interface/interface.py
    M src/zope/interface/tests/test_interface.py

  Log Message:
  -----------
  When an invariant is defined in an interface, it's found by
`validateInvariants` in all interfaces inheriting from that interface.
Make sure to call each invariant only once when validating invariants.


  Commit: 27e832a04c8b3b092ccb2568634e46f8dd8629e1
      https://github.com/zopefoundation/zope.interface/commit/27e832a04c8b3b092ccb2568634e46f8dd8629e1
  Author: Jan-Jaap Driessen <jdriessen at minddistrict.com>
  Date:   2020-09-28 (Mon, 28 Sep 2020)

  Changed paths:
    M CHANGES.rst

  Log Message:
  -----------
  Update CHANGES.rst

Co-authored-by: Jason Madden <jason+github at nextthought.com>


  Commit: 64fb805b3b2a6536c4874b4f0c3fbbbf4bea9e23
      https://github.com/zopefoundation/zope.interface/commit/64fb805b3b2a6536c4874b4f0c3fbbbf4bea9e23
  Author: Jan-Jaap Driessen <jdriessen at minddistrict.com>
  Date:   2020-09-28 (Mon, 28 Sep 2020)

  Changed paths:
    M src/zope/interface/interface.py

  Log Message:
  -----------
  Use an internal method for validating invariants, so we don't taint the public interface/signature.


  Commit: 856ee6086af24792a0ff1f63bc6eb750de0892a3
      https://github.com/zopefoundation/zope.interface/commit/856ee6086af24792a0ff1f63bc6eb750de0892a3
  Author: Jan-Jaap Driessen <jdriessen at minddistrict.com>
  Date:   2020-10-01 (Thu, 01 Oct 2020)

  Changed paths:
    M CHANGES.rst

  Log Message:
  -----------
  Fix rst syntax/line folding.


  Commit: 3fc878eb00deb9e2988ef651c74e09e39dd9d49a
      https://github.com/zopefoundation/zope.interface/commit/3fc878eb00deb9e2988ef651c74e09e39dd9d49a
  Author: Jan-Jaap Driessen <jdriessen at minddistrict.com>
  Date:   2020-10-01 (Thu, 01 Oct 2020)

  Changed paths:
    M src/zope/interface/interface.py

  Log Message:
  -----------
  Use queryDirectTaggedValue to find invariants removes the need to keep track of invariants we have already seen.


  Commit: ca5b7e0c8dceb13d4d2a7d86e49558e2c75fa2dc
      https://github.com/zopefoundation/zope.interface/commit/ca5b7e0c8dceb13d4d2a7d86e49558e2c75fa2dc
  Author: Jan-Jaap Driessen <jdriessen at minddistrict.com>
  Date:   2020-10-01 (Thu, 01 Oct 2020)

  Changed paths:
    M CHANGES.rst
    M docs/api/specifications.rst
    M setup.py
    M src/zope/interface/_zope_interface_coptimizations.c
    M src/zope/interface/tests/test_declarations.py

  Log Message:
  -----------
  Merge branch 'master' of github.com:zopefoundation/zope.interface into master


  Commit: 5cb7ffdb52916748494eb1fa2d4bcdff17496646
      https://github.com/zopefoundation/zope.interface/commit/5cb7ffdb52916748494eb1fa2d4bcdff17496646
  Author: Jan-Jaap Driessen <jdriessen at minddistrict.com>
  Date:   2020-10-01 (Thu, 01 Oct 2020)

  Changed paths:
    M .gitignore
    M CHANGES.rst
    M src/zope/interface/interface.py
    M src/zope/interface/tests/test_interface.py

  Log Message:
  -----------
  Merge pull request #215 from minddistrict/master

Make sure to call each invariant only once when validating invariants.


Compare: https://github.com/zopefoundation/zope.interface/compare/93efea757770...5cb7ffdb5291


More information about the checkins mailing list