[Zope-dev] improving the utility and adapter lookup APIs

Martijn Faassen faassen at startifact.com
Wed Nov 25 16:21:47 EST 2009

Thomas Lotze wrote:
> What about a simple and consistent API for all components including
> utilities, adapters and multiadapters:
> IFoo()
> IFoo(x)
> IFoo(x, y)

The last one won't work if we want to maintain backwards compatibility. 
The second argument is the default.



More information about the Zope-Dev mailing list