[Twisted-Python] Components

Christopher Armstrong radix at twistedmatrix.com
Thu Feb 26 14:22:45 EST 2004

James Y Knight wrote:
> On Feb 26, 2004, at 12:19 PM, Christopher Armstrong wrote:
>> Glyph Lefkowitz wrote:
>>> I think James makes a compelling argument: if NewReality was the only
>>> thing stopping this fix from going through, forget about it.
>>> But still, make sure that the first version that changes this behaviour
>>> bumps at least a minor version number - a major reason I've been afraid
>>> of changes like this is that folks expect micro-versions to behave
>>> _exactly_ the same.
>> Cool! Sounds like a good idea. It just means 1.3 might be sooner than 
>> later :-)
> Anothing few things:
> - Does getRegistry's context.get(AdapterRegistry, theAdapterRegistry) 
> actually have a use? It seems like it might just be slowing down the 
> process without any gain.

yeeees! I really like this feature. For example, people who want to 
override the way, say, a String input box is rendered for a formless UI 
rendered with gtk2form (freeform, too, probably), can implement an 
alternative IStringWidget implementor, put it in their own 
AdapterRegistry, and stick it on the context. Then their own widget will 
be used instead of the default, without touching anything in gtk2form.

  Twisted | Christopher Armstrong: International Man of Twistery
   Radix  |          Release Manager,  Twisted Project
---------+           http://radix.twistedmatrix.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20040226/3b278058/attachment.pgp 

More information about the Twisted-Python mailing list