Re: [Zope3-dev] Re: Idea: Failure to lookup adapters

2007-01-18 Thread Chris Withers
Philipp von Weitershausen wrote: Code like this won't be run with python -O (which is what you'd obviously use in production). obviously... not. How many people actually do this? I wonder whether a different approach could be taken. The APIDOC code does already a registration analysis. Maybe

[Zope3-dev] Re: Idea: Failure to lookup adapters

2007-01-17 Thread Philipp von Weitershausen
Stephan Richter wrote: On Monday 15 January 2007 14:25, Sidnei da Silva wrote: 'We've tried to look up an adapter for (ISomething, ITheOther) but none was found' 'Found an adapter for IFoo, which is a base class for the IBar interface requested. No adapter has been found for the most-specifi