ConfigParser lower-cases options automatically?

Jarek Zgoda jzgoda at
Sun Nov 23 19:56:29 CET 2003

Matthew Wilson <mwilson at> pisze:

> I wonder if this is something intentionally built-in to ConfigParser in
> order to remove case-sensitivity issues that are variable across
> platforms.  Does anyone else have any comments or ideas?  I don't need
> case-sensitivity in my script, but I am puzzled by this behavior.

Yes, I think it was intentional. Check optionxform() in Python
documentation to get an idea how to make ConfigParser case sensitive.

Jarek Zgoda
Unregistered Linux User #-1 JID:zgoda at

More information about the Python-list mailing list