<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/zope-interface.git/src/zope/interface/tests, branch issue224</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>Let subclasses of BaseAdapterRegistry customize the data structures.</title>
<updated>2021-03-03T11:07:41+00:00</updated>
<author>
<name>Jason Madden</name>
<email>jamadden@gmail.com</email>
</author>
<published>2021-02-26T21:34:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=8a8285133b6f8ddc93ac54f1af84775e1ba6f698'/>
<id>8a8285133b6f8ddc93ac54f1af84775e1ba6f698</id>
<content type='text'>
Add extensive tests for this. Fixes #224.

Also adds test for, and fixes #227

Add BAR.rebuild() to fix the refcount issue, and to change datatypes.

It works by using the new methods allRegistrations() and allSubscriptions() to re-create the data in new data structures.

This makes fresh calls to subscribe() and register(). I went this way instead of trying to manually walk the data structures and create them because the logic in those methods is fully tested.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add extensive tests for this. Fixes #224.

Also adds test for, and fixes #227

Add BAR.rebuild() to fix the refcount issue, and to change datatypes.

It works by using the new methods allRegistrations() and allSubscriptions() to re-create the data in new data structures.

This makes fresh calls to subscribe() and register(). I went this way instead of trying to manually walk the data structures and create them because the logic in those methods is fully tested.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' of github.com:zopefoundation/zope.interface into master</title>
<updated>2020-10-01T11:05:12+00:00</updated>
<author>
<name>Jan-Jaap Driessen</name>
<email>jdriessen@minddistrict.com</email>
</author>
<published>2020-10-01T11:05:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=ca5b7e0c8dceb13d4d2a7d86e49558e2c75fa2dc'/>
<id>ca5b7e0c8dceb13d4d2a7d86e49558e2c75fa2dc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>C optimizations: Spec_clear and Spec_traverse need to include Spec-&gt;_bases</title>
<updated>2020-09-28T11:09:42+00:00</updated>
<author>
<name>Jason Madden</name>
<email>jamadden@gmail.com</email>
</author>
<published>2020-09-28T11:09:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=b749fc0f17ee628b9ef7bb8afd14b6bf51414bff'/>
<id>b749fc0f17ee628b9ef7bb8afd14b6bf51414bff</id>
<content type='text'>
Previously they did not, leading to a reference leak of a tuple.

Fixes #216
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously they did not, leading to a reference leak of a tuple.

Fixes #216
</pre>
</div>
</content>
</entry>
<entry>
<title>When an invariant is defined in an interface, it's found by</title>
<updated>2020-09-25T09:29:29+00:00</updated>
<author>
<name>Jan-Jaap Driessen</name>
<email>jdriessen@minddistrict.com</email>
</author>
<published>2020-09-25T09:29:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=1025519cb68ad8fdae379daa6de8d9ec427456cd'/>
<id>1025519cb68ad8fdae379daa6de8d9ec427456cd</id>
<content type='text'>
`validateInvariants` in all interfaces inheriting from that interface.
Make sure to call each invariant only once when validating invariants.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`validateInvariants` in all interfaces inheriting from that interface.
Make sure to call each invariant only once when validating invariants.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix interface definitions of IAdapterRegistry.subscribe, subscribers and subscriptions.</title>
<updated>2020-04-23T11:14:29+00:00</updated>
<author>
<name>Jason Madden</name>
<email>jamadden@gmail.com</email>
</author>
<published>2020-04-23T11:11:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=44169e9ed26400c06e4659069e0c3ea869f40c61'/>
<id>44169e9ed26400c06e4659069e0c3ea869f40c61</id>
<content type='text'>
They were defined to accept a name argument, but the actual implementation doesn't. Add tests for this. Fixes #208.

Also in test_adapter.py modernize idioms from assertTrue(x in y) and assertTrue(x is y) to assertIn and assertIs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
They were defined to accept a name argument, but the actual implementation doesn't. Add tests for this. Fixes #208.

Also in test_adapter.py modernize idioms from assertTrue(x in y) and assertTrue(x is y) to assertIn and assertIs.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #203 from zopefoundation/issue199</title>
<updated>2020-04-08T12:18:08+00:00</updated>
<author>
<name>Jason Madden</name>
<email>jamadden@gmail.com</email>
</author>
<published>2020-04-08T12:18:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=76203ebcd3736f598fc858bf53de9738ae523858'/>
<id>76203ebcd3736f598fc858bf53de9738ae523858</id>
<content type='text'>
Make @implementer and classImplements not add redundant interfaces</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make @implementer and classImplements not add redundant interfaces</pre>
</div>
</content>
</entry>
<entry>
<title>The ImmutableDeclaration also has immutable _v_attrs.</title>
<updated>2020-04-07T12:56:48+00:00</updated>
<author>
<name>Jason Madden</name>
<email>jamadden@gmail.com</email>
</author>
<published>2020-04-07T12:56:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=c500360aaba5db30e5005664d14659ed7d8186ec'/>
<id>c500360aaba5db30e5005664d14659ed7d8186ec</id>
<content type='text'>
Fixes #204
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #204
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix implementerOnly when duplicating something inherited from the parent.</title>
<updated>2020-04-07T12:32:06+00:00</updated>
<author>
<name>Jason Madden</name>
<email>jamadden@gmail.com</email>
</author>
<published>2020-04-06T16:53:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=97c0fbc4a3a532d1b2ec044994422d1a4ada4754'/>
<id>97c0fbc4a3a532d1b2ec044994422d1a4ada4754</id>
<content type='text'>
Seen in plone.app.testing as a problem in Products.GenericSetup.

Added tests for that.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Seen in plone.app.testing as a problem in Products.GenericSetup.

Added tests for that.
</pre>
</div>
</content>
</entry>
<entry>
<title>Special case the base Interface in @implementer/classImplements to skip the redundancy detection for the sake of plone.app.caching.</title>
<updated>2020-04-07T12:32:06+00:00</updated>
<author>
<name>Jason Madden</name>
<email>jamadden@gmail.com</email>
</author>
<published>2020-04-06T16:17:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=4cb3e63d3f45f0d4337bf890ec8508c3072be772'/>
<id>4cb3e63d3f45f0d4337bf890ec8508c3072be772</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make @implementer and classImplements not re-declare redundant interfaces.</title>
<updated>2020-04-07T12:32:06+00:00</updated>
<author>
<name>Jason Madden</name>
<email>jamadden@gmail.com</email>
</author>
<published>2020-04-06T12:57:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=46781f87ccbc02ae3d884e2dbe57b799c3804077'/>
<id>46781f87ccbc02ae3d884e2dbe57b799c3804077</id>
<content type='text'>
classImplementsOnly and @implementer_only can still be used to do that.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
classImplementsOnly and @implementer_only can still be used to do that.
</pre>
</div>
</content>
</entry>
</feed>
