On Sep 26, 2007, at 3:00 PM, Dieter Maurer wrote:
Jim Fulton wrote at 2007-9-26 11:29 -0400:
Actually, that is not the case. If x already provides IFoo, then in
the first case, the existing object is retuned. Nothing is
instantiated. OTOH, in:
either there is an error or some factory will be called. x won't be
returned unless the factory happens to return it.
Is this not an irrelevant implementation detail?
No, the specified behavior is different.
Zope3-dev mailing list