##// 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:

r23033:5dd70876
r25886:f12b9485
Show More
traitlets.py
6 lines | 143 B | text/x-python | PythonLexer
Min RK
absolute import for traitlets shim...
r21002
Min RK
add shim warnings for traitlets
r21145 from warnings import warn
Srinivas Reddy Thatiparthy
Add stacklevel=2 to warn function
r23033 warn("IPython.utils.traitlets has moved to a top-level traitlets package.", stacklevel=2)
Min RK
add shim warnings for traitlets
r21145
Min RK
absolute import for traitlets shim...
r21002 from traitlets import *