##// END OF EJS Templates
Fix bug: https://bugs.launchpad.net/ipython/+bug/269966 This fixes a long-standing and serious problem with long-running IPython sessions. Finally! Many thanks to John D. Hunter and Sameer D'Costa for the feedback, especially for Sameer's patch that finally put me on the right track for a clean solution.

File last commit:

r1715:78d99fed
r1856:2f5ba090
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()