[ python-Bugs-1552892 ] ConfigParser converts option names to lower case on set()
SourceForge.net
noreply at sourceforge.net
Tue Sep 5 20:35:32 CEST 2006
Bugs item #1552892, was opened at 2006-09-05 11:35
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1552892&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Extension Modules
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: daniel (suslik)
Assigned to: Nobody/Anonymous (nobody)
Summary: ConfigParser converts option names to lower case on set()
Initial Comment:
Python 2.4.2
Using set() in ConfigParser module converts all
characters in option names to lower case.
To reproduce:
>>> import ConfigParser
>>> cfg = ConfigParser.ConfigParser()
>>> cfg.add_section('SectioN')
>>> cfg.set('SectioN','OpTiOn","ValuE')
>>> cfg.items('SectioN')
[('option', 'ValuE')]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1552892&group_id=5470
More information about the Python-bugs-list
mailing list