[Zope-dev] implementing zope.component 4.0

Martijn Faassen faassen at startifact.com
Fri Nov 27 08:30:40 EST 2009


Chris Withers wrote:
> Martijn Faassen wrote:
>> Simple adaptation:
>>
>>    IFoo(adapted)
> 
> Is there an implied default of None here or would a ComponentLookupError 
> be raised?

I'd say a ComponentLookupError. Doesn't it do that now? Anyway, I'd say 
if you want a default specify it, otherwise it'll give an error.

Regards,

Martijn



More information about the Zope-Dev mailing list