<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/zope-interface.git, branch issue8</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>Move the one-base optimization down a level, and enable using pre-calculated __sro__ for caching.</title>
<updated>2020-03-17T20:14:37+00:00</updated>
<author>
<name>Jason Madden</name>
<email>jamadden@gmail.com</email>
</author>
<published>2020-03-17T13:28:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=7e532de0bc9475294d2dcfd7ebea50a80cb8c7f7'/>
<id>7e532de0bc9475294d2dcfd7ebea50a80cb8c7f7</id>
<content type='text'>
In my local 'load the world' test, this went from ~7800 full C3 merges to about ~1100.

Also take steps to avoid triggering false positive warnings about changed ROs when it's *just* Interface that moved.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In my local 'load the world' test, this went from ~7800 full C3 merges to about ~1100.

Also take steps to avoid triggering false positive warnings about changed ROs when it's *just* Interface that moved.
</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure Interface is the last item in the __sro__.</title>
<updated>2020-03-17T10:25:29+00:00</updated>
<author>
<name>Jason Madden</name>
<email>jamadden@gmail.com</email>
</author>
<published>2020-03-16T22:24:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=11a1d01945fd486ba63209f3358fd3313ff1e25f'/>
<id>11a1d01945fd486ba63209f3358fd3313ff1e25f</id>
<content type='text'>
None of the elegant solutions mentioned in the issue worked out, so I had to brute force it.

Fixes #8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
None of the elegant solutions mentioned in the issue worked out, so I had to brute force it.

Fixes #8
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #182 from zopefoundation/issue21</title>
<updated>2020-03-17T10:22:10+00:00</updated>
<author>
<name>Jason Madden</name>
<email>jamadden@gmail.com</email>
</author>
<published>2020-03-17T10:22:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=d0c6a5967af074b1a7d60a1bb20d9337263b9571'/>
<id>d0c6a5967af074b1a7d60a1bb20d9337263b9571</id>
<content type='text'>
Use C3 (mostly) to compute IRO.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use C3 (mostly) to compute IRO.</pre>
</div>
</content>
</entry>
<entry>
<title>Use C3 (mostly) to compute IRO.</title>
<updated>2020-03-15T14:56:14+00:00</updated>
<author>
<name>Jason Madden</name>
<email>jamadden@gmail.com</email>
</author>
<published>2020-03-05T20:38:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=024f6432270afd021da2d9fff5c3f496f788e54d'/>
<id>024f6432270afd021da2d9fff5c3f496f788e54d</id>
<content type='text'>
Fixes #21

The 'mostly' is because interfaces are used in cases that C3 forbids;
when there's a conflict, we fallback to the legacy algorithm. It turns
out there are few conflicts (13K out of 149K total orderings in Plone).

I hoped the fix for #8 might shake out automatically, but it didn't.

Optimize the extremely common case of a __bases__ of length one.

In the benchmark, 4/5 of the interfaces and related objects have a base of length one.

Fix the bad IROs in the bundled ABC interfaces, and implement a way to get warnings or errors.

In running plone/buildout.coredev and tracking the RO requests, the
stats for equal, not equal, and inconsistent-so-fallback, I got
{'ros': 148868, 'eq': 138461, 'ne': 10407, 'inconsistent': 12934}

Add the interface module to the Attribute str.

This was extremely helpful tracking down the Plone problem; IDate is defined in multiple modules.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #21

The 'mostly' is because interfaces are used in cases that C3 forbids;
when there's a conflict, we fallback to the legacy algorithm. It turns
out there are few conflicts (13K out of 149K total orderings in Plone).

I hoped the fix for #8 might shake out automatically, but it didn't.

Optimize the extremely common case of a __bases__ of length one.

In the benchmark, 4/5 of the interfaces and related objects have a base of length one.

Fix the bad IROs in the bundled ABC interfaces, and implement a way to get warnings or errors.

In running plone/buildout.coredev and tracking the RO requests, the
stats for equal, not equal, and inconsistent-so-fallback, I got
{'ros': 148868, 'eq': 138461, 'ne': 10407, 'inconsistent': 12934}

Add the interface module to the Attribute str.

This was extremely helpful tracking down the Plone problem; IDate is defined in multiple modules.
</pre>
</div>
</content>
</entry>
<entry>
<title>MacOS wheels for 3.8</title>
<updated>2020-03-13T07:14:24+00:00</updated>
<author>
<name>Michael Howitz</name>
<email>mh@gocept.com</email>
</author>
<published>2020-03-12T07:27:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=7d638c3b149222b164794cac3907c32ab19d2655'/>
<id>7d638c3b149222b164794cac3907c32ab19d2655</id>
<content type='text'>
Copy-pasted from `persistent` as suggested by @mgedmin</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Copy-pasted from `persistent` as suggested by @mgedmin</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #181 from zopefoundation/issue11</title>
<updated>2020-03-10T11:16:45+00:00</updated>
<author>
<name>Jason Madden</name>
<email>jamadden@gmail.com</email>
</author>
<published>2020-03-10T11:16:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=354faccebd5b612a2ac8e081a7e5d2f7fb1089c1'/>
<id>354faccebd5b612a2ac8e081a7e5d2f7fb1089c1</id>
<content type='text'>
Make provided/implementedBy and adapter registries respect super().</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make provided/implementedBy and adapter registries respect super().</pre>
</div>
</content>
</entry>
<entry>
<title>Add additional low-level tests for super() unwrapping.</title>
<updated>2020-03-10T10:57:39+00:00</updated>
<author>
<name>Jason Madden</name>
<email>jamadden@gmail.com</email>
</author>
<published>2020-03-10T10:57:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=fb8180d4521dc7333498731d1361a82d0034582b'/>
<id>fb8180d4521dc7333498731d1361a82d0034582b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unused str variables</title>
<updated>2020-03-10T10:56:07+00:00</updated>
<author>
<name>Jason Madden</name>
<email>jamadden@gmail.com</email>
</author>
<published>2020-03-10T10:56:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=364fd0caf88d8b8a12ca81a0ab80b039cdc9f6c9'/>
<id>364fd0caf88d8b8a12ca81a0ab80b039cdc9f6c9</id>
<content type='text'>
The DEFINE_STRING macro prevents the linter from seeing them as unused
so I temporarily redefined it to find all such variables.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The DEFINE_STRING macro prevents the linter from seeing them as unused
so I temporarily redefined it to find all such variables.
</pre>
</div>
</content>
</entry>
<entry>
<title>Print $TRAVIS_TAG in build logs</title>
<updated>2020-03-10T09:50:51+00:00</updated>
<author>
<name>Marius Gedminas</name>
<email>marius@gedmin.as</email>
</author>
<published>2020-03-10T09:50:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=4afc5ec8ac8f9e3d961a38cf03cb78bf476a6e51'/>
<id>4afc5ec8ac8f9e3d961a38cf03cb78bf476a6e51</id>
<content type='text'>
This is intended to help us solve mysteries like
https://github.com/zopefoundation/zope.interface/issues/185#issuecomment-596994265,
where a 5.0.0.dev0 release was uploaded despite there being no git tags
pointing to the relevant commit that anyone knows about.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is intended to help us solve mysteries like
https://github.com/zopefoundation/zope.interface/issues/185#issuecomment-596994265,
where a 5.0.0.dev0 release was uploaded despite there being no git tags
pointing to the relevant commit that anyone knows about.
</pre>
</div>
</content>
</entry>
<entry>
<title>Ask zest.releaser not to upload wheels</title>
<updated>2020-03-10T07:55:00+00:00</updated>
<author>
<name>Marius Gedminas</name>
<email>marius@gedmin.as</email>
</author>
<published>2020-03-10T07:55:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/zope-interface.git/commit/?id=6b7861f19981d9a8d540a4d4b309b832687f0593'/>
<id>6b7861f19981d9a8d540a4d4b309b832687f0593</id>
<content type='text'>
Because the wheel you get is not accepted by PyPI, so this makes the
entire upload step fail.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Because the wheel you get is not accepted by PyPI, so this makes the
entire upload step fail.
</pre>
</div>
</content>
</entry>
</feed>
