Stephan Richter wrote:
zope.component.getAdapters((MyClass(), object()), ISomething)
<generator object at 0xb7c56d8c>
list(zope.component.getAdapters((MyClass(), object()), ISomething))
[(u'something', <__main__.MyFactory object at 0xb7b4a06c>)]

Interesting, what version of zope.component are you using?

I'm using the one that ships with Zope 2.9.4, were any bugs in this area fixed since then?



Simplistix - Content Management, Zope & Python Consulting
Zope3-users mailing list

Reply via email to