##// END OF EJS Templates
fix IPython.embed...
fix IPython.embed without this change, IPython.embed throws the following traceback: File "explete.py", line 9, in dump_inputs IPython.embed() File "/home/pi/code/ipython/IPython/terminal/embed.py", line 287, in embed config = load_default_config() File "/home/pi/code/ipython/IPython/terminal/ipapp.py", line 379, in load_default_config for cf in Application._load_config_files("ipython_config", path=profile_dir): File "/home/pi/code/ipython/IPython/config/application.py", line 527, in _load_config_files log.debug("Loaded config file: %s", loader.full_filename) AttributeError: 'NoneType' object has no attribute 'debug' @Carreau was the last to poke around in this part of the code, so pinging him, just in case

File last commit:

r13925:7a8be7be
r14174:2c0e86ab
Show More
style_python.tplx
21 lines | 594 B | text/plain | TextLexer
Jonathan Frederic
Added python style
r12713 ((= Python input/output style =))
Thomas Kluyver
Remove magic for loading templates from module names
r13925 ((*- extends 'base.tplx' -*))
Jonathan Frederic
Added python style
r12713
% Custom definitions
((* block definitions *))
((( super() )))
% Pygments definitions
Jonathan Frederic
s/pygment/pygments
r12742 ((( resources.latex.pygments_definitions )))
Jonathan Frederic
Added python style
r12713 ((* endblock definitions *))
Jonathan Frederic
Cleanup code spacing
r12714
Jonathan Frederic
Added python style
r12713 %===============================================================================
% Input
%===============================================================================
((* block input scoped *))
\begin{Verbatim}[commandchars=\\\{\}]
Jonathan Frederic
Add strip_verbatim to latex highlight
r12717 ((( cell.input | highlight2latex(strip_verbatim=True) | add_prompts )))
Jonathan Frederic
Added python style
r12713 \end{Verbatim}
((* endblock input *))