-
It would be convenient to be able to comment keys using a
programmatic technique, perhaps :
ConfigObj.comment( config['Favourites']['software'] )
I think that to do this would entail adding the comments of the key to be commented
and itself to the next key, with handling for being the last key in the section or the last
section in the config.
Also uncommenting would be...
2009-06-26 04:30:24 UTC by sblyth
-
mjfoord added the configobj-4.6.0.zip file.
2009-04-17 18:42:02 UTC by mjfoord
-
mjfoord created the 4.6.0 file release.
2009-04-17 18:35:20 UTC by mjfoord
-
It would be helpful if there was a function to merge another config only if those values aren't contained in the destination config already. I've made a simple function to do this:
#==============================
def mergeif(self, indict):
"""
A recursive update - useful for merging config files. Will only merge
if the values in indict are not in this config already.
"""
for...
2009-03-05 01:20:09 UTC by crenix
-
4qQx7d rjfyxfbmglbx, [url=http://zqjcqucbyqmm.com/]zqjcqucbyqmm[/url], [link=http://ynzvqthxpkis.com/]ynzvqthxpkis[/link], http://maitrohmoyye.com/.
2009-01-12 14:14:53 UTC by nobody
-
Various setup updates for ConfigObj.
2009-01-03 19:14:08 UTC by stevemilner
-
ConfigObj doesn't interpolate variables in lists. This patch adds this feature.
2008-12-25 10:22:33 UTC by mgorven
-
we can't abide spaces surrounding the = sign on each line here
I added: 'self.val_equals_sign': ' = ',
to the OPTION_DEFAULTS
(near line 166)
I changed: self._a_to_u(' = '),
to: self._a_to_u(self.val_equals_sign),
(near line
Then I can do: config.val_equals_sign = '='
---
your code saved me days of work -- thanks!!!
2008-10-01 19:14:08 UTC by nobody
-
python-2.6 now issues:
configobj.py:256: BaseException.message has been deprecated as of Python 2.6
self.message = message
The associated patch fixes the issue.
2008-09-26 14:41:15 UTC by vila-sf
-
It would be nice if it would be possible to change the default section name where the InterpolationEngine is searching for the value that should be replaced. Cause the section name DEFAULT is not the best in some contexts.
Malte Legenhausen.
2008-07-25 19:04:49 UTC by nobody