<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/zope-interface.git/src/zope/interface/verify.py, branch issue190</title>
<subtitle>github.com: zopefoundation/zope.interface.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/'/>
<entry>
<title>Simplify the string formatting rules for the Invalid exceptions.</title>
<updated>2020-02-10T14:20:12+00:00</updated>
<author>
<name>Jason Madden</name>
<email>jamadden@gmail.com</email>
</author>
<published>2020-02-10T14:20:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=e53e797787f645b20c5598fe9ffab81134309ed3'/>
<id>e53e797787f645b20c5598fe9ffab81134309ed3</id>
<content type='text'>
As per review.

Also include the actual failing implementation object in the BrokenMethodImplementation to make it easier to track down what's going on when inheritance is involved.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As per review.

Also include the actual failing implementation object in the BrokenMethodImplementation to make it easier to track down what's going on when inheritance is involved.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make verifyObject/Class collect and raise all errors instead of only the first.</title>
<updated>2020-02-08T13:57:35+00:00</updated>
<author>
<name>Jason Madden</name>
<email>jamadden@gmail.com</email>
</author>
<published>2020-02-08T13:57:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=f6d2e9445d47dd104c146157065169be8df4d409'/>
<id>f6d2e9445d47dd104c146157065169be8df4d409</id>
<content type='text'>
Fixes #171.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #171.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add warning to change note about string changes breaking doctests.</title>
<updated>2020-02-08T12:21:17+00:00</updated>
<author>
<name>Jason Madden</name>
<email>jamadden@gmail.com</email>
</author>
<published>2020-02-08T12:21:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=83f4f556991d6fc98eb26fcf918c657224cd05bf'/>
<id>83f4f556991d6fc98eb26fcf918c657224cd05bf</id>
<content type='text'>
Also tweak documentation to DRY for verifyObject/verifyClass.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also tweak documentation to DRY for verifyObject/verifyClass.
</pre>
</div>
</content>
</entry>
<entry>
<title>Also document the not-a-method case.</title>
<updated>2020-02-07T16:59:11+00:00</updated>
<author>
<name>Jason Madden</name>
<email>jamadden@gmail.com</email>
</author>
<published>2020-02-06T16:59:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=e8a4da9d5e48d036c2280be009f75b6416054a12'/>
<id>e8a4da9d5e48d036c2280be009f75b6416054a12</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make verification errors more readable and useful.</title>
<updated>2020-02-07T16:59:11+00:00</updated>
<author>
<name>Jason Madden</name>
<email>jamadden@gmail.com</email>
</author>
<published>2020-02-06T16:48:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=a825e5f29e98c8c84076600323ffe791531ac765'/>
<id>a825e5f29e98c8c84076600323ffe791531ac765</id>
<content type='text'>
Eliminate the trailing newlines and blank spaces (the code called them
"a stupid artifact").

Include the name of the defining interface (so the user can easily look up
any requirements on the attribute) and, for methods, the expected
signature (no more guessing about how many arguments are required!).

This is implemented by giving Attribute and Method useful reprs and strs.
Previously, they just had the defaults.

Fixes #170
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Eliminate the trailing newlines and blank spaces (the code called them
"a stupid artifact").

Include the name of the defining interface (so the user can easily look up
any requirements on the attribute) and, for methods, the expected
signature (no more guessing about how many arguments are required!).

This is implemented by giving Attribute and Method useful reprs and strs.
Previously, they just had the defaults.

Fixes #170
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix verification for methods of builtin types with pseudo-default arguments on Pypy</title>
<updated>2020-02-06T15:02:56+00:00</updated>
<author>
<name>Jason Madden</name>
<email>jamadden@gmail.com</email>
</author>
<published>2020-02-06T15:02:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=0b0e22727b52aa2e0f05884ce130524700163902'/>
<id>0b0e22727b52aa2e0f05884ce130524700163902</id>
<content type='text'>
On PyPy2, they are ignored (like on CPython), but on PyPy3 they can
actually be validated.

Fixes #118
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On PyPy2, they are ignored (like on CPython), but on PyPy3 they can
actually be validated.

Fixes #118
</pre>
</div>
</content>
</entry>
<entry>
<title>Add __all__ to all modules.</title>
<updated>2020-02-05T14:12:53+00:00</updated>
<author>
<name>Jason Madden</name>
<email>jamadden@gmail.com</email>
</author>
<published>2020-02-05T14:12:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=c4805da768863207b5dd182b3c0dd2aacc7be92f'/>
<id>c4805da768863207b5dd182b3c0dd2aacc7be92f</id>
<content type='text'>
Fixes #153

The items that went in each ``__all__`` are based on what is
documented:

 $ rg --no-filename 'import' docs/ -trst | tr -s "[:blank:]" | sort | uniq | grep zope
 &gt;&gt;&gt; from pprint import pprint
 &gt;&gt;&gt; from zope.interface import *
 &gt;&gt;&gt; from zope.interface import Interface
 &gt;&gt;&gt; from zope.interface import Interface, Attribute, implementer
 &gt;&gt;&gt; from zope.interface import alsoProvides
 &gt;&gt;&gt; from zope.interface import classImplements
 &gt;&gt;&gt; from zope.interface import classImplementsOnly
 &gt;&gt;&gt; from zope.interface import directlyProvidedBy
 &gt;&gt;&gt; from zope.interface import directlyProvides
 &gt;&gt;&gt; from zope.interface import implementedBy
 &gt;&gt;&gt; from zope.interface import implementer
 &gt;&gt;&gt; from zope.interface import implementer_only
 &gt;&gt;&gt; from zope.interface import noLongerProvides
 &gt;&gt;&gt; from zope.interface import providedBy
 &gt;&gt;&gt; from zope.interface import provider
 &gt;&gt;&gt; from zope.interface.adapter import AdapterRegistry
 &gt;&gt;&gt; from zope.interface.declarations import Declaration
 &gt;&gt;&gt; from zope.interface.declarations import InstanceDeclarations
 &gt;&gt;&gt; from zope.interface.declarations import ProvidesClass
 &gt;&gt;&gt; from zope.interface.declarations import named
 &gt;&gt;&gt; from zope.interface.exceptions import BrokenImplementation
 &gt;&gt;&gt; from zope.interface.exceptions import Invalid
 &gt;&gt;&gt; from zope.interface.interface import Specification
 &gt;&gt;&gt; from zope.interface.interface import adapter_hooks
 &gt;&gt;&gt; from zope.interface.verify import verifyObject
 &gt;&gt;&gt; import gc
 &gt;&gt;&gt; import zope.interface

And also some personal judgement about what the public API is that I'm
more than happy to have reviewed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #153

The items that went in each ``__all__`` are based on what is
documented:

 $ rg --no-filename 'import' docs/ -trst | tr -s "[:blank:]" | sort | uniq | grep zope
 &gt;&gt;&gt; from pprint import pprint
 &gt;&gt;&gt; from zope.interface import *
 &gt;&gt;&gt; from zope.interface import Interface
 &gt;&gt;&gt; from zope.interface import Interface, Attribute, implementer
 &gt;&gt;&gt; from zope.interface import alsoProvides
 &gt;&gt;&gt; from zope.interface import classImplements
 &gt;&gt;&gt; from zope.interface import classImplementsOnly
 &gt;&gt;&gt; from zope.interface import directlyProvidedBy
 &gt;&gt;&gt; from zope.interface import directlyProvides
 &gt;&gt;&gt; from zope.interface import implementedBy
 &gt;&gt;&gt; from zope.interface import implementer
 &gt;&gt;&gt; from zope.interface import implementer_only
 &gt;&gt;&gt; from zope.interface import noLongerProvides
 &gt;&gt;&gt; from zope.interface import providedBy
 &gt;&gt;&gt; from zope.interface import provider
 &gt;&gt;&gt; from zope.interface.adapter import AdapterRegistry
 &gt;&gt;&gt; from zope.interface.declarations import Declaration
 &gt;&gt;&gt; from zope.interface.declarations import InstanceDeclarations
 &gt;&gt;&gt; from zope.interface.declarations import ProvidesClass
 &gt;&gt;&gt; from zope.interface.declarations import named
 &gt;&gt;&gt; from zope.interface.exceptions import BrokenImplementation
 &gt;&gt;&gt; from zope.interface.exceptions import Invalid
 &gt;&gt;&gt; from zope.interface.interface import Specification
 &gt;&gt;&gt; from zope.interface.interface import adapter_hooks
 &gt;&gt;&gt; from zope.interface.verify import verifyObject
 &gt;&gt;&gt; import gc
 &gt;&gt;&gt; import zope.interface

And also some personal judgement about what the public API is that I'm
more than happy to have reviewed.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix 'verifyObject' for class objects with staticmethods on Python 3.</title>
<updated>2018-10-23T13:42:47+00:00</updated>
<author>
<name>Jason Madden</name>
<email>jamadden@gmail.com</email>
</author>
<published>2018-10-23T13:42:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=7b67a79a8c2cb3ed4b35590f1d75ed1b97dc353d'/>
<id>7b67a79a8c2cb3ed4b35590f1d75ed1b97dc353d</id>
<content type='text'>
Fixes #126
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #126
</pre>
</div>
</content>
</entry>
<entry>
<title>Enable combined coverage reports under tox and branch coverage</title>
<updated>2017-06-14T14:45:49+00:00</updated>
<author>
<name>Jason Madden</name>
<email>jamadden@gmail.com</email>
</author>
<published>2017-06-14T14:45:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=3a1a264e6dc116c620153d2b691d5668dfaee9a4'/>
<id>3a1a264e6dc116c620153d2b691d5668dfaee9a4</id>
<content type='text'>
Fixes #91

Remove many (or most) now-redundant 'pragma: no cover'.

A few minor test changes to get full branch coverage.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #91

Remove many (or most) now-redundant 'pragma: no cover'.

A few minor test changes to get full branch coverage.
</pre>
</div>
</content>
</entry>
<entry>
<title>100% coverage (#90)</title>
<updated>2017-06-12T14:05:13+00:00</updated>
<author>
<name>Jason Madden</name>
<email>jason+github@nextthought.com</email>
</author>
<published>2017-06-12T14:05:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=1f00dcfa8e7f4cc2e5706c9af44f1cab20b22d88'/>
<id>1f00dcfa8e7f4cc2e5706c9af44f1cab20b22d88</id>
<content type='text'>
* Get as close to 100% coverage as possible.

Without conflicting with #86.

This is almost entirely trivial changes:

- Make dummy methods that should never be called either raise
  NotImplementedError or call self.fail() in tests.
- Standardize the no-coverage pragma
- Add a few pragmas where coverage varies across
  versions/implementations, mostly for the sake of tox (travis should
  hit them all).

* Convert tox to run the coverage command, like travis. A follow up should have it produce coverage for all python versions/implementations.

Fixes #87

* Adjust coverage config for py2 only tests; fix typo; finish replacing self with cls
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Get as close to 100% coverage as possible.

Without conflicting with #86.

This is almost entirely trivial changes:

- Make dummy methods that should never be called either raise
  NotImplementedError or call self.fail() in tests.
- Standardize the no-coverage pragma
- Add a few pragmas where coverage varies across
  versions/implementations, mostly for the sake of tox (travis should
  hit them all).

* Convert tox to run the coverage command, like travis. A follow up should have it produce coverage for all python versions/implementations.

Fixes #87

* Adjust coverage config for py2 only tests; fix typo; finish replacing self with cls
</pre>
</div>
</content>
</entry>
</feed>
