8 Sep
2008
8 Sep
'08
5:34 p.m.
Fred Drake wrote:
On Sun, Sep 7, 2008 at 3:29 PM, Chris Withers <chris@simplistix.co.uk> wrote:
I can't see any problems with this, can anyone else?
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 thought the pointless yoke of backwards compatability was something only Microsoft yearned for? ;-) cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk