Package: zope.location
zope.locationIn Zope 3, “locations” are special objects that have a structural
location, indicated with__name__and__parent__attributes.Seezope.containerfor a useful extension of this concept to “containers.”Documentation is hosted athttps://zopelocation.readthedocs.io/en/latest/Changes5.0 (2023-05-25)Drop support for Python 2.7, 3.5, 3.6.4.3 (2022-11-29)Add support for Python 3.8, 3.9, 3.10, 3.11.Drop support for Python 3.4.4.2 (2018-10-09)Add support for Python 3.7.4.1.0 (2017-08-03)Drop support for Python 2.6, 3.2 and 3.3.Add a page to the docs on hackingzope.location.Note additional documentation dependencies.Add support for Python 3.5 and 3.6.Remove internal_compatimplementation module.4.0.3 (2014-03-19)Add Python 3.4 support.Updateboostrap.pyto version 2.2.4.0.2 (2013-03-11)Change the behavior ofLocationProxy’s__setattr__()to correctly
behave when dealing with the pure Python version of theProxyBaseclass. Also added a test suite that fully tests the pure Python proxy
version of theLocationProxyclass.4.0.1 (2013-02-19)Add Python 3.3 support.4.0.0 (2012-06-07)Remove backward-compatibility imports:zope.copy.clone(aliased aszope.location.pickling.locationCopy)zope.copy.CopyPersistent(aliased aszope.location.pickling.CopyPersistent).zope.site.interfaces.IPossibleSite(aliased aszope.location.interfaces.IPossibleSite).Add Python 3.2 support.Makezope.componentdependency optional.  Use thecomponentextra
to force its installation (or just require it directly).  Ifzope.componentis not present, this package defines theISiteinterface itself, and omits adapter registrations from its ZCML.Add support for PyPy.Add support for continuous integration usingtoxandjenkins.Bring unit test coverage to 100%.Add Sphinx documentation:  moved doctest examples to API reference.Add ‘setup.py docs’ alias (installsSphinxand dependencies).Add ‘setup.py dev’ alias (runssetup.py developplus installsnoseandcoverage).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.3.9.1 (2011-08-22)Add zcml extra as well as a test for configure.zcml.3.9.0 (2009-12-29)Move LocationCopyHook related tests to zope.copy and remove a test
dependency on that package.3.8.2 (2009-12-23)Fix a typo in the configure.zcml.3.8.1 (2009-12-23)Remove dependency on zope.copy: the LocationCopyHook adapter is registered
only if zope.copy is available.Use the standard Python doctest module instead of zope.testing.doctest, which
has been deprecated.3.8.0 (2009-12-22)Adjust to testing output caused by new zope.schema.3.7.1 (2009-11-18)Move the IPossibleSite and ISite interfaces to zope.component as they are
dealing with zope.component’s concept of a site, but not with location.3.7.0 (2009-09-29)Add getParent() to ILocationInfo and moved the actual implementation here
from zope.traversal.api, analogous to getParents().Actually remove deprecated PathPersistent class from
zope.location.pickling.Move ITraverser back to zope.traversing where it belongs conceptually. The
interface had been moved to zope.location to invert the package
interdependency but is no longer used here.3.6.0 (2009-08-27)New feature release: deprecate locationCopy, CopyPersistent and
PathPersistent from zope.location.pickling. These changes were already part
of the 3.5.3 release, which was erroneously numbered as a bugfix relese.Remove dependency on zope.deferredimport, directly import deprecated modules
without using it.3.5.5 (2009-08-15)Add zope.deferredimport as a dependency as it’s used directly by
zope.location.pickling.3.5.4 (2009-05-17)AddIContainedinterface tozope.location.interfacesmodule.
This interface was moved fromzope.container(afterzope.container3.8.2); consumers ofIContainedmay now
depend on zope.location rather than zope.container to reduce
dependency cycles.3.5.3 (2009-02-09)Use new zope.copy package for implementing location copying. Thus
there’s changes in thezope.locaton.picklingmodule:ThelocationCopyandCopyPersistentwas removed in prefer
to their equivalents in zope.copy. Deprecated backward-compatibility
imports provided.The module now provides azope.copy.interfaces.ICopyHookadapter
forILocationobjects that replaces the old CopyPersistent
functionality of checking for the need to clone objects based on
their location.3.5.2 (2009-02-04)Split RootPhysicallyLocatable adapter back from LocationPhysicallyLocatable,
because the IRoot object may not always provide ILocation and the code
for the root object is also simplier. It’s basically a copy of the
RootPhysicallyLocatable adapter from zope.traversing version 3.5.0 and
below withgetParentsmethod added (returns an empty list).3.5.1 (2009-02-02)Improve test coverage.The newgetParentsmethod was extracted fromzope.traversingand added to ILocationInfo interface in the previous release. Custom
ILocationInfo implementations should make sure they have this method
as well. That method is already used inzope.traversing.api.getParentsfunction.MakegetNameof LocationPhysicallyLocatable always return empty
string for the IRoot object, like RootPhysicallyLocatable fromzope.traversingdid. So, now LocationPhysicallyLocatable is
fully compatible with RootPhysicallyLocatable, making the latter one
obsolete.Change package mailing list address to zope-dev at zope.org instead
of retired zope3-dev at zope.org.3.5.0 (2009-01-31)Reverse the dependency between zope.location and zope.traversing. This
also causes the dependency to various other packages go away.3.4.0 (2007-10-02)Initial release independent of the main Zope tree.