Package: zope.traversing
zope.traversingThis package provides adapters for resolving object paths by traversing
an object hierarchy.  This package also includes support for traversal
namespaces (e.g.++view++,++skin++, etc.) as well as computing
URLs via the@@absolute_urlview.Documentation is hosted athttps://zopetraversing.readthedocs.io/Changes5.0 (2023-03-27)Drop support for Python 2.7, 3.5, 3.6.Add support for Python 3.9, 3.10, 3.11.4.4.1 (2020-03-31)Ensure all objects have consistent resolution orders. Previously,
the “debug” namespace’s “errors” flag completely changed the
resolution order of the request instead of simply adding the “Debug” skin.4.4.0 (2020-03-30)Drop support for Python 3.4.Add support for Python 3.8.4.3.1 (2018-10-16)Fix DeprecationWarnings forComponentLookupErrorby
importing them fromzope.interface.interfaces. Seeissue 10.4.3 (2018-10-05)Add support for Python 3.7.Host documentation athttps://zopetraversing.readthedocs.io4.2.0 (2017-09-23)Add support for Python 3.6.Drop support for Python 3.3.Drop support forpython setup.py test.4.1.0 (2016-08-05)Add support for Python 3.5.Drop support for Python 2.6.Gracefully handleUnicodeEncodeErrorthat can be produced when
doing attribute lookup on Python 2 by instead raising aLocationError.4.0.0 (2014-03-21)Add support for Python 3.4.4.0.0a3 (2013-03-12)Add support for PyPy.4.0.0a2 (2013-02-21)Removezope.containertesting dependency to break another circular
dependency.Removezope.pagetemplatetesting dependency to break another circular
dependency.Removezope.browserpage(ZCML) dependency by using low-level directives.Removezope.sitetesting dependency.4.0.0a1 (2013-02-20)Replace deprecatedzope.component.adaptsusage with equivalentzope.component.adapterdecorator.Replace deprecatedzope.interface.implementsusage with equivalentzope.interface.implementerdecorator.Drop support for Python 2.4 and 2.5.Add support for Python 3.3.Fix dependencies : removedzope.taland addedzope.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)Fix 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)Remove use ofzope.testing.doctestunitin favor of stdlib’s doctest.3.12.0 (2009-12-29)Avoid testing dependencies onzope.securitypoliciesandzope.principalregistry.3.11.0 (2009-12-27)Remove testing dependency onzope.app.publication.3.10.0 (2009-12-16)Remove stray test claiming a no longer existing dependency onzope.app.applicationcontrol.Refactor functional tests to loose dependency on bothzope.app.appsetupandzope.app.testing.Simplify tests for thebrowsersub-package by usingPlacelessSetupfromzope.component.testinginstead ofzope.app.testing.Simplifytest_dependenciesmodule by usingzope.configurationinstead ofzope.app.testing.functional.Remove testing dependency onzope.app.publisher.Replace testing dependency onzope.app.securitywithzope.securitypolicy.Remove testing dependency onzope.app.zcmlfilesin favor of more
explicit dependencies.Remove testing dependency onzope.app.component.Replace a test dependency onzope.app.zptpagewith a dependency onzope.pagetemplate.3.9.0 (2009-12-15)MoveIBeforeTraverseEventhere fromzope.app.publication,
as we already deal with publication traversal.3.8.0 (2009-09-29)Inzope.traversing.api.getParent(), try to delegate tozope.location.interfaces.ILocationInfo.getParent(), analogous togetParents(). Keep returning the traversal parent as a fallback.BringITraverserback fromzope.locationwhere it had been moved
to invert the package interdependency, but where it is now no longer used.3.7.2 (2009-08-29)Make virtual hosting tests compatible withzope.publisher3.9.
Redirecting to a different host requires an explicittrustedredirect now.3.7.1 (2009-06-16)AbsoluteURLnow 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__str__and not both.3.7.0 (2009-05-23)Move thepublicationtraversemodule tozope.traversing, removing thezope.app.publisher->zope.app.publicationdependency (which was a
cycle).Look up the application controller through a utility registration
rather than a direct reference.3.6.0 (2009-04-06)Changeconfigure.zcmlnot to depend onzope.app.component.This release includes the BBB-incompatiblezope.publisher.skinnablechange from 3.5.3.3.5.4 (2009-04-06)Revert BBB-incompatible use ofzope.publisher.skinnable:  that
change belongs in a 3.6.0 release, because it requires a BBB-incompatible
version ofzope.publisher.3.5.3 (2009-03-10)Use applySkin from new location. zope.publisher.skinnable instead of
zope.publisher.browser.Use IAbsoluteURL lookup instead of the “absolute_url” view in the
recursive AbsoluteURL adapters (LP: #338101).3.5.2 (2009-02-04)RootPhysicallyLocatableis not the same asLocationPhysicallyLocatable(now inzope.location).
Fix the import and testing setups.3.5.1 (2009-02-02)Obsolete theRootPhysicallyLocatableadapter, which has been superseded
by the refactoredzope.location.traversing.LocationPhysicallyLocatablethat we depend on since 3.5.0a4.Remove the adapter and its registration, and making its import place
pointing tozope.location.traversing.LocationPhysicallyLocatableto maintain backward-compatibility.This also fixes a bug introduced in version 3.5.0a4 when trying to
callgetParentsfunction for the root object.Use direct imports instead of compatibility ones for things that were
moved tozope.location.Remove thezope.traversing.interfaces.INamespaceHandlerinterface,
as it seems not to be used for years.Change package’s mailing list address to zope-dev at zope.org instead
of retired zope3-dev at zope.org3.5.0 (2009-01-31)Use zope.container instead ofzope.app.container.Use zope.site instead ofzope.app.folderin the unit tests.Reduce, but not eliminate, test dependencies onzope.app.component.3.5.0a4 (2008-08-01)Reverse dependencies betweenzope.locationandzope.traversing.Update (test) dependencies and tests to expect and work with a spec
compliant TAL interpreter as available inzope.tal>= 3.5.0.Fix deprecation warning caused by using an old module name forZopeSecurityPolicyinftesting.zcml.Ensure traversing doesn’t raise an TypeError but a TraversalError when the
traversal step before yielded a string.3.5.0a3 (2007-12-28)Back out the controversial++skin++traverser for XML-RPC.3.5.0a2 (2007-11-28)Port 3.4.1a1 to trunkDo not use unicode strings to set the application server in the virtual
host namespace. This causedabsolute_urlto create unicode URL’s.Add a traverer for++skin++for XMLRPC skins (IXMLRPCSkinType).
This also means that the normal++skin++namespace handler is only
bound toIBrowserRequest.Resolve the dependency onzope.app.applicationcontrolby importing the
application controller only if the package is available.3.4.1 (2008-07-30)Fix deprecation warning caused by using an old module name forZopeSecurityPolicyinftesting.zcml.3.4.1a1 (2007-11-13)Do not use unicode strings to set the application server in the virtual
host namespace. This caused absolute_url to create unicode URL’s.3.4.0 (2007-09-29)No further changes since 3.4.0a1.3.4.0a1 (2007-04-22)Initial release as a separate project, corresponds tozope.traversingfrom Zope 3.4.0a1