[Python-bugs-list] [ python-Bugs-432369 ] ConfigParser: problem w/ mixed-case opts

noreply@sourceforge.net noreply@sourceforge.net
Fri, 06 Jul 2001 10:24:37 -0700


Bugs item #432369, was opened at 2001-06-12 03:54
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=432369&group_id=5470

Category: Python Library
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: ConfigParser: problem w/ mixed-case opts

Initial Comment:
When using mixed-case option-names, ConfigParser raises
a KeyError on multi-line options like this one:

"""
Symptoms: bla blubber; some
	symptom; some other symptom; yet
	another symptom
"""

Reason: 'optname' is not converted permanently but only
when storing the first value part. The following patch
solves the problem.

Regards
+++hartmut


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

>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-07-06 10:24

Message:
Logged In: YES 
user_id=3066

Fixed in Lib/ConfigParser.py revisions 1.33 and 1.32.4.1. 
Added a new test to the regression suite.

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

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