Development of an internal social media platform with personalised dashboards for students
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

DESCRIPTION.rst 7.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  1. ===================
  2. ``zope.location``
  3. ===================
  4. .. image:: https://img.shields.io/pypi/v/zope.location.svg
  5. :target: https://pypi.python.org/pypi/zope.location/
  6. :alt: Latest release
  7. .. image:: https://img.shields.io/pypi/pyversions/zope.location.svg
  8. :target: https://pypi.org/project/zope.location/
  9. :alt: Supported Python versions
  10. .. image:: https://travis-ci.org/zopefoundation/zope.location.svg?branch=master
  11. :target: https://travis-ci.org/zopefoundation/zope.location
  12. .. image:: https://coveralls.io/repos/github/zopefoundation/zope.location/badge.svg?branch=master
  13. :target: https://coveralls.io/github/zopefoundation/zope.location?branch=master
  14. .. image:: https://readthedocs.org/projects/zopelocation/badge/?version=latest
  15. :target: http://zopelocation.readthedocs.org/en/latest/
  16. :alt: Documentation Status
  17. In Zope3, "locations" are special objects that have a structural
  18. location, indicated with ``__name__`` and ``__parent__`` attributes.
  19. See `zope.container <https://zopecontainer.readthedocs.io/en/latest>`_
  20. for a useful extension of this concept to "containers."
  21. Documentation is hosted at https://zopelocation.readthedocs.io/en/latest/
  22. =========
  23. Changes
  24. =========
  25. 4.2 (2018-10-09)
  26. ================
  27. - Add support for Python 3.7.
  28. 4.1.0 (2017-08-03)
  29. ==================
  30. - Drop support for Python 2.6, 3.2 and 3.3.
  31. - Add a page to the docs on hacking ``zope.location``.
  32. - Note additional documentation dependencies.
  33. - Add support for Python 3.5 and 3.6.
  34. - Remove internal ``_compat`` implementation module.
  35. 4.0.3 (2014-03-19)
  36. ==================
  37. - Add Python 3.4 support.
  38. - Update ``boostrap.py`` to version 2.2.
  39. 4.0.2 (2013-03-11)
  40. ==================
  41. - Change the behavior of ``LocationProxy``'s ``__setattr__()`` to correctly
  42. behave when dealing with the pure Python version of the ``ProxyBase``
  43. class. Also added a test suite that fully tests the pure Python proxy
  44. version of the ``LocationProxy`` class.
  45. 4.0.1 (2013-02-19)
  46. ==================
  47. - Add Python 3.3 support.
  48. 4.0.0 (2012-06-07)
  49. ==================
  50. - Remove backward-compatibility imports:
  51. - ``zope.copy.clone`` (aliased as ``zope.location.pickling.locationCopy``)
  52. - ``zope.copy.CopyPersistent`` (aliased as
  53. ``zope.location.pickling.CopyPersistent``).
  54. - ``zope.site.interfaces.IPossibleSite`` (aliased as
  55. ``zope.location.interfaces.IPossibleSite``).
  56. - Add Python 3.2 support.
  57. - Make ``zope.component`` dependency optional. Use the ``component`` extra
  58. to force its installation (or just require it directly). If
  59. ``zope.component`` is not present, this package defines the ``ISite``
  60. interface itself, and omits adapter registrations from its ZCML.
  61. - Add support for PyPy.
  62. - Add support for continuous integration using ``tox`` and ``jenkins``.
  63. - Bring unit test coverage to 100%.
  64. - Add Sphinx documentation: moved doctest examples to API reference.
  65. - Add 'setup.py docs' alias (installs ``Sphinx`` and dependencies).
  66. - Add 'setup.py dev' alias (runs ``setup.py develop`` plus installs
  67. ``nose`` and ``coverage``).
  68. - Replace deprecated ``zope.component.adapts`` usage with equivalent
  69. ``zope.component.adapter`` decorator.
  70. - Replace deprecated ``zope.interface.implements`` usage with equivalent
  71. ``zope.interface.implementer`` decorator.
  72. - Drop support for Python 2.4 and 2.5.
  73. 3.9.1 (2011-08-22)
  74. ==================
  75. - Add zcml extra as well as a test for configure.zcml.
  76. 3.9.0 (2009-12-29)
  77. ==================
  78. - Move LocationCopyHook related tests to zope.copy and remove a test
  79. dependency on that package.
  80. 3.8.2 (2009-12-23)
  81. ==================
  82. - Fix a typo in the configure.zcml.
  83. 3.8.1 (2009-12-23)
  84. ==================
  85. - Remove dependency on zope.copy: the LocationCopyHook adapter is registered
  86. only if zope.copy is available.
  87. - Use the standard Python doctest module instead of zope.testing.doctest, which
  88. has been deprecated.
  89. 3.8.0 (2009-12-22)
  90. ==================
  91. - Adjust to testing output caused by new zope.schema.
  92. 3.7.1 (2009-11-18)
  93. ==================
  94. - Move the IPossibleSite and ISite interfaces to zope.component as they are
  95. dealing with zope.component's concept of a site, but not with location.
  96. 3.7.0 (2009-09-29)
  97. ==================
  98. - Add getParent() to ILocationInfo and moved the actual implementation here
  99. from zope.traversal.api, analogous to getParents().
  100. - Actually remove deprecated PathPersistent class from
  101. zope.location.pickling.
  102. - Move ITraverser back to zope.traversing where it belongs conceptually. The
  103. interface had been moved to zope.location to invert the package
  104. interdependency but is no longer used here.
  105. 3.6.0 (2009-08-27)
  106. ==================
  107. - New feature release: deprecate locationCopy, CopyPersistent and
  108. PathPersistent from zope.location.pickling. These changes were already part
  109. of the 3.5.3 release, which was erroneously numbered as a bugfix relese.
  110. - Remove dependency on zope.deferredimport, directly import deprecated modules
  111. without using it.
  112. 3.5.5 (2009-08-15)
  113. ==================
  114. - Add zope.deferredimport as a dependency as it's used directly by
  115. zope.location.pickling.
  116. 3.5.4 (2009-05-17)
  117. ==================
  118. - Add ``IContained`` interface to ``zope.location.interfaces`` module.
  119. This interface was moved from ``zope.container`` (after
  120. ``zope.container`` 3.8.2); consumers of ``IContained`` may now
  121. depend on zope.location rather than zope.container to reduce
  122. dependency cycles.
  123. 3.5.3 (2009-02-09)
  124. ==================
  125. - Use new zope.copy package for implementing location copying. Thus
  126. there's changes in the ``zope.locaton.pickling`` module:
  127. * The ``locationCopy`` and ``CopyPersistent`` was removed in prefer
  128. to their equivalents in zope.copy. Deprecated backward-compatibility
  129. imports provided.
  130. * The module now provides a ``zope.copy.interfaces.ICopyHook`` adapter
  131. for ``ILocation`` objects that replaces the old CopyPersistent
  132. functionality of checking for the need to clone objects based on
  133. their location.
  134. 3.5.2 (2009-02-04)
  135. ==================
  136. - Split RootPhysicallyLocatable adapter back from LocationPhysicallyLocatable,
  137. because the IRoot object may not always provide ILocation and the code
  138. for the root object is also simplier. It's basically a copy of the
  139. RootPhysicallyLocatable adapter from zope.traversing version 3.5.0 and
  140. below with ``getParents`` method added (returns an empty list).
  141. 3.5.1 (2009-02-02)
  142. ==================
  143. - Improve test coverage.
  144. - The new ``getParents`` method was extracted from ``zope.traversing``
  145. and added to ILocationInfo interface in the previous release. Custom
  146. ILocationInfo implementations should make sure they have this method
  147. as well. That method is already used in ``zope.traversing.api.getParents``
  148. function.
  149. - Make ``getName`` of LocationPhysicallyLocatable always return empty
  150. string for the IRoot object, like RootPhysicallyLocatable from
  151. ``zope.traversing`` did. So, now LocationPhysicallyLocatable is
  152. fully compatible with RootPhysicallyLocatable, making the latter one
  153. obsolete.
  154. - Change package mailing list address to zope-dev at zope.org instead
  155. of retired zope3-dev at zope.org.
  156. 3.5.0 (2009-01-31)
  157. ==================
  158. - Reverse the dependency between zope.location and zope.traversing. This
  159. also causes the dependency to various other packages go away.
  160. 3.4.0 (2007-10-02)
  161. ==================
  162. - Initial release independent of the main Zope tree.