Patch for ConfigParser.py in 1.5.2
Fredrik Lundh
fredrik at pythonware.com
Wed May 5 03:33:19 EDT 1999
Lars Damerow <lars at pixar.com> wrote:
> I made a slight change to ConfigParser.py from the 1.5.2 distribution. I
> needed the option lines to allow spaces, slashes and whitespace as the option
> name, as well as to leave the case of the option name intact.
> Can anybody think of a bad reason to do this?
that it breaks existing applications? (for which the docs say
"option names are not case sensitive")
preferred solution: factor out the "option name" handling
into submethods, and create a subclass that implement
your favourite behaviour.
</F>
More information about the Python-list
mailing list