##// END OF EJS Templates
Make set_term_title() default to no-op, as it can cause problems....
Make set_term_title() default to no-op, as it can cause problems. In embedded contexts this can corrupt stdout (e.g. gedit ipython plugin), by default ipython should be 'safe' to use in all contexts. The user-facing terminal app can activate more aggressive configurations as needed. Added an API call to actually toggle the state, and deprecated the old one (which could only disable but not enable).

File last commit:

r1715:78d99fed
r1852:37edbe78
Show More
sample_config.py
19 lines | 447 B | text/x-python | PythonLexer
from IPython.config.api import *
class SubSubSample(Config):
my_int = Int(3)
class Sample(Config):
my_float = Float(3)
my_choice = Enum('a','b','c')
class MiddleSection(Config):
left_alone = Enum('1','2','c')
unknown_mod = Module('asd')
class SubSample(Config):
subsample_uri = URI('http://localhost:8080')
# Example of how to include external config
SubSubSample = SubSubSample()