[Zope-Coders] Re: [Zope-Checkins] CVS: Zope3/lib/python/Interface - Implements.py:1.1.2.5 Verify.py:1.1.2.4
Guido van Rossum
guido@python.org
Tue, 21 May 2002 17:16:32 -0400
> The change below breaks the checkout (i.e., python z3.py breaks
> unless I undo this change). I'm haven't gone in to see what is
> going on here, but briefly, are you sure this change should be made?
> The configuration error Zope gives me makes no sense with this
> change.
I fixed this same thing in Zope2 today. :-)
I'm quite sure that the change is correct; with the 'break', it would
stop checking that the class implements the methods defined in the
interface as soon as a data attribute is found.
The failures are probably because some class doesn't implement some
method of an interface that it purports to implement.
--Guido van Rossum (home page: http://www.python.org/~guido/)
> Thanks
>
> Gary
>
> On Tuesday 21 May 2002 04:32 pm, Stephan Richter wrote:
>
> > === Zope3/lib/python/Interface/Verify.py 1.1.2.3 => 1.1.2.4 ===
> > meth = fromMethod(attr, n)
> > else:
> > - break # must be an attribute...
> > + continue # must be an attribute...
> >
> > d=d.getSignatureInfo()
> > meth = meth.getSignatureInfo()
> >
> >
> >
> > _______________________________________________
> > Zope-Checkins maillist - Zope-Checkins@zope.org
> > http://lists.zope.org/mailman/listinfo/zope-checkins
>
>
> _______________________________________________
> Zope-Coders mailing list
> Zope-Coders@zope.org
> http://lists.zope.org/mailman/listinfo/zope-coders