[Python-bugs-list] [ python-Bugs-232913 ] ConfigParser set() does not xform option

nobody nobody@sourceforge.net
Mon, 26 Feb 2001 13:56:57 -0800


Artifact #232913, was updated on 2001-02-17 21:45
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=232913&group_id=5470

Category: Python Library
Group: None
Status: Closed
Priority: 5
Submitted By: Nobody/Anonymous
Assigned to: Fred L. Drake, Jr.
Summary: ConfigParser set() does not xform option

Initial Comment:
ConfigParser's set(section,option,value) does not optionxform the option when adding it to the section.  This is not consistent with what happens from read().

Fix: add option=self.optionxform(option) at beginning of set()


----------------------------------------------------------------------

Comment By: Fred L. Drake, Jr.
Date: 2001-02-26 13:56

Message:
Logged In: YES 
user_id=3066

Fixed in Lib/ConfigParser.py revision 1.32.

----------------------------------------------------------------------

Comment By: Fred L. Drake, Jr.
Date: 2001-02-19 13:42

Message:
has_option(), set(), and remove_option() all exhibit this issue.  I'll check in the fix once I've written some test cases that deal with this.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=232913&group_id=5470