[Checkins] [zopefoundation/zope.annotation] 45d1fd: Make AttributeAnnotations have a __parent__

GitHub noreply at github.com
Thu Aug 24 21:27:34 CEST 2017


  Branch: refs/heads/issue11
  Home:   https://github.com/zopefoundation/zope.annotation
  Commit: 45d1fd669d1c4315b05a829c25c4c63bf99acad1
      https://github.com/zopefoundation/zope.annotation/commit/45d1fd669d1c4315b05a829c25c4c63bf99acad1
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-08-24 (Thu, 24 Aug 2017)

  Changed paths:
    M CHANGES.rst
    M docs/api.rst
    M docs/conf.py
    M docs/narrative.rst
    M src/zope/annotation/attribute.py
    M src/zope/annotation/tests/test_attributeannotations.py

  Log Message:
  -----------
  Make AttributeAnnotations have a __parent__

Fixes #11 in a BWC way using a property. This makes it more like
zope.principalannotation (though I didn't change the interface here).

Also some doc fixes I noticed when I was fixing up the doctest
snippets (I originally had this implementing ``ILocation`` with a
`__name__` of `__annotations__` but I realized that didn't really make
any sense.)




More information about the checkins mailing list