zope.traversing

HomePage: http://pypi.python.org/pypi/zope.traversing

Author: Zope Foundation and Contributors

Download: https://pypi.python.org/packages/source/z/zope.traversing/zope.traversing-4.0.0.zip

        The ``zope.traversing`` package provides adapteres for resolving
object paths by traversing an object hierarchy.  This also includes
support for traversal namespaces (e.g. ``++view++``, ``++skin++``,
etc.) as well as computing URLs via the ``@@absolute_url`` view.


=======
Changes
=======

4.0.0 (2014-03-21)
------------------

- Added support for Python 3.4.


4.0.0a3 (2013-03-12)
--------------------

- Added support for PyPy 1.9.


4.0.0a2 (2013-02-21)
--------------------

- Removed ``zope.container`` testing dependency to break another circular
  dependency.

- Removed ``zope.pagetemplate`` testing dependency to break another circular
  dependency.

- Removed ``zope.browserpage`` (ZCML) dependency by using low-level directives.

- Removed ``zope.site`` testing dependency.


4.0.0a1 (2013-02-20)
--------------------

- Replaced deprecated ``zope.component.adapts`` usage with equivalent
  ``zope.component.adapter`` decorator.

- Replaced deprecated ``zope.interface.implements`` usage with equivalent
  ``zope.interface.implementer`` decorator.

- Dropped support for Python 2.4 and 2.5.

- Added support for Python 3.3.

- Fixed dependencies : removed ``zope.tal`` and added ``zope.browserpage``.


3.14.0 (2011-03-02)
-------------------

- Re-release of 3.13.1 as a feature version as it introduces dependencies on
  new feature releases.

3.13.1 (2010-12-14)
-------------------

- Fixed ZCML-related dependencies.

3.13 (2010-07-09)
-----------------

- When a ``__parent__`` attribute is available on an object, it is
  always used for absolute URL construction, and no ILocation adapter
  lookup is performed for it. This was the previous behavior but was
  broken (around 3.5?) due to dependency refactoring.

  If the object provides no ``__parent__`` then an ILocation adapter
  lookup will be performed. This will always succeed as zope.location
  provides a default LocationProxy for everything, but more specific
  ILocation adapters can also be provided.

3.12.1 (2010-04-30)
-------------------

- Removed use of 'zope.testing.doctestunit' in favor of stdlib's doctest.

3.12.0 (2009-12-29)
-------------------

- Avoid testing dependencies on zope.securitypolicies and
  zope.principalregistry.

3.11.0 (2009-12-27)
-------------------

- Removed testing dependency on zope.app.publication.

3.10.0 (2009-12-16)
-------------------

- Removed stray test claiming a no longer existing dependency on
  zope.app.applicationcontrol.

- Refactored functional tests to loose dependency on both zope.app.appsetup
  and zope.app.testing.

- Simplified tests for the browser sub-package by using PlacelessSetup from
  zope.component.testing instead of zope.app.testing.

- Simplified test_dependencies module by using zope.configuration instead of
  zope.app.testing.functional.

- Removed testing dependency on zope.app.publisher.

- Replaced testing dependency on zope.app.security with zope.securitypolicy.

- Removed testing dependency on zope.app.zcmlfiles in favor of more explicit
  dependencies.

- Removed testing dependency on zope.app.component.

- Replaced a test dependency on zope.app.zptpage with a dependency on
  zope.pagetemplate.

3.9.0 (2009-12-15)
------------------

- Moved IBeforeTraverseEvent from zope.app.publication into this package,
  as we already deal with publication traversal.

3.8.0 (2009-09-29)
------------------

- In zope.traversing.api.getParent(), try to delegate to
  zope.location.interfaces.ILocationInfo.getParent(), analogous to
  getParents(). Keep returning the traversal parent as a fallback.

- Brought ITraverser back from zope.location where it had been moved to invert
  the package interdependency, but is no longer used now.

3.7.2 (2009-08-29)
------------------

- Made virtual hosting tests compatible with zope.publisher 3.9. Redirecting
  to a different host requires an explicit `trusted` redirect now.

3.7.1 (2009-06-16)
------------------

- AbsoluteURL now implements the fact that __call__ returns the same as __str__
  in a manner that it applies for subclasses, too, so they only have to override
  __s