[Twisted-Python] zope.component or twisted.python.components

Itamar Shtull-Trauring itamar at itamarst.org
Mon Sep 26 14:33:35 MDT 2005


On Tue, 2005-09-27 at 00:17 +0400, Garanin Michael wrote:

> Can i hope that there will be feature such as named adapters, multiple
> objects adapter, handlers etc. (such as in Z3)  in
> "twisted.python.component" ? Is it planed?

twisted.python.components is just a layer on top of the standard Zope3
AdapterRegistry (and mostly it's just backwards compat cruft). So you
can for example register named adapters, etc.. Or you could isntall
Zope3 and use its APIs for registering these things; the adaptation
hooks are global so it will all interoperate nicely.





More information about the Twisted-Python mailing list