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?

cheers,

Chris

--
Simplistix - Content Management, Zope & Python Consulting
           - http://www.simplistix.co.uk
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to