summaryrefslogtreecommitdiff
path: root/src/zope/interface/declarations.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix C optimizations broken on Py3k.60-fix_c_optimizations-py3kTres Seaver2016-11-151-7/+9
| | | | | | | | | | - The bare import of '_zope_c_optimizations' prevented them from being used. - After enabling them via absolute imports, they would fail due to http://bugs.python.org/issue15657. Fixes #60.
* Fix equality testing of implementedBy objects that have been proxied. Fixes #55.fix-55Jason Madden2016-09-021-5/+6
|
* Make declarations.Implements sortable.comp-implementsJason Madden2016-08-031-8/+80
| | | | Fixes #42
* 100% branch coverage for 'zope.interface.declarations'.Tres Seaver2014-12-081-3/+2
|
* Added ``@named(name)`` declaration.Stephan Richter2014-02-041-0/+9
| | | | | | | The decorator specifies the component name, so it does not have to be passed in during registration. This in turn allows developers to define component names once globally and use it everywhere, especially when using ZCML where the name had to be specified a second time.
* Drop explicit DeprecationWarnings for "class advice" APISTres Seaver2012-05-221-9/+0
| | | | | | | These APIs are still deprecated under Python 2.x, and still raise an exception under Python 3.x, but no longer cause a warning to be emitted under Python 2.x.
* Deprecated the "class advice" APIs from ``zope.interface.declarations``.Tres Seaver2012-04-061-9/+20
| | | | | | | | | Code which uses the deprecated APIs will not work as expected under Py3k. Instead of ``implements``, ``implementsOnly``, or ``classProvides``, prefer the equivalent class decorators: ``@implementer``, ``@implementer_only``, and ``@provider``.
* Improve the error raised by the class advice APIs when invoked under Py3k.Tres Seaver2012-04-061-3/+14
|
* Close Py3k coverage gap to absolute minimum.Tres Seaver2012-04-061-15/+22
| | | | | We *can't* test the classAdvice stuff under Py3k. Need to deprecate it before the 4.0 release.
* Move commented-out doctest snippets into API docs as real snippets.Tres Seaver2012-04-061-550/+51
|
* PyPy coverage tweak.Tres Seaver2012-04-041-1/+1
|
* Merge Py3k w/o 2to3 work.Tres Seaver2012-04-041-627/+548
|
* Merge from LP branch.Tres Seaver2012-03-261-15/+26
|
* typo implementor->implementerBrian Sutherland2011-10-091-1/+1
|
* Remove CVS-era Id fossils.Tres Seaver2010-06-031-2/+0
|
* Cleaning up imports, mostly in tests, some duplicates created by my merge. ↵Lennart Regebro2010-04-111-1/+0
| | | | Pyflakes is happier now, but we do a lot of things that confuses it.
* Merge of regebro-python3 branch, adding Python 3.1 compatibility\!Lennart Regebro2010-04-091-55/+66
|
* Comply with repository policy.Tres Seaver2010-04-061-1/+1
|
* Revert incorrect copyright header update.Christian Theune2009-12-171-1/+1
|
* Fix an edge case: make providedBy() work when a class has '__provides__' inWolfgang Schnerring2009-12-081-1/+3
| | | | | its __slots__ (see http://thread.gmane.org/gmane.comp.web.zope.devel/22490)
* Updating copyright header after transfer of ownership to the Zope FoundationChristian Theune2009-11-021-1/+1
|
* Moving code to satellite.Christian Theune2007-05-031-0/+1385
|
* Removed interface copyJim Fulton2006-03-111-1378/+0
|
* Correcting borked move.Nathan Yergler2006-02-271-0/+1378