Re: implementing zope.component 4.0

Martijn Faassen <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
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

_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.