On 9/22/06, <b class="gmail_sendername">Jim Fulton</b> &lt;<a href="mailto:jim@zope.com">jim@zope.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Anyway, I'm glad you brought this up. I'd like to see this get resolved.</blockquote><div><br><br><br>Thanks for the quick response, Jim. I've already updated the usage of selfImplied to using the new registered() method.
<br><br><br>We have one more problem, though: Apparently, __adapt__ methods on Interface objects are no longer called during adaptation. This only happens when using the C optimizations, and at first I thought this didn't matter, because I was under the impression 
z.i didn't actually care about PEP 246, but then I noticed that README.txt explicitly talks about PEP 246 __adapt__ support. Now, if there is a method IFoo.__adapt__, and one calls IFoo(o), that method will not be called when using the C optimizations, because the C implementation of __call__ just directly calls the C implementation of __adapt__ without looking it up as a method on the interface object.
<br><br>Is this a bug?<br></div><br></div><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>