[Twisted-Python] Components

James Y Knight foom at fuhm.net
Thu Feb 26 15:17:31 EST 2004


On Feb 26, 2004, at 2:43 PM, Bob Ippolito wrote:
> How about just migrating off of t.p.components and switching to 
> PyProtocols?  The license is compatible, it has PEP-backing, it is a 
> superset of what t.p.components does, has optional Pyrex acceleration, 
> and is compatible with Interfaces from itself, t.p.components, and 
> zope.components.  The default Interface implementation does not 
> support the __call__ adaptation that we all know and love, but it is 
> actually generic enough to allow it.
>
> As a side note, PEAK's peak.util.imports.whenImported hooks, 
> importString, and lazyModule might also be pretty useful to Twisted 
> (among so many other things).

And, while PyProtocols doesn't seem to support any sort of lazy adapter 
registration, it would probably be doable via a framework built on top 
of whenImported.

James





More information about the Twisted-Python mailing list