[Twisted-Python] Re: A Python metaclass for Twisted allowing __init__ to return a Deferred

Don Dwiggins ddwiggins at advpubtech.com
Tue Nov 4 13:05:42 EST 2008


Glyph's very nice critique reminds me a bit of wxPython's 2 stage 
creation of widgets (described for example in 
http://wiki.wxpython.org/TwoStageCreation); there, as here, the idea is 
to "initialize juuuust enough" to allow setting the context for creating 
the actual widget.  I don't know if that technique would be adaptable to 
this situation, but FWIW...

-- 
Don Dwiggins
Advanced Publishing Technology





More information about the Twisted-Python mailing list