Chris Withers wrote at 2008-9-8 18:34 +0100: > ... >> There's the backward-compatibility issue, which is a showstopper. >> There's plenty of code that does this: >> >> adapter = package.interfaces.IFoo(object, None) >> >> Changing the signature as you describe would break all code that does this. > >How about a new major revision of zope.interface then?
I fear that would be a bit drastic -- for a mostly cosmetic change. But interfaces might grow an additional method, e.g. "adapt", which could get the new signature. The syntax would be a bit more cumbersome -- but on the other hand, it would be more explicit :-) -- Dieter _______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )