METADATA 43 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214
  1. Metadata-Version: 2.1
  2. Name: zope.interface
  3. Version: 7.1.1
  4. Summary: Interfaces for Python
  5. Home-page: https://github.com/zopefoundation/zope.interface
  6. Author: Zope Foundation and Contributors
  7. Author-email: zope-dev@zope.dev
  8. License: ZPL 2.1
  9. Keywords: interface,components,plugins
  10. Classifier: Development Status :: 5 - Production/Stable
  11. Classifier: Intended Audience :: Developers
  12. Classifier: License :: OSI Approved :: Zope Public License
  13. Classifier: Operating System :: OS Independent
  14. Classifier: Programming Language :: Python
  15. Classifier: Programming Language :: Python :: 3
  16. Classifier: Programming Language :: Python :: 3.8
  17. Classifier: Programming Language :: Python :: 3.9
  18. Classifier: Programming Language :: Python :: 3.10
  19. Classifier: Programming Language :: Python :: 3.11
  20. Classifier: Programming Language :: Python :: 3.12
  21. Classifier: Programming Language :: Python :: 3.13
  22. Classifier: Programming Language :: Python :: Implementation :: CPython
  23. Classifier: Programming Language :: Python :: Implementation :: PyPy
  24. Classifier: Framework :: Zope :: 3
  25. Classifier: Topic :: Software Development :: Libraries :: Python Modules
  26. Requires-Python: >=3.8
  27. Description-Content-Type: text/x-rst
  28. License-File: LICENSE.txt
  29. Requires-Dist: setuptools
  30. Provides-Extra: docs
  31. Requires-Dist: Sphinx ; extra == 'docs'
  32. Requires-Dist: repoze.sphinx.autointerface ; extra == 'docs'
  33. Requires-Dist: furo ; extra == 'docs'
  34. Provides-Extra: test
  35. Requires-Dist: coverage[toml] ; extra == 'test'
  36. Requires-Dist: zope.event ; extra == 'test'
  37. Requires-Dist: zope.testing ; extra == 'test'
  38. Provides-Extra: testing
  39. Requires-Dist: coverage[toml] ; extra == 'testing'
  40. Requires-Dist: zope.event ; extra == 'testing'
  41. Requires-Dist: zope.testing ; extra == 'testing'
  42. ====================
  43. ``zope.interface``
  44. ====================
  45. .. image:: https://img.shields.io/pypi/v/zope.interface.svg
  46. :target: https://pypi.python.org/pypi/zope.interface/
  47. :alt: Latest Version
  48. .. image:: https://img.shields.io/pypi/pyversions/zope.interface.svg
  49. :target: https://pypi.org/project/zope.interface/
  50. :alt: Supported Python versions
  51. .. image:: https://github.com/zopefoundation/zope.interface/actions/workflows/tests.yml/badge.svg
  52. :target: https://github.com/zopefoundation/zope.interface/actions/workflows/tests.yml
  53. .. image:: https://readthedocs.org/projects/zopeinterface/badge/?version=latest
  54. :target: https://zopeinterface.readthedocs.io/en/latest/
  55. :alt: Documentation Status
  56. This package is intended to be independently reusable in any Python
  57. project. It is maintained by the `Zope Toolkit project
  58. <https://zopetoolkit.readthedocs.io/>`_.
  59. This package provides an implementation of "object interfaces" for Python.
  60. Interfaces are a mechanism for labeling objects as conforming to a given
  61. API or contract. So, this package can be considered as implementation of
  62. the `Design By Contract`_ methodology support in Python.
  63. .. _Design By Contract: http://en.wikipedia.org/wiki/Design_by_contract
  64. For detailed documentation, please see https://zopeinterface.readthedocs.io/en/latest/
  65. =========
  66. Changes
  67. =========
  68. 7.1.1 (2024-10-23)
  69. ==================
  70. - Fix segmentation faults in `weakrefobject.c` on Python 3.12 and 3.13.
  71. (`#323 <https://github.com/zopefoundation/zope.interface/issues/323>`_)
  72. 7.1.0 (2024-10-10)
  73. ==================
  74. - Declare support for Python 3.13.
  75. - Fix segmentation faults on Python 3.13.
  76. (`#323 <https://github.com/zopefoundation/zope.interface/issues/323>`_)
  77. 7.0.3 (2024-08-27)
  78. ==================
  79. - Fix `Assertion 'memb->type == T_PYSSIZET' failed.` for Python < 3.12.
  80. (`#319 <https://github.com/zopefoundation/zope.interface/issues/319>`_)
  81. 7.0.2 (2024-08-26)
  82. ==================
  83. - Fix reference-counting bug in C module initialization (broken in 7.0).
  84. (`#316 <https://github.com/zopefoundation/zope.interface/issues/316>`_)
  85. 7.0.1 (2024-08-06)
  86. ==================
  87. - Fix subclassability of ``ObjectSpecificationDescriptor`` (broken in 7.0).
  88. (`#312 <https://github.com/zopefoundation/zope.interface/issues/312>`_)
  89. 7.0 (2024-08-06)
  90. ================
  91. - Enable heap-based types (PEP 384) for Python >= 3.11.
  92. - Adopt multi-phase module initialization (PEP 489).
  93. - Drop support for Python 3.7.
  94. 6.4.post2 (2024-05-24)
  95. ======================
  96. - Publish missing Windows wheels, second attempt.
  97. (`#295 <https://github.com/zopefoundation/zope.interface/issues/295>`_)
  98. 6.4.post1 (2024-05-23)
  99. ======================
  100. - Publish missing Windows wheels.
  101. (`#295 <https://github.com/zopefoundation/zope.interface/issues/295>`_)
  102. 6.4.post0 (2024-05-22)
  103. ======================
  104. - The sdist of version 6.4 was uploaded to PyPI as
  105. ``zope_interface-6.4.tar.gz`` instead of ``zope.interface-6.4-py2.tar.gz``
  106. which cannot be installed by ``zc.buildout``. This release is a re-release
  107. of version 6.4 with the correct sdist name.
  108. (`#298 <https://github.com/zopefoundation/zope.interface/issues/298>`_)
  109. 6.4 (2024-05-15)
  110. ================
  111. - Adjust for incompatible changes in Python 3.13b1.
  112. (`#292 <https://github.com/zopefoundation/zope.interface/issues/292>`_)
  113. - Build windows wheels on GHA.
  114. 6.3 (2024-04-12)
  115. ================
  116. - Add preliminary support for Python 3.13 as of 3.13a6.
  117. 6.2 (2024-02-16)
  118. ================
  119. - Add preliminary support for Python 3.13 as of 3.13a3.
  120. - Add support to use the pipe (``|``) syntax for ``typing.Union``.
  121. (`#280 <https://github.com/zopefoundation/zope.interface/issues/280>`_)
  122. 6.1 (2023-10-05)
  123. ================
  124. - Build Linux binary wheels for Python 3.12.
  125. - Add support for Python 3.12.
  126. - Fix building of the docs for non-final versions.
  127. 6.0 (2023-03-17)
  128. ================
  129. - Build Linux binary wheels for Python 3.11.
  130. - Drop support for Python 2.7, 3.5, 3.6.
  131. - Fix test deprecation warning on Python 3.11.
  132. - Add preliminary support for Python 3.12 as of 3.12a5.
  133. - Drop:
  134. + `zope.interface.implements`
  135. + `zope.interface.implementsOnly`
  136. + `zope.interface.classProvides`
  137. 5.5.2 (2022-11-17)
  138. ==================
  139. - Add support for building arm64 wheels on macOS.
  140. 5.5.1 (2022-11-03)
  141. ==================
  142. - Add support for final Python 3.11 release.
  143. 5.5.0 (2022-10-10)
  144. ==================
  145. - Add support for Python 3.10 and 3.11 (as of 3.11.0rc2).
  146. - Add missing Trove classifier showing support for Python 3.9.
  147. - Add some more entries to ``zope.interface.interfaces.__all__``.
  148. - Disable unsafe math optimizations in C code. See `pull request 262
  149. <https://github.com/zopefoundation/zope.interface/pull/262>`_.
  150. 5.4.0 (2021-04-15)
  151. ==================
  152. - Make the C implementation of the ``__providedBy__`` descriptor stop
  153. ignoring all errors raised when accessing the instance's
  154. ``__provides__``. Now it behaves like the Python version and only
  155. catches ``AttributeError``. The previous behaviour could lead to
  156. crashing the interpreter in cases of recursion and errors. See
  157. `issue 239 <https://github.com/zopefoundation/zope.interface/issues>`_.
  158. - Update the ``repr()`` and ``str()`` of various objects to be shorter
  159. and more informative. In many cases, the ``repr()`` is now something
  160. that can be evaluated to produce an equal object. For example, what
  161. was previously printed as ``<implementedBy builtins.list>`` is now
  162. shown as ``classImplements(list, IMutableSequence, IIterable)``. See
  163. `issue 236 <https://github.com/zopefoundation/zope.interface/issues/236>`_.
  164. - Make ``Declaration.__add__`` (as in ``implementedBy(Cls) +
  165. ISomething``) try harder to preserve a consistent resolution order
  166. when the two arguments share overlapping pieces of the interface
  167. inheritance hierarchy. Previously, the right hand side was always
  168. put at the end of the resolution order, which could easily produce
  169. invalid orders. See `issue 193
  170. <https://github.com/zopefoundation/zope.interface/issues/193>`_.
  171. 5.3.0 (2020-03-21)
  172. ==================
  173. - No changes from 5.3.0a1
  174. 5.3.0a1 (2021-03-18)
  175. ====================
  176. - Improve the repr of ``zope.interface.Provides`` to remove ambiguity
  177. about what is being provided. This is especially helpful diagnosing
  178. IRO issues.
  179. - Allow subclasses of ``BaseAdapterRegistry`` (including
  180. ``AdapterRegistry`` and ``VerifyingAdapterRegistry``) to have
  181. control over the data structures. This allows persistent
  182. implementations such as those based on ZODB to choose more scalable
  183. options (e.g., BTrees instead of dicts). See `issue 224
  184. <https://github.com/zopefoundation/zope.interface/issues/224>`_.
  185. - Fix a reference counting issue in ``BaseAdapterRegistry`` that could
  186. lead to references to interfaces being kept around even when all
  187. utilities/adapters/subscribers providing that interface have been
  188. removed. This is mostly an issue for persistent implementations.
  189. Note that this only corrects the issue moving forward, it does not
  190. solve any already corrupted reference counts. See `issue 227
  191. <https://github.com/zopefoundation/zope.interface/issues/227>`_.
  192. - Add the method ``BaseAdapterRegistry.rebuild()``. This can be used
  193. to fix the reference counting issue mentioned above, as well as to
  194. update the data structures when custom data types have changed.
  195. - Add the interface method ``IAdapterRegistry.subscribed()`` and
  196. implementation ``BaseAdapterRegistry.subscribed()`` for querying
  197. directly registered subscribers. See `issue 230
  198. <https://github.com/zopefoundation/zope.interface/issues/230>`_.
  199. - Add the maintenance method
  200. ``Components.rebuildUtilityRegistryFromLocalCache()``. Most users
  201. will not need this, but it can be useful if the ``Components.utilities``
  202. registry is suspected to be out of sync with the ``Components``
  203. object itself (this might happen to persistent ``Components``
  204. implementations in the face of bugs).
  205. - Fix the ``Provides`` and ``ClassProvides`` descriptors to stop
  206. allowing redundant interfaces (those already implemented by the
  207. underlying class or meta class) to produce an inconsistent
  208. resolution order. This is similar to the change in ``@implementer``
  209. in 5.1.0, and resolves inconsistent resolution orders with
  210. ``zope.proxy`` and ``zope.location``. See `issue 207
  211. <https://github.com/zopefoundation/zope.interface/issues/207>`_.
  212. 5.2.0 (2020-11-05)
  213. ==================
  214. - Add documentation section ``Persistency and Equality``
  215. (`#218 <https://github.com/zopefoundation/zope.interface/issues/218>`_).
  216. - Create arm64 wheels.
  217. - Add support for Python 3.9.
  218. 5.1.2 (2020-10-01)
  219. ==================
  220. - Make sure to call each invariant only once when validating invariants.
  221. Previously, invariants could be called multiple times because when an
  222. invariant is defined in an interface, it's found by in all interfaces
  223. inheriting from that interface. See `pull request 215
  224. <https://github.com/zopefoundation/zope.interface/pull/215/>`_.
  225. 5.1.1 (2020-09-30)
  226. ==================
  227. - Fix the method definitions of ``IAdapterRegistry.subscribe``,
  228. ``subscriptions`` and ``subscribers``. Previously, they all were
  229. defined to accept a ``name`` keyword argument, but subscribers have
  230. no names and the implementation of that interface did not accept
  231. that argument. See `issue 208
  232. <https://github.com/zopefoundation/zope.interface/issues/208>`_.
  233. - Fix a potential reference leak in the C optimizations. Previously,
  234. applications that dynamically created unique ``Specification``
  235. objects (e.g., used ``@implementer`` on dynamic classes) could
  236. notice a growth of small objects over time leading to increased
  237. garbage collection times. See `issue 216
  238. <https://github.com/zopefoundation/zope.interface/issues/216>`_.
  239. .. caution::
  240. This leak could prevent interfaces used as the bases of
  241. other interfaces from being garbage collected. Those interfaces
  242. will now be collected.
  243. One way in which this would manifest was that ``weakref.ref``
  244. objects (and things built upon them, like
  245. ``Weak[Key|Value]Dictionary``) would continue to have access to
  246. the original object even if there were no other visible
  247. references to Python and the original object *should* have been
  248. collected. This could be especially problematic for the
  249. ``WeakKeyDictionary`` when combined with dynamic or local
  250. (created in the scope of a function) interfaces, since interfaces
  251. are hashed based just on their name and module name. See the
  252. linked issue for an example of a resulting ``KeyError``.
  253. Note that such potential errors are not new, they are just once
  254. again a possibility.
  255. 5.1.0 (2020-04-08)
  256. ==================
  257. - Make ``@implementer(*iface)`` and ``classImplements(cls, *iface)``
  258. ignore redundant interfaces. If the class already implements an
  259. interface through inheritance, it is no longer redeclared
  260. specifically for *cls*. This solves many instances of inconsistent
  261. resolution orders, while still allowing the interface to be declared
  262. for readability and maintenance purposes. See `issue 199
  263. <https://github.com/zopefoundation/zope.interface/issues/199>`_.
  264. - Remove all bare ``except:`` statements. Previously, when accessing
  265. special attributes such as ``__provides__``, ``__providedBy__``,
  266. ``__class__`` and ``__conform__``, this package wrapped such access
  267. in a bare ``except:`` statement, meaning that many errors could pass
  268. silently; typically this would result in a fallback path being taken
  269. and sometimes (like with ``providedBy()``) the result would be
  270. non-sensical. This is especially true when those attributes are
  271. implemented with descriptors. Now, only ``AttributeError`` is
  272. caught. This makes errors more obvious.
  273. Obviously, this means that some exceptions will be propagated
  274. differently than before. In particular, ``RuntimeError`` raised by
  275. Acquisition in the case of circular containment will now be
  276. propagated. Previously, when adapting such a broken object, a
  277. ``TypeError`` would be the common result, but now it will be a more
  278. informative ``RuntimeError``.
  279. In addition, ZODB errors like ``POSKeyError`` could now be
  280. propagated where previously they would ignored by this package.
  281. See `issue 200 <https://github.com/zopefoundation/zope.interface/issues/200>`_.
  282. - Require that the second argument (*bases*) to ``InterfaceClass`` is
  283. a tuple. This only matters when directly using ``InterfaceClass`` to
  284. create new interfaces dynamically. Previously, an individual
  285. interface was allowed, but did not work correctly. Now it is
  286. consistent with ``type`` and requires a tuple.
  287. - Let interfaces define custom ``__adapt__`` methods. This implements
  288. the other side of the :pep:`246` adaptation protocol: objects being
  289. adapted could already implement ``__conform__`` if they know about
  290. the interface, and now interfaces can implement ``__adapt__`` if
  291. they know about particular objects. There is no performance penalty
  292. for interfaces that do not supply custom ``__adapt__`` methods.
  293. This includes the ability to add new methods, or override existing
  294. interface methods using the new ``@interfacemethod`` decorator.
  295. See `issue 3 <https://github.com/zopefoundation/zope.interface/issues/3>`_.
  296. - Make the internal singleton object returned by APIs like
  297. ``implementedBy`` and ``directlyProvidedBy`` for objects that
  298. implement or provide no interfaces more immutable. Previously an
  299. internal cache could be mutated. See `issue 204
  300. <https://github.com/zopefoundation/zope.interface/issues/204>`_.
  301. 5.0.2 (2020-03-30)
  302. ==================
  303. - Ensure that objects that implement no interfaces (such as direct
  304. subclasses of ``object``) still include ``Interface`` itself in
  305. their ``__iro___`` and ``__sro___``. This fixes adapter registry
  306. lookups for such objects when the adapter is registered for
  307. ``Interface``. See `issue 197
  308. <https://github.com/zopefoundation/zope.interface/issues/197>`_.
  309. 5.0.1 (2020-03-21)
  310. ==================
  311. - Ensure the resolution order for ``InterfaceClass`` is consistent.
  312. See `issue 192 <https://github.com/zopefoundation/zope.interface/issues/192>`_.
  313. - Ensure the resolution order for ``collections.OrderedDict`` is
  314. consistent on CPython 2. (It was already consistent on Python 3 and PyPy).
  315. - Fix the handling of the ``ZOPE_INTERFACE_STRICT_IRO`` environment
  316. variable. Previously, ``ZOPE_INTERFACE_STRICT_RO`` was read, in
  317. contrast with the documentation. See `issue 194
  318. <https://github.com/zopefoundation/zope.interface/issues/194>`_.
  319. 5.0.0 (2020-03-19)
  320. ==================
  321. - Make an internal singleton object returned by APIs like
  322. ``implementedBy`` and ``directlyProvidedBy`` immutable. Previously,
  323. it was fully mutable and allowed changing its ``__bases___``. That
  324. could potentially lead to wrong results in pathological corner
  325. cases. See `issue 158
  326. <https://github.com/zopefoundation/zope.interface/issues/158>`_.
  327. - Support the ``PURE_PYTHON`` environment variable at runtime instead
  328. of just at wheel build time. A value of 0 forces the C extensions to
  329. be used (even on PyPy) failing if they aren't present. Any other
  330. value forces the Python implementation to be used, ignoring the C
  331. extensions. See `PR 151 <https://github.com/zopefoundation/zope.interface/pull/151>`_.
  332. - Cache the result of ``__hash__`` method in ``InterfaceClass`` as a
  333. speed optimization. The method is called very often (i.e several
  334. hundred thousand times during Plone 5.2 startup). Because the hash value never
  335. changes it can be cached. This improves test performance from 0.614s
  336. down to 0.575s (1.07x faster). In a real world Plone case a reindex
  337. index came down from 402s to 320s (1.26x faster). See `PR 156
  338. <https://github.com/zopefoundation/zope.interface/pull/156>`_.
  339. - Change the C classes ``SpecificationBase`` and its subclass
  340. ``ClassProvidesBase`` to store implementation attributes in their structures
  341. instead of their instance dictionaries. This eliminates the use of
  342. an undocumented private C API function, and helps make some
  343. instances require less memory. See `PR 154 <https://github.com/zopefoundation/zope.interface/pull/154>`_.
  344. - Reduce memory usage in other ways based on observations of usage
  345. patterns in Zope (3) and Plone code bases.
  346. - Specifications with no dependents are common (more than 50%) so
  347. avoid allocating a ``WeakKeyDictionary`` unless we need it.
  348. - Likewise, tagged values are relatively rare, so don't allocate a
  349. dictionary to hold them until they are used.
  350. - Use ``__slots___`` or the C equivalent ``tp_members`` in more
  351. common places. Note that this removes the ability to set arbitrary
  352. instance variables on certain objects.
  353. See `PR 155 <https://github.com/zopefoundation/zope.interface/pull/155>`_.
  354. The changes in this release resulted in a 7% memory reduction after
  355. loading about 6,000 modules that define about 2,200 interfaces.
  356. .. caution::
  357. Details of many private attributes have changed, and external use
  358. of those private attributes may break. In particular, the
  359. lifetime and default value of ``_v_attrs`` has changed.
  360. - Remove support for hashing uninitialized interfaces. This could only
  361. be done by subclassing ``InterfaceClass``. This has generated a
  362. warning since it was first added in 2011 (3.6.5). Please call the
  363. ``InterfaceClass`` constructor or otherwise set the appropriate
  364. fields in your subclass before attempting to hash or sort it. See
  365. `issue 157 <https://github.com/zopefoundation/zope.interface/issues/157>`_.
  366. - Remove unneeded override of the ``__hash__`` method from
  367. ``zope.interface.declarations.Implements``. Watching a reindex index
  368. process in ZCatalog with on a Py-Spy after 10k samples the time for
  369. ``.adapter._lookup`` was reduced from 27.5s to 18.8s (~1.5x faster).
  370. Overall reindex index time shrunk from 369s to 293s (1.26x faster).
  371. See `PR 161
  372. <https://github.com/zopefoundation/zope.interface/pull/161>`_.
  373. - Make the Python implementation closer to the C implementation by
  374. ignoring all exceptions, not just ``AttributeError``, during (parts
  375. of) interface adaptation. See `issue 163
  376. <https://github.com/zopefoundation/zope.interface/issues/163>`_.
  377. - Micro-optimization in ``.adapter._lookup`` , ``.adapter._lookupAll``
  378. and ``.adapter._subscriptions``: By loading ``components.get`` into
  379. a local variable before entering the loop a bytcode "LOAD_FAST 0
  380. (components)" in the loop can be eliminated. In Plone, while running
  381. all tests, average speedup of the "owntime" of ``_lookup`` is ~5x.
  382. See `PR 167
  383. <https://github.com/zopefoundation/zope.interface/pull/167>`_.
  384. - Add ``__all__`` declarations to all modules. This helps tools that
  385. do auto-completion and documentation and results in less cluttered
  386. results. Wildcard ("*") are not recommended and may be affected. See
  387. `issue 153
  388. <https://github.com/zopefoundation/zope.interface/issues/153>`_.
  389. - Fix ``verifyClass`` and ``verifyObject`` for builtin types like
  390. ``dict`` that have methods taking an optional, unnamed argument with
  391. no default value like ``dict.pop``. On PyPy3, the verification is
  392. strict, but on PyPy2 (as on all versions of CPython) those methods
  393. cannot be verified and are ignored. See `issue 118
  394. <https://github.com/zopefoundation/zope.interface/issues/118>`_.
  395. - Update the common interfaces ``IEnumerableMapping``,
  396. ``IExtendedReadMapping``, ``IExtendedWriteMapping``,
  397. ``IReadSequence`` and ``IUniqueMemberWriteSequence`` to no longer
  398. require methods that were removed from Python 3 on Python 3, such as
  399. ``__setslice___``. Now, ``dict``, ``list`` and ``tuple`` properly
  400. verify as ``IFullMapping``, ``ISequence`` and ``IReadSequence,``
  401. respectively on all versions of Python.
  402. - Add human-readable ``__str___`` and ``__repr___`` to ``Attribute``
  403. and ``Method``. These contain the name of the defining interface
  404. and the attribute. For methods, it also includes the signature.
  405. - Change the error strings raised by ``verifyObject`` and
  406. ``verifyClass``. They now include more human-readable information
  407. and exclude extraneous lines and spaces. See `issue 170
  408. <https://github.com/zopefoundation/zope.interface/issues/170>`_.
  409. .. caution:: This will break consumers (such as doctests) that
  410. depended on the exact error messages.
  411. - Make ``verifyObject`` and ``verifyClass`` report all errors, if the
  412. candidate object has multiple detectable violations. Previously they
  413. reported only the first error. See `issue
  414. <https://github.com/zopefoundation/zope.interface/issues/171>`_.
  415. Like the above, this will break consumers depending on the exact
  416. output of error messages if more than one error is present.
  417. - Add ``zope.interface.common.collections``,
  418. ``zope.interface.common.numbers``, and ``zope.interface.common.io``.
  419. These modules define interfaces based on the ABCs defined in the
  420. standard library ``collections.abc``, ``numbers`` and ``io``
  421. modules, respectively. Importing these modules will make the
  422. standard library concrete classes that are registered with those
  423. ABCs declare the appropriate interface. See `issue 138
  424. <https://github.com/zopefoundation/zope.interface/issues/138>`_.
  425. - Add ``zope.interface.common.builtins``. This module defines
  426. interfaces of common builtin types, such as ``ITextString`` and
  427. ``IByteString``, ``IDict``, etc. These interfaces extend the
  428. appropriate interfaces from ``collections`` and ``numbers``, and the
  429. standard library classes implement them after importing this module.
  430. This is intended as a replacement for third-party packages like
  431. `dolmen.builtins <https://pypi.org/project/dolmen.builtins/>`_.
  432. See `issue 138 <https://github.com/zopefoundation/zope.interface/issues/138>`_.
  433. - Make ``providedBy()`` and ``implementedBy()`` respect ``super``
  434. objects. For instance, if class ``Derived`` implements ``IDerived``
  435. and extends ``Base`` which in turn implements ``IBase``, then
  436. ``providedBy(super(Derived, derived))`` will return ``[IBase]``.
  437. Previously it would have returned ``[IDerived]`` (in general, it
  438. would previously have returned whatever would have been returned
  439. without ``super``).
  440. Along with this change, adapter registries will unpack ``super``
  441. objects into their ``__self___`` before passing it to the factory.
  442. Together, this means that ``component.getAdapter(super(Derived,
  443. self), ITarget)`` is now meaningful.
  444. See `issue 11 <https://github.com/zopefoundation/zope.interface/issues/11>`_.
  445. - Fix a potential interpreter crash in the low-level adapter
  446. registry lookup functions. See issue 11.
  447. - Adopt Python's standard `C3 resolution order
  448. <https://www.python.org/download/releases/2.3/mro/>`_ to compute the
  449. ``__iro__`` and ``__sro__`` of interfaces, with tweaks to support
  450. additional cases that are common in interfaces but disallowed for
  451. Python classes. Previously, an ad-hoc ordering that made no
  452. particular guarantees was used.
  453. This has many beneficial properties, including the fact that base
  454. interface and base classes tend to appear near the end of the
  455. resolution order instead of the beginning. The resolution order in
  456. general should be more predictable and consistent.
  457. .. caution::
  458. In some cases, especially with complex interface inheritance
  459. trees or when manually providing or implementing interfaces, the
  460. resulting IRO may be quite different. This may affect adapter
  461. lookup.
  462. The C3 order enforces some constraints in order to be able to
  463. guarantee a sensible ordering. Older versions of zope.interface did
  464. not impose similar constraints, so it was possible to create
  465. interfaces and declarations that are inconsistent with the C3
  466. constraints. In that event, zope.interface will still produce a
  467. resolution order equal to the old order, but it won't be guaranteed
  468. to be fully C3 compliant. In the future, strict enforcement of C3
  469. order may be the default.
  470. A set of environment variables and module constants allows
  471. controlling several aspects of this new behaviour. It is possible to
  472. request warnings about inconsistent resolution orders encountered,
  473. and even to forbid them. Differences between the C3 resolution order
  474. and the previous order can be logged, and, in extreme cases, the
  475. previous order can still be used (this ability will be removed in
  476. the future). For details, see the documentation for
  477. ``zope.interface.ro``.
  478. - Make inherited tagged values in interfaces respect the resolution
  479. order (``__iro__``), as method and attribute lookup does. Previously
  480. tagged values could give inconsistent results. See `issue 190
  481. <https://github.com/zopefoundation/zope.interface/issues/190>`_.
  482. - Add ``getDirectTaggedValue`` (and related methods) to interfaces to
  483. allow accessing tagged values irrespective of inheritance. See
  484. `issue 190
  485. <https://github.com/zopefoundation/zope.interface/issues/190>`_.
  486. - Ensure that ``Interface`` is always the last item in the ``__iro__``
  487. and ``__sro__``. This is usually the case, but if classes that do
  488. not implement any interfaces are part of a class inheritance
  489. hierarchy, ``Interface`` could be assigned too high a priority.
  490. See `issue 8 <https://github.com/zopefoundation/zope.interface/issues/8>`_.
  491. - Implement sorting, equality, and hashing in C for ``Interface``
  492. objects. In micro benchmarks, this makes those operations 40% to 80%
  493. faster. This translates to a 20% speed up in querying adapters.
  494. Note that this changes certain implementation details. In
  495. particular, ``InterfaceClass`` now has a non-default metaclass, and
  496. it is enforced that ``__module__`` in instances of
  497. ``InterfaceClass`` is read-only.
  498. See `PR 183 <https://github.com/zopefoundation/zope.interface/pull/183>`_.
  499. 4.7.2 (2020-03-10)
  500. ==================
  501. - Remove deprecated use of setuptools features. See `issue 30
  502. <https://github.com/zopefoundation/zope.interface/issues/30>`_.
  503. 4.7.1 (2019-11-11)
  504. ==================
  505. - Use Python 3 syntax in the documentation. See `issue 119
  506. <https://github.com/zopefoundation/zope.interface/issues/119>`_.
  507. 4.7.0 (2019-11-11)
  508. ==================
  509. - Drop support for Python 3.4.
  510. - Change ``queryTaggedValue``, ``getTaggedValue``,
  511. ``getTaggedValueTags`` in interfaces. They now include inherited
  512. values by following ``__bases__``. See `PR 144
  513. <https://github.com/zopefoundation/zope.interface/pull/144>`_.
  514. .. caution:: This may be a breaking change.
  515. - Add support for Python 3.8.
  516. 4.6.0 (2018-10-23)
  517. ==================
  518. - Add support for Python 3.7
  519. - Fix ``verifyObject`` for class objects with staticmethods on
  520. Python 3. See `issue 126
  521. <https://github.com/zopefoundation/zope.interface/issues/126>`_.
  522. 4.5.0 (2018-04-19)
  523. ==================
  524. - Drop support for 3.3, avoid accidental dependence breakage via setup.py.
  525. See `PR 110 <https://github.com/zopefoundation/zope.interface/pull/110>`_.
  526. - Allow registering and unregistering instance methods as listeners.
  527. See `issue 12 <https://github.com/zopefoundation/zope.interface/issues/12>`_
  528. and `PR 102 <https://github.com/zopefoundation/zope.interface/pull/102>`_.
  529. - Synchronize and simplify zope/__init__.py. See `issue 114
  530. <https://github.com/zopefoundation/zope.interface/issues/114>`_
  531. 4.4.3 (2017-09-22)
  532. ==================
  533. - Avoid exceptions when the ``__annotations__`` attribute is added to
  534. interface definitions with Python 3.x type hints. See `issue 98
  535. <https://github.com/zopefoundation/zope.interface/issues/98>`_.
  536. - Fix the possibility of a rare crash in the C extension when
  537. deallocating items. See `issue 100
  538. <https://github.com/zopefoundation/zope.interface/issues/100>`_.
  539. 4.4.2 (2017-06-14)
  540. ==================
  541. - Fix a regression storing
  542. ``zope.component.persistentregistry.PersistentRegistry`` instances.
  543. See `issue 85 <https://github.com/zopefoundation/zope.interface/issues/85>`_.
  544. - Fix a regression that could lead to the utility registration cache
  545. of ``Components`` getting out of sync. See `issue 93
  546. <https://github.com/zopefoundation/zope.interface/issues/93>`_.
  547. 4.4.1 (2017-05-13)
  548. ==================
  549. - Simplify the caching of utility-registration data. In addition to
  550. simplification, avoids spurious test failures when checking for
  551. leaks in tests with persistent registries. See `pull 84
  552. <https://github.com/zopefoundation/zope.interface/pull/84>`_.
  553. - Raise ``ValueError`` when non-text names are passed to adapter registry
  554. methods: prevents corruption of lookup caches.
  555. 4.4.0 (2017-04-21)
  556. ==================
  557. - Avoid a warning from the C compiler.
  558. (https://github.com/zopefoundation/zope.interface/issues/71)
  559. - Add support for Python 3.6.
  560. 4.3.3 (2016-12-13)
  561. ==================
  562. - Correct typos and ReST formatting errors in documentation.
  563. - Add API documentation for the adapter registry.
  564. - Ensure that the ``LICENSE.txt`` file is included in built wheels.
  565. - Fix C optimizations broken on Py3k. See the Python bug at:
  566. http://bugs.python.org/issue15657
  567. (https://github.com/zopefoundation/zope.interface/issues/60)
  568. 4.3.2 (2016-09-05)
  569. ==================
  570. - Fix equality testing of ``implementedBy`` objects and proxies.
  571. (https://github.com/zopefoundation/zope.interface/issues/55)
  572. 4.3.1 (2016-08-31)
  573. ==================
  574. - Support Components subclasses that are not hashable.
  575. (https://github.com/zopefoundation/zope.interface/issues/53)
  576. 4.3.0 (2016-08-31)
  577. ==================
  578. - Add the ability to sort the objects returned by ``implementedBy``.
  579. This is compatible with the way interface classes sort so they can
  580. be used together in ordered containers like BTrees.
  581. (https://github.com/zopefoundation/zope.interface/issues/42)
  582. - Make ``setuptools`` a hard dependency of ``setup.py``.
  583. (https://github.com/zopefoundation/zope.interface/issues/13)
  584. - Change a linear algorithm (O(n)) in ``Components.registerUtility`` and
  585. ``Components.unregisterUtility`` into a dictionary lookup (O(1)) for
  586. hashable components. This substantially improves the time taken to
  587. manipulate utilities in large registries at the cost of some
  588. additional memory usage. (https://github.com/zopefoundation/zope.interface/issues/46)
  589. 4.2.0 (2016-06-10)
  590. ==================
  591. - Add support for Python 3.5
  592. - Drop support for Python 2.6 and 3.2.
  593. 4.1.3 (2015-10-05)
  594. ==================
  595. - Fix installation without a C compiler on Python 3.5
  596. (https://github.com/zopefoundation/zope.interface/issues/24).
  597. 4.1.2 (2014-12-27)
  598. ==================
  599. - Add support for PyPy3.
  600. - Remove unittest assertions deprecated in Python3.x.
  601. - Add ``zope.interface.document.asReStructuredText``, which formats the
  602. generated text for an interface using ReST double-backtick markers.
  603. 4.1.1 (2014-03-19)
  604. ==================
  605. - Add support for Python 3.4.
  606. 4.1.0 (2014-02-05)
  607. ==================
  608. - Update ``boostrap.py`` to version 2.2.
  609. - Add ``@named(name)`` declaration, that specifies the component name, so it
  610. does not have to be passed in during registration.
  611. 4.0.5 (2013-02-28)
  612. ==================
  613. - Fix a bug where a decorated method caused false positive failures on
  614. ``verifyClass()``.
  615. 4.0.4 (2013-02-21)
  616. ==================
  617. - Fix a bug that was revealed by porting zope.traversing. During a loop, the
  618. loop body modified a weakref dict causing a ``RuntimeError`` error.
  619. 4.0.3 (2012-12-31)
  620. ==================
  621. - Fleshed out PyPI Trove classifiers.
  622. 4.0.2 (2012-11-21)
  623. ==================
  624. - Add support for Python 3.3.
  625. - Restored ability to install the package in the absence of ``setuptools``.
  626. - LP #1055223: Fix test which depended on dictionary order and failed randomly
  627. in Python 3.3.
  628. 4.0.1 (2012-05-22)
  629. ==================
  630. - Drop explicit ``DeprecationWarnings`` for "class advice" APIS (these
  631. APIs are still deprecated under Python 2.x, and still raise an exception
  632. under Python 3.x, but no longer cause a warning to be emitted under
  633. Python 2.x).
  634. 4.0.0 (2012-05-16)
  635. ==================
  636. - Automated build of Sphinx HTML docs and running doctest snippets via tox.
  637. - Deprecate the "class advice" APIs from ``zope.interface.declarations``:
  638. ``implements``, ``implementsOnly``, and ``classProvides``. In their place,
  639. prefer the equivalent class decorators: ``@implementer``,
  640. ``@implementer_only``, and ``@provider``. Code which uses the deprecated
  641. APIs will not work as expected under Py3k.
  642. - Remove use of '2to3' and associated fixers when installing under Py3k.
  643. The code is now in a "compatible subset" which supports Python 2.6, 2.7,
  644. and 3.2, including PyPy 1.8 (the version compatible with the 2.7 language
  645. spec).
  646. - Drop explicit support for Python 2.4 / 2.5 / 3.1.
  647. - Add support for PyPy.
  648. - Add support for continuous integration using ``tox`` and ``jenkins``.
  649. - Add 'setup.py dev' alias (runs ``setup.py develop`` plus installs
  650. ``nose`` and ``coverage``).
  651. - Add 'setup.py docs' alias (installs ``Sphinx`` and dependencies).
  652. - Replace all unittest coverage previously accomplished via doctests with
  653. unittests. The doctests have been moved into a ``docs`` section, managed
  654. as a Sphinx collection.
  655. - LP #910987: Ensure that the semantics of the ``lookup`` method of
  656. ``zope.interface.adapter.LookupBase`` are the same in both the C and
  657. Python implementations.
  658. - LP #900906: Avoid exceptions due to tne new ``__qualname__`` attribute
  659. added in Python 3.3 (see PEP 3155 for rationale). Thanks to Antoine
  660. Pitrou for the patch.
  661. 3.8.0 (2011-09-22)
  662. ==================
  663. - New module ``zope.interface.registry``. This is code moved from
  664. ``zope.component.registry`` which implements a basic nonperistent component
  665. registry as ``zope.interface.registry.Components``. This class was moved
  666. from ``zope.component`` to make porting systems (such as Pyramid) that rely
  667. only on a basic component registry to Python 3 possible without needing to
  668. port the entirety of the ``zope.component`` package. Backwards
  669. compatibility import shims have been left behind in ``zope.component``, so
  670. this change will not break any existing code.
  671. - New ``tests_require`` dependency: ``zope.event`` to test events sent by
  672. Components implementation. The ``zope.interface`` package does not have a
  673. hard dependency on ``zope.event``, but if ``zope.event`` is importable, it
  674. will send component registration events when methods of an instance of
  675. ``zope.interface.registry.Components`` are called.
  676. - New interfaces added to support ``zope.interface.registry.Components``
  677. addition: ``ComponentLookupError``, ``Invalid``, ``IObjectEvent``,
  678. ``ObjectEvent``, ``IComponentLookup``, ``IRegistration``,
  679. ``IUtilityRegistration``, ``IAdapterRegistration``,
  680. ``ISubscriptionAdapterRegistration``, ``IHandlerRegistration``,
  681. ``IRegistrationEvent``, ``RegistrationEvent``, ``IRegistered``,
  682. ``Registered``, ``IUnregistered``, ``Unregistered``,
  683. ``IComponentRegistry``, and ``IComponents``.
  684. - No longer Python 2.4 compatible (tested under 2.5, 2.6, 2.7, and 3.2).
  685. 3.7.0 (2011-08-13)
  686. ==================
  687. - Move changes from 3.6.2 - 3.6.5 to a new 3.7.x release line.
  688. 3.6.7 (2011-08-20)
  689. ==================
  690. - Fix sporadic failures on x86-64 platforms in tests of rich comparisons
  691. of interfaces.
  692. 3.6.6 (2011-08-13)
  693. ==================
  694. - LP #570942: Now correctly compare interfaces from different modules but
  695. with the same names.
  696. N.B.: This is a less intrusive / destabilizing fix than the one applied in
  697. 3.6.3: we only fix the underlying cmp-alike function, rather than adding
  698. the other "rich comparison" functions.
  699. - Revert to software as released with 3.6.1 for "stable" 3.6 release branch.
  700. 3.6.5 (2011-08-11)
  701. ==================
  702. - LP #811792: work around buggy behavior in some subclasses of
  703. ``zope.interface.interface.InterfaceClass``, which invoke ``__hash__``
  704. before initializing ``__module__`` and ``__name__``. The workaround
  705. returns a fixed constant hash in such cases, and issues a ``UserWarning``.
  706. - LP #804832: Under PyPy, ``zope.interface`` should not build its C
  707. extension. Also, prevent attempting to build it under Jython.
  708. - Add a tox.ini for easier xplatform testing.
  709. - Fix testing deprecation warnings issued when tested under Py3K.
  710. 3.6.4 (2011-07-04)
  711. ==================
  712. - LP 804951: InterfaceClass instances were unhashable under Python 3.x.
  713. 3.6.3 (2011-05-26)
  714. ==================
  715. - LP #570942: Now correctly compare interfaces from different modules but
  716. with the same names.
  717. 3.6.2 (2011-05-17)
  718. ==================
  719. - Moved detailed documentation out-of-line from PyPI page, linking instead to
  720. http://docs.zope.org/zope.interface .
  721. - Fixes for small issues when running tests under Python 3.2 using
  722. ``zope.testrunner``.
  723. - LP # 675064: Specify return value type for C optimizations module init
  724. under Python 3: undeclared value caused warnings, and segfaults on some
  725. 64 bit architectures.
  726. - setup.py now raises RuntimeError if you don't have Distutils installed when
  727. running under Python 3.
  728. 3.6.1 (2010-05-03)
  729. ==================
  730. - A non-ASCII character in the changelog made 3.6.0 uninstallable on
  731. Python 3 systems with another default encoding than UTF-8.
  732. - Fix compiler warnings under GCC 4.3.3.
  733. 3.6.0 (2010-04-29)
  734. ==================
  735. - LP #185974: Clear the cache used by ``Specificaton.get`` inside
  736. ``Specification.changed``. Thanks to Jacob Holm for the patch.
  737. - Add support for Python 3.1. Contributors:
  738. Lennart Regebro
  739. Martin v Loewis
  740. Thomas Lotze
  741. Wolfgang Schnerring
  742. The 3.1 support is completely backwards compatible. However, the implements
  743. syntax used under Python 2.X does not work under 3.X, since it depends on
  744. how metaclasses are implemented and this has changed. Instead it now supports
  745. a decorator syntax (also under Python 2.X)::
  746. class Foo:
  747. implements(IFoo)
  748. ...
  749. can now also be written::
  750. @implementer(IFoo):
  751. class Foo:
  752. ...
  753. There are 2to3 fixers available to do this change automatically in the
  754. zope.fixers package.
  755. - Python 2.3 is no longer supported.
  756. 3.5.4 (2009-12-23)
  757. ==================
  758. - Use the standard Python doctest module instead of zope.testing.doctest, which
  759. has been deprecated.
  760. 3.5.3 (2009-12-08)
  761. ==================
  762. - Fix an edge case: make providedBy() work when a class has '__provides__' in
  763. its __slots__ (see http://thread.gmane.org/gmane.comp.web.zope.devel/22490)
  764. 3.5.2 (2009-07-01)
  765. ==================
  766. - BaseAdapterRegistry.unregister, unsubscribe: Remove empty portions of
  767. the data structures when something is removed. This avoids leaving
  768. references to global objects (interfaces) that may be slated for
  769. removal from the calling application.
  770. 3.5.1 (2009-03-18)
  771. ==================
  772. - verifyObject: use getattr instead of hasattr to test for object attributes
  773. in order to let exceptions other than AttributeError raised by properties
  774. propagate to the caller
  775. - Add Sphinx-based documentation building to the package buildout
  776. configuration. Use the ``bin/docs`` command after buildout.
  777. - Improve package description a bit. Unify changelog entries formatting.
  778. - Change package's mailing list address to zope-dev at zope.org as
  779. zope3-dev at zope.org is now retired.
  780. 3.5.0 (2008-10-26)
  781. ==================
  782. - Fix declaration of _zope_interface_coptimizations, it's not a top level
  783. package.
  784. - Add a DocTestSuite for odd.py module, so their tests are run.
  785. - Allow to bootstrap on Jython.
  786. - Fix https://bugs.launchpad.net/zope3/3.3/+bug/98388: ISpecification
  787. was missing a declaration for __iro__.
  788. - Add optional code optimizations support, which allows the building
  789. of C code optimizations to fail (Jython).
  790. - Replace `_flatten` with a non-recursive implementation, effectively making
  791. it 3x faster.
  792. 3.4.1 (2007-10-02)
  793. ==================
  794. - Fix a setup bug that prevented installation from source on systems
  795. without setuptools.
  796. 3.4.0 (2007-07-19)
  797. ==================
  798. - Final release for 3.4.0.
  799. 3.4.0b3 (2007-05-22)
  800. ====================
  801. - When checking whether an object is already registered, use identity
  802. comparison, to allow adding registering with picky custom comparison methods.
  803. 3.3.0.1 (2007-01-03)
  804. ====================
  805. - Made a reference to OverflowWarning, which disappeared in Python
  806. 2.5, conditional.
  807. 3.3.0 (2007/01/03)
  808. ==================
  809. New Features
  810. ------------
  811. - Refactor the adapter-lookup algorithim to make it much simpler and faster.
  812. Also, implement more of the adapter-lookup logic in C, making
  813. debugging of application code easier, since there is less
  814. infrastructre code to step through.
  815. - Treat objects without interface declarations as if they
  816. declared that they provide ``zope.interface.Interface``.
  817. - Add a number of richer new adapter-registration interfaces
  818. that provide greater control and introspection.
  819. - Add a new interface decorator to zope.interface that allows the
  820. setting of tagged values on an interface at definition time (see
  821. zope.interface.taggedValue).
  822. Bug Fixes
  823. ---------
  824. - A bug in multi-adapter lookup sometimes caused incorrect adapters to
  825. be returned.
  826. 3.2.0.2 (2006-04-15)
  827. ====================
  828. - Fix packaging bug: 'package_dir' must be a *relative* path.
  829. 3.2.0.1 (2006-04-14)
  830. ====================
  831. - Packaging change: suppress inclusion of 'setup.cfg' in 'sdist' builds.
  832. 3.2.0 (2006-01-05)
  833. ==================
  834. - Corresponds to the version of the zope.interface package shipped as part of
  835. the Zope 3.2.0 release.
  836. 3.1.0 (2005-10-03)
  837. ==================
  838. - Corresponds to the version of the zope.interface package shipped as part of
  839. the Zope 3.1.0 release.
  840. - Made attribute resolution order consistent with component lookup order,
  841. i.e. new-style class MRO semantics.
  842. - Deprecate 'isImplementedBy' and 'isImplementedByInstancesOf' APIs in
  843. favor of 'implementedBy' and 'providedBy'.
  844. 3.0.1 (2005-07-27)
  845. ==================
  846. - Corresponds to the version of the zope.interface package shipped as part of
  847. the Zope X3.0.1 release.
  848. - Fix a bug reported by James Knight, which caused adapter registries
  849. to fail occasionally to reflect declaration changes.
  850. 3.0.0 (2004-11-07)
  851. ==================
  852. - Corresponds to the version of the zope.interface package shipped as part of
  853. the Zope X3.0.0 release.