##// END OF EJS Templates
Ensure post event callbacks are always called....
Ensure post event callbacks are always called. Also, provide the execution result object as an argument for both *pre* and *post* event callbacks in a backward compatible manner. Closes #10774.

File last commit:

r22978:37da7145
r23982:36f05a33
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)