New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ConfigParser converts option names to lower case on set() #43944
Comments
Python 2.4.2 Using set() in ConfigParser module converts all To reproduce: >>> import ConfigParser
>>> cfg = ConfigParser.ConfigParser()
>>> cfg.add_section('SectioN')
>>> cfg.set('SectioN','OpTiOn","ValuE')
>>> cfg.items('SectioN')
[('option', 'ValuE')] |
Logged In: YES I can reproduce this on Win XP, Python 2.4, however, it In the docs You might consider subclassing if this is an inconvenience |
Logged In: YES Mark is correct. This is not a bug. |
Logged In: YES Hmm, "broken" behavior by-design or not - it still makes it I just went with a completely different parser. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: