##// END OF EJS Templates
DEV: AST transformers supplied to `InteractiveShell` can reject input....
DEV: AST transformers supplied to `InteractiveShell` can reject input. * Adds a new exception class, `InputRejected` to IPython.lib.security. * Updates `InteractiveShell.run_cell` and `InteractiveShell.transform_ast` to allow user-supplied AST transformers to reject input by raising an `InputRejected`. * Adds tests for the above behavior.

File last commit:

r13925:7a8be7be
r17798:2591b6eb
Show More
style_bw_python.tplx
13 lines | 364 B | text/plain | TextLexer
((= Black&white Python input/output style =))
((*- extends 'base.tplx' -*))
%===============================================================================
% Input
%===============================================================================
((* block input scoped *))
\begin{verbatim}
((( cell.input | add_prompts )))
\end{verbatim}
((* endblock input *))