##// END OF EJS Templates
add IPython.embed_kernel()...
add IPython.embed_kernel() This patch adds IPython.embed_kernel() as a public API. Embedding an IPython kernel in an application is useful when you want to use IPython.embed() but don't have a terminal attached on stdin and stdout. My use case is a modern gdb with Python API support #!/usr/bin/gdb --python import IPython; IPython.embed_kernel() this way I get to use ipython to explore the GDB API without the readline librarry in gdb and ipython fighting over the terminal settings. A Google search revealed that other people were interetsted in this use case as well: http://mail.scipy.org/pipermail/ipython-dev/2011-July/007928.html
Scott Tsai -
r6041:25e21eb9
Show More
Name Size Modified Last Commit Author
/ IPython / utils
tests
PyColorize.py Loading ...
__init__.py Loading ...
_process_common.py Loading ...
_process_posix.py Loading ...
_process_win32.py Loading ...
attic.py Loading ...
autoattr.py Loading ...
codeutil.py Loading ...
coloransi.py Loading ...
cursesimport.py Loading ...
daemonize.py Loading ...
data.py Loading ...
decorators.py Loading ...
dir2.py Loading ...
doctestreload.py Loading ...
frame.py Loading ...
generics.py Loading ...
growl.py Loading ...
importstring.py Loading ...
io.py Loading ...
ipstruct.py Loading ...
jsonutil.py Loading ...
localinterfaces.py Loading ...
module_paths.py Loading ...
nested_context.py Loading ...
newserialized.py Loading ...
notification.py Loading ...
path.py Loading ...
pickleshare.py Loading ...
pickleutil.py Loading ...
process.py Loading ...
py3compat.py Loading ...
pyfile.py Loading ...
rlineimpl.py Loading ...
strdispatch.py Loading ...
sysinfo.py Loading ...
syspathcontext.py Loading ...
tempdir.py Loading ...
terminal.py Loading ...
text.py Loading ...
timing.py Loading ...
traitlets.py Loading ...
upgradedir.py Loading ...
warn.py Loading ...
wildcard.py Loading ...