##// END OF EJS Templates
Move Extraction of local scope to a method...
Move Extraction of local scope to a method When calling ipython magic from pdb, the locals need to be set from the pdb locals, which is different from the frame locals. Moving this call to a method enables a subclass to change the behaviour of `get_local_scope` to make this possible. This would enable using `%timeit` while debugging in Spyder for example

File last commit:

r24241:86b88904
r25886:f12b9485
Show More
consoleapp.py
12 lines | 415 B | text/x-python | PythonLexer
Min RK
move IPython.consoleapp to jupyter_client
r21025 """
Shim to maintain backwards compatibility with old IPython.consoleapp imports.
Paul Ivanov
refactoring common code out of qtconsole
r5603 """
Paul Ivanov
remove load_connection_file from consoleapp...
r16497 # Copyright (c) IPython Development Team.
# Distributed under the terms of the Modified BSD License.
Paul Ivanov
refactoring common code out of qtconsole
r5603
Min RK
move IPython.consoleapp to jupyter_client
r21025 from warnings import warn
Paul Ivanov
refactoring common code out of qtconsole
r5603
Matthias Bussonnier
Remove Deprecation Warning, add since when things were deprecated.
r24241 warn("The `IPython.consoleapp` package has been deprecated since IPython 4.0."
"You should import from jupyter_client.consoleapp instead.", stacklevel=2)
Paul Ivanov
refactoring common code out of qtconsole
r5603
Min RK
move IPython.consoleapp to jupyter_client
r21025 from jupyter_client.consoleapp import *