METADATA 43 KB

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