Shane Hathaway wrote:
> Christian Theune wrote:
>> Shane Hathaway wrote:
>>> Unfortunately, the adapter hook is in C.  It would be great if I could
>>> switch it to Python.  Is that possible?
>> I remember being able to step into it. pdb then put me into the next
>> Python-level within there ...
>>
>> Probably you can delete some .so file to make it not use the
>> C-optimizations.
> 
> Good idea!  That helped a lot.  I deleted
> src/zope/interface/_zope_interface_coptimizations.so, allowing me to use
> pdb to discover it was trying to instantiate a
> 'zope.traversing.namespace.view' with only one argument.  That looks
> like a Zope testing bug to me, but I need to concentrate on solving
> other problems, so I changed my code to directly instantiate the view I
> needed.  Now the tests pass again.

Great. Maybe you can keep that in mind and post a bug with a minimal
test case demonstrating the problem so someone can go and fix it.

-- 
gocept gmbh & co. kg - forsterstra├če 29 - 06112 halle/saale - germany
www.gocept.com - [EMAIL PROTECTED] - phone +49 345 122 9889 7 -
fax +49 345 122 9889 1 - zope and plone consulting and development


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to