[Python-Dev] Changes to ConfigParser

Greg Stein gstein@lyra.org
Tue, 11 Jul 2000 02:10:09 -0700

On Tue, Jul 11, 2000 at 09:12:29AM +0200, Peter Funk wrote:
> Hi,
> Eric S. Raymond:
> > Earlier today, I committed a patch to ConfigParser that adds three new
> > methods to the class.  Here is the documentation:
> [...]
> Applying the well known dictionary API to config info can help to
> to avoid reinventing a new API to deal with configuration info.
> What I would love to see, is a class 'ConfigDict' derived from 
> 'UserDict.UserDict', which contains the section-names as keys and
> section-objects as values, where section-objects are also dictionaries
> containing the option-names as keys.

Then go ahead and code it. I guarantee that you'll have your wish if you
code it. Otherwise, I'll lay very low odds on all the new module suggestions
in your email.


Greg Stein, http://www.lyra.org/