[Twisted-Python] perspective introspection

Kevin Turner acapnotic at twistedmatrix.com
Mon Feb 11 21:45:55 MST 2002


On Mon, 2002-02-11 at 19:40, Sean Riley wrote:
> implementing a way for pb perspectives to tell consumers about their
> interface seemed like it would be a trivial undertaking - and it was:

And this is essentially what python.explorer does, although for a
different purpose.  It exports an object's native interface so it can be
explored/manipulated through manhole.  If you haven't seen this yet,
fire up manhole and try something like

/browse sys.modules['__main__'].application




More information about the Twisted-Python mailing list