[Checkins] [zopefoundation/zope.app.apidoc] 97d143: Clone DocumentationModule objects at traversal ti...

GitHub noreply at github.com
Thu May 18 17:25:17 CEST 2017


  Branch: refs/heads/python3
  Home:   https://github.com/zopefoundation/zope.app.apidoc
  Commit: 97d143cc23f7a7e18211d16bdb905c701f09f0e0
      https://github.com/zopefoundation/zope.app.apidoc/commit/97d143cc23f7a7e18211d16bdb905c701f09f0e0
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-05-18 (Thu, 18 May 2017)

  Changed paths:
    M src/zope/app/apidoc/apidoc.py
    M src/zope/app/apidoc/bookmodule/book.py
    M src/zope/app/apidoc/codemodule/browser/README.rst
    M src/zope/app/apidoc/codemodule/browser/class_.py
    M src/zope/app/apidoc/codemodule/browser/function.py
    M src/zope/app/apidoc/codemodule/browser/menu.py
    M src/zope/app/apidoc/codemodule/codemodule.py
    M src/zope/app/apidoc/codemodule/module.py
    M src/zope/app/apidoc/ifacemodule/ifacemodule.py
    M src/zope/app/apidoc/interfaces.py
    M src/zope/app/apidoc/typemodule/type.py
    M src/zope/app/apidoc/utilities.py
    M src/zope/app/apidoc/utilitymodule/utilitymodule.py
    M src/zope/app/apidoc/zcmlmodule/__init__.py

  Log Message:
  -----------
   Clone DocumentationModule objects at traversal time

This lets us use the actual correct root object and avoids any
weirdness with subsites, etc.

Sadly, there were a tiny number of places that *depended* on the
side-effct of the in-memory shared component having previously had its
`__parent__` set to something. Make them use traversal too.




More information about the checkins mailing list