[Checkins] [zopefoundation/zope.annotation] 72b9f2: Make AttributeAnnotations have a __parent__

GitHub noreply at github.com
Thu Aug 24 21:30:09 CEST 2017


  Branch: refs/heads/issue11
  Home:   https://github.com/zopefoundation/zope.annotation
  Commit: 72b9f2b3d997af527271325852a650c4c56b6456
      https://github.com/zopefoundation/zope.annotation/commit/72b9f2b3d997af527271325852a650c4c56b6456
  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