[Zope3-Users] Adapter registration problem
Chris Withers
chris at simplistix.co.uk
Tue Dec 18 10:35:11 EST 2007
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
More information about the Zope3-users
mailing list