[Python-bugs-list] [Bug #132911] ConfigParser's has_option() is case-sensitive

noreply@sourceforge.net noreply@sourceforge.net
Mon, 19 Feb 2001 13:44:09 -0800


Bug #132911, was updated on 2001-Feb-17 21:38
Here is a current snapshot of the bug.

Project: Python
Category: Python Library
Status: Closed
Resolution: Duplicate
Bug Group: None
Priority: 5
Submitted by: nobody
Assigned to : nobody
Summary: ConfigParser's has_option() is case-sensitive

Details: First, there are two methods named has_option() in ConfigParser.

Second, in both cases has_option() is case sensitive.
Fix: add option = self.optionxform(option) at the beginning of the
method.



Follow-Ups:

Date: 2001-Feb-19 13:44
By: fdrake

Comment:
So, this was already reported.  I'll toss this one as a duplicate since
I've noted the problem in the report for the set() method.
-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=132911&group_id=5470