##// END OF EJS Templates
rename webapp_settings to tornado_settings...
rename webapp_settings to tornado_settings deprecate `webapp_settings` More informative name to those who would actually use this feature. It sets overrides for the tornado global `settings` object.

File last commit:

r16114:15cc5a8e
r17888:4fcf2411
Show More
embed_no_division.py
6 lines | 291 B | text/x-python | PythonLexer
/ tools / tests / embed / embed_no_division.py
"""This tests that future compiler flags are passed to the embedded IPython."""
from IPython import embed
import __future__
embed(banner1='', header='check 1/2 == 0 in Python 2')
embed(banner1='', header='check 1/2 == 0.5 in Python 2',
compile_flags=__future__.division.compiler_flag)