##// END OF EJS Templates
embed_kernel: pass [] to IPKernelApp.initialize to prevent argv parsing...
embed_kernel: pass [] to IPKernelApp.initialize to prevent argv parsing https://github.com/ipython/ipython/pull/1357/files#r400153 Stop embed_kernel() from parsing sys.argv since to support being called from a environments with their own command line args.

File last commit:

r5390:c82649ea
r6046:75b852da
Show More
__init__.py
32 lines | 1.0 KiB | text/x-python | PythonLexer
# encoding: utf-8
"""
Extra capabilities for IPython
"""
#-----------------------------------------------------------------------------
# Copyright (C) 2008-2011 The IPython Development Team
#
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING, distributed as part of this software.
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
# Imports
#-----------------------------------------------------------------------------
from IPython.lib.inputhook import (
enable_wx, disable_wx,
enable_gtk, disable_gtk,
enable_qt4, disable_qt4,
enable_tk, disable_tk,
enable_glut, disable_glut,
enable_pyglet, disable_pyglet,
set_inputhook, clear_inputhook,
current_gui
)
from IPython.lib.security import passwd
#-----------------------------------------------------------------------------
# Code
#-----------------------------------------------------------------------------