19 Aug
2008
19 Aug
'08
10:13 p.m.
Philipp von Weitershausen wrote:
No, it's not a bug. This is in fact a feature (like it or not).
Well, assuming enough people *don't* like it, and I think that's the case here, then it should probably change...
{query|get}Adapter will always try to look up an adapter, whether or not the object provides the interface. So the behaviour Chris observed is indeed intended. I agree it could be documented better.
I'd suggest thoroughly reading this book from a software design perspective: http://www.amazon.com/gp/product/0465067107 cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk