Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Get profile and config file inheritance working #523

Closed
ellisonbg opened this Issue Jun 17, 2011 · 1 comment

Comments

Projects
None yet
2 participants
Owner

ellisonbg commented Jun 17, 2011

We need a better way of inheriting profiles and config files. We currently have load_config, but it doesn't handle our new notion of profiles. We probably want to expand this function to an API such as:

load_config('profile_name', 'config_file_name_in_that_profile.py')

@minrk minrk closed this in a7380bd Jun 17, 2011

Owner

minrk commented Jun 17, 2011

added profile keyword arg fror load_subconfig. Now the easy way to inherit default config is:

load_subconfig('ipython_config.py', profile='default')

@jenshnielsen jenshnielsen pushed a commit to jenshnielsen/ipython that referenced this issue Jun 21, 2011

@minrk minrk load_subconfig supports profiles
closes gh-523
c335e49

@mattvonrocketstein mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this issue Nov 3, 2014

@minrk minrk load_subconfig supports profiles
closes gh-523
52c84ce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment