[Zope3-Users] Adapter registration problem

Stephan Richter srichter at cosmos.phy.tufts.edu
Tue Dec 18 11:03:54 EST 2007


On Tuesday 18 December 2007, Chris Withers wrote:
> 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 tried on the Zope 3.4 branch, so the latest, which should be identical to 
the trunk.

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

Yeah, this one probably still has the problem.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-users mailing list