miniconf has a few limitations:
>>> from miniconf import load, dump >>> print dump(load('spam = "egg" # this comment will be lost')) spam = 'egg'
Basically, this means that an external agent (user or application) cannot add an element such as a comment to a snippet, and have it preserved next time the program will have loaded, then dumped it back. Of course, one can very well choose not to systematically dump the data over the source of the next load, which alleviates this limitation.