##// END OF EJS Templates
Make the formatting of a code block name extendable...
Make the formatting of a code block name extendable Currently the user display of a code block requires a tight coupling between the caching compiler and the ultratb file, i.e., ultratb needs to know internal private variables of the caching compiler. This change makes the user-visible display of the code block name the responsibility of the caching compiler. A nice result is that the caching compiler can be overridden to have custom terminology in different systems for code blocks executed.

File last commit:

r22978:37da7145
r27875:1c3678bf
Show More
embed_no_flufl.py
6 lines | 293 B | text/x-python | PythonLexer
"""This tests that future compiler flags are passed to the embedded IPython."""
from IPython import embed
import __future__
embed(banner1='', header='check 1 <> 2 cause SyntaxError')
embed(banner1='', header='check 1 <> 2 == True',
compile_flags=__future__.barry_as_FLUFL.compiler_flag)