[issue44045] canonicalize "upper-case" -> "uppercase"; "lower-case" -> "lowercase"

Jürgen Gmach report at bugs.python.org
Wed May 5 02:55:02 EDT 2021


New submission from Jürgen Gmach <juergen.gmach at googlemail.com>:

Yesterday, I was bitten by ConfigParser' default behavior to lowercase keys on reading.

When I looked in the documentation and the source code, I found that lowercase was sometimes written as "lower-case", e.g. here 
https://docs.python.org/3/library/configparser.html#configparser.ConfigParser.optionxform

The webster dictionary only accepts "lowercase" as a valid English word:
https://www.merriam-webster.com/dictionary/lowercase

Before I wanted to create a pull request for this one, I also grepped the complete source code with the following result:

lower-case    24
lowercase    207
upper-case     9
uppercase    201

I'd like to create a pull request which canonicalizes the writing to a consistent "lowercase" resp. "uppercase".

Is there any core dev out there willing to review / merge this kind of PR?

----------
messages: 392978
nosy: jugmac00
priority: normal
severity: normal
status: open
title: canonicalize "upper-case" -> "uppercase"; "lower-case" -> "lowercase"

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44045>
_______________________________________


More information about the Python-bugs-list mailing list