Revision 1 as of 2004-10-21 10:06:02

Clear message

ConfigParser NG Goals: Competing Concepts

Keep It Simple And Useful

In this target, the existing ConfigParser interface is cleaned up and modernised. Features such as string interpolation should be separated out from the base ConfigParser class, in order to lower the entry level for usage and the overall simplicity of the base class.

Attribute and mapping-like access should not be included, as it teaches the Python beginner a bad habit early on in their programming life. Both are essentially syntactic hacks, attribute access also places unnecessary restrictions on the key item - it must be matched by [a-zA-Z_][a-zA-Z0-9_]+ (ie. Python identifer).

Comments

There is no single standard library module that I swear at more often than ConfigParser. It is beyond disgusting, yet it's core functionality is infinitely useful in nearly every small application I write. In none of these applications would a more complex configuration system be used, so adding a "ConfigParser2" in the style of urllib2 (needless complexity) would not benefit me at all. I suspect this is the case for most current users of the ConfigParser module. -- DavidWilson.

Pros

Cons

Implementations

Please add your simple ConfigParser-NG implementation hyperlinks here.

Rich, Complex Data Storage

This section lacks a description. Could a proponent of this scheme please add pros and cons as you see fit. :)

Cons

Unable to edit the page? See the FrontPage for instructions.