##// END OF EJS Templates
Moved the traitlets based config to sandbox (created it)....
Moved the traitlets based config to sandbox (created it). Stefan's prototype new config system that is based on ideas from traits, depended on Python 2.5. We have not done a thorough code review of this code and I don't think we are even using it yet. I have moved all the code from IPython.config to the top-level sandbox. I have begun to remove all references to these modules (just a few imports), but I still need to do lots of testing to make sure there are no lurking problems.

File last commit:

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