I noticed the other day that the Twisted tests are failing with the latest SVN checkout of Zope3 trunk. Our usage of adapter registration seems to be totally broken. Apparently you guys realized this:<br><br><br><span style="font-family: courier new,monospace;">
&nbsp;&nbsp;&nbsp; # XXX hack to fake out twisted's use of a private api.&nbsp; We need to get them</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; # to use the new registed method.
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp; def get(self, _):</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; class XXXTwistedFakeOut:</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; selfImplied = {}</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return XXXTwistedFakeOut</span><br><br><br>Of course this breaks things because selfImplied doesn't contain anything. I realize this is only SVN trunk, but I see that this thing was added about 5000 revisions ago, so I'm wondering if anything else is planned on making this hack work more thoroughly. Of course, maybe that's not necessary: We should also be using the new API, I guess, but I'm not sure how or when I should do this, as the released version of zope interface works with Twisted.
<br><br>I'm also kind of surprised this isn't breaking Zope3's usage of Twisted, but I guess you have been able to avoid the parts of Twisted that actually use adapters.<br clear="all"><br>-- <br>Christopher Armstrong<br>
International Man of Twistery<br><a href="http://radix.twistedmatrix.com/">http://radix.twistedmatrix.com/</a><br><a href="http://twistedmatrix.com/">http://twistedmatrix.com/</a><br><a href="http://canonical.com/">http://canonical.com/
</a><br>