Inheritance diagram for IPython.twshell:
Twisted shell support.
XXX - This module is missing proper docs.
Run a Twisted reactor while in an IPython session.
Python commands can be passed to the thread where they will be executed. This is implemented by periodically checking for passed code using a Twisted reactor callback.
Bases: IPython.iplib.InteractiveShell
Simple multi-threaded shell.
Execute a code object.
Multithreaded wrapper around IPython’s runcode().
Compile and run some source in the interpreter.
Modified version of code.py’s runsource(), to handle threading issues. See the original for full docstring details.
Modifies Twisted’s reactor with a dummy so user code does not block IPython. This function returns the original ‘twisted.internet.reactor’ that has been hijacked.
NOTE: Make sure you call this AFTER you’ve installed the reactor of your choice.